apps-gorm/GormCore/GormFilePrefsManager.h
Gregory John Casamento 71f668b9f2 Saves w/ window template when appropriate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21566 72102866-910b-0410-8b05-ffd578937521
2005-07-30 08:10:01 +00:00

43 lines
943 B
Objective-C

/* All Rights reserved */
#include <AppKit/AppKit.h>
@interface GormFilePrefsManager : NSObject <NSCoding>
{
id showIncompatibilities;
id targetVersion;
id gormAppVersion;
id archiveType;
id iwindow;
id itable;
// encoded ivars...
int version;
NSString *targetVersionName;
NSString *archiveTypeName;
// version profiles...
NSDictionary *versionProfiles;
NSDictionary *currentProfile;
}
- (void) showIncompatibilities: (id)sender;
- (void) selectTargetVersion: (id)sender;
- (void) selectArchiveType: (id)sender;
- (BOOL) loadFromFile: (NSString *)path;
- (BOOL) saveToFile: (NSString *)path;
- (void) loadProfile: (NSString *)version;
// accessors...
- (int) version;
- (NSString *)targetVersionName;
- (NSString *)archiveTypeName;
- (BOOL) isLatest;
// set class versions
- (void) setClassVersions;
- (void) restoreClassVersions;
- (int) versionOfClass: (NSString *)className;
+ (int) currentVersion;
@end