mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-23 06:20:47 +00:00
* GormCore/GormWrapperBuilder.h
* GormCore/GormWrapperBuilder.m * GormCore/GormWrapperLoader.h * GormCore/GormWrapperLoader.m * Plugins/GModel/GormGModelPlugin.m * Plugins/GModel/GormGModelWrapperLoader.h * Plugins/GModel/GormGModelWrapperLoader.m * Plugins/Gorm/GormGormPlugin.m * Plugins/Gorm/GormGormWrapperBuilder.m * Plugins/Gorm/GormGormWrapperLoader.m * Plugins/Nib/GormNibPlugin.m * Plugins/Nib/GormNibWrapperBuilder.m * Plugins/Nib/GormNibWrapperLoader.m: Change method name from "type" to "fileType" to avoid issues with gcc < 3.0 git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26706 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
08f8fa896c
commit
090f40d417
14 changed files with 31 additions and 14 deletions
17
ChangeLog
17
ChangeLog
|
@ -1,3 +1,20 @@
|
|||
2008-06-24 19:18-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormWrapperBuilder.h
|
||||
* GormCore/GormWrapperBuilder.m
|
||||
* GormCore/GormWrapperLoader.h
|
||||
* GormCore/GormWrapperLoader.m
|
||||
* Plugins/GModel/GormGModelPlugin.m
|
||||
* Plugins/GModel/GormGModelWrapperLoader.h
|
||||
* Plugins/GModel/GormGModelWrapperLoader.m
|
||||
* Plugins/Gorm/GormGormPlugin.m
|
||||
* Plugins/Gorm/GormGormWrapperBuilder.m
|
||||
* Plugins/Gorm/GormGormWrapperLoader.m
|
||||
* Plugins/Nib/GormNibPlugin.m
|
||||
* Plugins/Nib/GormNibWrapperBuilder.m
|
||||
* Plugins/Nib/GormNibWrapperLoader.m: Change method name from "type"
|
||||
to "fileType" to avoid issues with gcc < 3.0
|
||||
|
||||
2008-06-24 18:09-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormWrapperLoader.h
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
{
|
||||
GormDocument *document;
|
||||
}
|
||||
+ (NSString *) fileType;
|
||||
@end
|
||||
|
||||
@interface GormWrapperBuilderFactory : NSObject
|
||||
|
|
|
@ -38,7 +38,7 @@ static NSMutableDictionary *_wrapperBuilderMap = nil;
|
|||
static GormWrapperBuilderFactory *_sharedWrapperBuilderFactory = nil;
|
||||
|
||||
@implementation GormWrapperBuilder
|
||||
+ (NSString *) type
|
||||
+ (NSString *) fileType
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
return nil;
|
||||
|
@ -139,7 +139,7 @@ static GormWrapperBuilderFactory *_sharedWrapperBuilderFactory = nil;
|
|||
_wrapperBuilderMap = [[NSMutableDictionary alloc] initWithCapacity: 5];
|
||||
}
|
||||
|
||||
[_wrapperBuilderMap setObject: aClass forKey: (NSString *)[aClass type]];
|
||||
[_wrapperBuilderMap setObject: aClass forKey: (NSString *)[aClass fileType]];
|
||||
}
|
||||
|
||||
+ (GormWrapperBuilderFactory *) sharedWrapperBuilderFactory
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
{
|
||||
GormDocument *document;
|
||||
}
|
||||
+ (NSString *) type;
|
||||
+ (NSString *) fileType;
|
||||
- (void) saveSCMDirectory: (NSDictionary *) fileWrappers;
|
||||
@end
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ static NSMutableDictionary *_wrapperLoaderMap = nil;
|
|||
static GormWrapperLoaderFactory *_sharedWrapperLoaderFactory = nil;
|
||||
|
||||
@implementation GormWrapperLoader
|
||||
+ (NSString *) type
|
||||
+ (NSString *) fileType
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
return nil;
|
||||
|
@ -124,7 +124,7 @@ static GormWrapperLoaderFactory *_sharedWrapperLoaderFactory = nil;
|
|||
_wrapperLoaderMap = [[NSMutableDictionary alloc] initWithCapacity: 5];
|
||||
}
|
||||
|
||||
[_wrapperLoaderMap setObject: aClass forKey: (NSString *)[aClass type]];
|
||||
[_wrapperLoaderMap setObject: aClass forKey: (NSString *)[aClass fileType]];
|
||||
}
|
||||
|
||||
+ (GormWrapperLoaderFactory *) sharedWrapperLoaderFactory
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
@implementation GormGModelPlugin
|
||||
- (void) didLoad
|
||||
{
|
||||
[self registerDocumentTypeName: [GormGModelWrapperLoader type]
|
||||
[self registerDocumentTypeName: [GormGModelWrapperLoader fileType]
|
||||
humanReadableName: @"GNUstep GModel"
|
||||
forExtensions: [NSArray arrayWithObjects: @"gmodel",nil]];
|
||||
}
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
@class NSMutableArray, NSString;
|
||||
|
||||
@interface GormGModelWrapperLoader : GormWrapperLoader
|
||||
+ (NSString *) type;
|
||||
@end
|
||||
|
||||
#endif
|
||||
|
|
|
@ -433,7 +433,7 @@ static BOOL gormFileOwnerDecoded;
|
|||
@end
|
||||
|
||||
@implementation GormGModelWrapperLoader
|
||||
+ (NSString *) type
|
||||
+ (NSString *) fileType
|
||||
{
|
||||
return @"GSGModelFileType";
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
@implementation GormGormPlugin
|
||||
- (void) didLoad
|
||||
{
|
||||
[self registerDocumentTypeName: [GormGormWrapperLoader type]
|
||||
[self registerDocumentTypeName: [GormGormWrapperLoader fileType]
|
||||
humanReadableName: @"GNUstep Gorm"
|
||||
forExtensions: [NSArray arrayWithObjects: @"gorm",nil]];
|
||||
}
|
||||
|
|
|
@ -153,7 +153,7 @@
|
|||
@end
|
||||
|
||||
@implementation GormGormWrapperBuilder
|
||||
+ (NSString *) type
|
||||
+ (NSString *) fileType
|
||||
{
|
||||
return @"GSGormFileType";
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
@end;
|
||||
|
||||
@implementation GormGormWrapperLoader
|
||||
+ (NSString *) type
|
||||
+ (NSString *) fileType
|
||||
{
|
||||
return @"GSGormFileType";
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
@implementation GormNibPlugin
|
||||
- (void) didLoad
|
||||
{
|
||||
[self registerDocumentTypeName: [GormNibWrapperLoader type]
|
||||
[self registerDocumentTypeName: [GormNibWrapperLoader fileType]
|
||||
humanReadableName: @"Cocoa Nib"
|
||||
forExtensions: [NSArray arrayWithObjects: @"nib",nil]];
|
||||
}
|
||||
|
|
|
@ -185,7 +185,7 @@
|
|||
@end
|
||||
|
||||
@implementation GormNibWrapperBuilder
|
||||
+ (NSString *) type
|
||||
+ (NSString *) fileType
|
||||
{
|
||||
return @"GSNibFileType";
|
||||
}
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
@end
|
||||
|
||||
@implementation GormNibWrapperLoader
|
||||
+ (NSString *) type
|
||||
+ (NSString *) fileType
|
||||
{
|
||||
return @"GSNibFileType";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue