Move type method declaration to superclass.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26698 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2008-06-24 22:09:55 +00:00
parent b2bbde6826
commit 08f8fa896c
5 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,11 @@
2008-06-24 18:09-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormWrapperLoader.h
* Plugins/Gorm/GormGormWrapperLoader.h
* Plugins/Nib/GormNibPlugin.m: Call type from here.
* Plugins/Nib/GormNibWrapperLoader.h: Move type method to super-class
declaration.
2008-05-25 09:09-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormObjectEditor.m: Correction for segfault.

View file

@ -39,6 +39,7 @@
{
GormDocument *document;
}
+ (NSString *) type;
- (void) saveSCMDirectory: (NSDictionary *) fileWrappers;
@end

View file

@ -36,7 +36,6 @@
id textField;
id panel;
}
+ (NSString *) type;
@end
#endif

View file

@ -32,7 +32,7 @@
@implementation GormNibPlugin
- (void) didLoad
{
[self registerDocumentTypeName: @"GSNibFileType"
[self registerDocumentTypeName: [GormNibWrapperLoader type]
humanReadableName: @"Cocoa Nib"
forExtensions: [NSArray arrayWithObjects: @"nib",nil]];
}

View file

@ -33,7 +33,6 @@
NSIBObjectData *container;
id nibFilesOwner;
}
+ (NSString *)type;
- (BOOL) isTopLevelObject: (id)obj;
@end