apps-gorm/GormFilePrefsManager.h
Gregory John Casamento dac82139d4 Added version check.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20288 72102866-910b-0410-8b05-ffd578937521
2004-11-04 02:49:23 +00:00

42 lines
896 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) currentVersion;
@end