mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20288 72102866-910b-0410-8b05-ffd578937521
42 lines
896 B
Objective-C
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
|