* 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:
Gregory John Casamento 2008-06-24 23:18:16 +00:00
parent 08f8fa896c
commit 090f40d417
14 changed files with 31 additions and 14 deletions

View file

@ -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

View file

@ -40,6 +40,7 @@
{
GormDocument *document;
}
+ (NSString *) fileType;
@end
@interface GormWrapperBuilderFactory : NSObject

View file

@ -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

View file

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

View file

@ -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

View file

@ -32,7 +32,7 @@
@implementation GormGModelPlugin
- (void) didLoad
{
[self registerDocumentTypeName: [GormGModelWrapperLoader type]
[self registerDocumentTypeName: [GormGModelWrapperLoader fileType]
humanReadableName: @"GNUstep GModel"
forExtensions: [NSArray arrayWithObjects: @"gmodel",nil]];
}

View file

@ -30,7 +30,6 @@
@class NSMutableArray, NSString;
@interface GormGModelWrapperLoader : GormWrapperLoader
+ (NSString *) type;
@end
#endif

View file

@ -433,7 +433,7 @@ static BOOL gormFileOwnerDecoded;
@end
@implementation GormGModelWrapperLoader
+ (NSString *) type
+ (NSString *) fileType
{
return @"GSGModelFileType";
}

View file

@ -32,7 +32,7 @@
@implementation GormGormPlugin
- (void) didLoad
{
[self registerDocumentTypeName: [GormGormWrapperLoader type]
[self registerDocumentTypeName: [GormGormWrapperLoader fileType]
humanReadableName: @"GNUstep Gorm"
forExtensions: [NSArray arrayWithObjects: @"gorm",nil]];
}

View file

@ -153,7 +153,7 @@
@end
@implementation GormGormWrapperBuilder
+ (NSString *) type
+ (NSString *) fileType
{
return @"GSGormFileType";
}

View file

@ -56,7 +56,7 @@
@end;
@implementation GormGormWrapperLoader
+ (NSString *) type
+ (NSString *) fileType
{
return @"GSGormFileType";
}

View file

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

View file

@ -185,7 +185,7 @@
@end
@implementation GormNibWrapperBuilder
+ (NSString *) type
+ (NSString *) fileType
{
return @"GSNibFileType";
}

View file

@ -48,7 +48,7 @@
@end
@implementation GormNibWrapperLoader
+ (NSString *) type
+ (NSString *) fileType
{
return @"GSNibFileType";
}