Mercurial > cpython-lru_cache-weakref
diff Mac/OSX/PythonLauncher/FileSettings.h @ 26398:a0d752be5577 legacy-trunk
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.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Mon, 25 Nov 2002 13:11:06 +0000 |
| parents | 9afac0dd6b6e |
| children | b204b4a72b4e |
line wrap: on
line diff
--- a/Mac/OSX/PythonLauncher/FileSettings.h Mon Nov 25 09:13:37 2002 +0000 +++ b/Mac/OSX/PythonLauncher/FileSettings.h Mon Nov 25 13:11:06 2002 +0000 @@ -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
