summaryrefslogtreecommitdiff
path: root/Mac/OSX/PythonLauncher/FileSettings.h
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-11-25 13:11:06 +0000
committerJack Jansen <jack.jansen@cwi.nl>2002-11-25 13:11:06 +0000
commit2095c06cecde2616187686e0f35e6e07461370bc (patch)
tree88e43e2ee69114a2d6b411cff5250ca95ad1f9ff /Mac/OSX/PythonLauncher/FileSettings.h
parentb5c980b8028af0876e40f71c94b82cd02e327bf0 (diff)
downloadcpython-git-2095c06cecde2616187686e0f35e6e07461370bc.tar.gz
Lots of restructuring, mostly suggested by Bill Bumgarner. Main
externally visible difference is that the factory defaults are now in a plist file in the bundle, in stead of being hard-coded in the application.
Diffstat (limited to 'Mac/OSX/PythonLauncher/FileSettings.h')
-rwxr-xr-xMac/OSX/PythonLauncher/FileSettings.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/Mac/OSX/PythonLauncher/FileSettings.h b/Mac/OSX/PythonLauncher/FileSettings.h
index f487469c73..ea69b58bb1 100755
--- a/Mac/OSX/PythonLauncher/FileSettings.h
+++ b/Mac/OSX/PythonLauncher/FileSettings.h
@@ -37,17 +37,22 @@
}
+ (id)getDefaultsForFileType: (NSString *)filetype;
++ (id)getFactorySettingsForFileType: (NSString *)filetype;
+ (id)newSettingsForFileType: (NSString *)filetype;
-- (id)init;
-- (id)initWithFileSettings: (FileSettings *)source;
+//- (id)init;
+- (id)initForFileType: (NSString *)filetype;
+- (id)initForFSDefaultFileType: (NSString *)filetype;
+- (id)initForDefaultFileType: (NSString *)filetype;
+//- (id)initWithFileSettings: (FileSettings *)source;
- (void)updateFromSource: (id <FileSettingsSource>)source;
- (NSString *)commandLineForScript: (NSString *)script;
-- (id)factorySettingsForFileType: (NSString *)filetype;
-- (void)saveDefaults;
-- (void)updateFromUserDefaults: (NSString *)filetype;
-
+//- (void)applyFactorySettingsForFileType: (NSString *)filetype;
+//- (void)saveDefaults;
+//- (void)applyUserDefaults: (NSString *)filetype;
+- (void)applyValuesFromDict: (NSDictionary *)dict;
+- (void)reset;
@end