mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 22:20:37 +00:00
* Headers/Additions/GNUstepGUI/GSModelLoaderFactory.h,
* Source/GSModelLoaderFactory.m: Add new method +supportedTypes. * Source/NSBundleAdditions.m: Use this new method to implement NIB resource detection on top of the base methods instead of doing it here. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37421 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
46d7887140
commit
3ad5c33813
4 changed files with 61 additions and 45 deletions
|
@ -32,6 +32,7 @@
|
|||
#import <Foundation/NSObject.h>
|
||||
#import <Foundation/NSZone.h>
|
||||
|
||||
@class NSArray;
|
||||
@class NSData;
|
||||
@class NSDictionary;
|
||||
@class NSString;
|
||||
|
@ -51,10 +52,11 @@
|
|||
|
||||
@interface GSModelLoaderFactory : NSObject
|
||||
+ (void) registerModelLoaderClass: (Class)aClass;
|
||||
+ (Class)classForType: (NSString *)type;
|
||||
+ (Class) classForType: (NSString *)type;
|
||||
+ (NSArray *) supportedTypes;
|
||||
+ (NSString *) supportedModelFileAtPath: (NSString *)modelPath;
|
||||
+ (GSModelLoader *)modelLoaderForFileType: (NSString *)type;
|
||||
+ (GSModelLoader *)modelLoaderForFileName: (NSString *)modelPath;
|
||||
+ (GSModelLoader *) modelLoaderForFileType: (NSString *)type;
|
||||
+ (GSModelLoader *) modelLoaderForFileName: (NSString *)modelPath;
|
||||
@end
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue