00001 #ifndef INCLUDED_NIBMANAGERHANDLER_H
00002 #define INCLUDED_NIBMANAGERHANDLER_H
00003
00004
00005
00006
00007
00008
00009
00010 #import <Cocoa/Cocoa.h>
00011
00012
00013 @class DocumentumManager;
00014 @class StaffwareManager;
00015 @class MainframeManager;
00016 @class WizardManager;
00017 @class NIBCallback;
00018 @class NIBContext;
00019 @class NIBController;
00020 @class NIBManager;
00021 @class NIBValidator;
00022
00023
00024 extern NSString* LOCALE_ENGLISH;
00025 extern NSString* LOCALE_JAPANESE;
00026 extern NSString* KEY_IDENTIFIER;
00027
00028 extern int MANAGER_STAFFWARE;
00029 extern int MANAGER_DOCUMENTUM;
00030 extern int MANAGER_PENTAHO;
00031 extern int MANAGER_MAINFRAME;
00032 extern int LOGGING_LEVEL;
00033 extern int LOGGING_NOTICE;
00034 extern int LOGGING_INFO;
00035 extern int LOGGING_DEBUG;
00036
00037 extern int EMBEDDED;
00038 extern int WINDOWED;
00039 extern int DOCUMENT;
00040 extern int UNIQUE;
00041
00042
00043
00044 @interface NIBManagerHandler : NSObject {
00045
00046 NSMutableDictionary * managers;
00047 }
00048
00049
00050 + (NIBManagerHandler *)getHandler;
00051 + (int)getLoggingLevel;
00052 + (void)setLoggingLevel:(int)level;
00053 + (NSString *)getLocaleIdentifier;
00054 + (NSString *)getBundleVersion;
00055 + (BOOL)isEnglish;
00056 + (BOOL)isJapanese;
00057
00058 - (void)setFlipped:(BOOL)isFlipped;
00059 - (void)setScrolling:(BOOL)isScrolling;
00060 - (void)setDecorated:(BOOL)isDecorated;
00061 - (void)setBounds:(NSRect)myBounds;
00062 - (void)setAdjustment:(NSPoint)myAdjustment;
00063
00064 - (NIBManager *)getManager:(NSString *)type;
00065 - (NIBContext *)getContext:(NSString *)type withIndex:(int)index;
00066 - (void)setManager:(NIBManager *)manager withType:(NSString *)type;
00067 - (void)setBackingType:(NSString *)myType;
00068 - (void)setBackingStore:(NSString *)myStore;
00069 - (int)determineTag:(NSString *)type;
00070
00071 - (NIBManager *)doRegister:(NSString *)manager withType:(int)type;
00072 - (NIBManager *)doRegister:(NSString *)manager withType:(int)type withPersistence:(int)persistence;
00073 - (void)doInitialise:(NSString *)type withPath:(NSString *)myPath;
00074 - (void)doInitialise:(NSString *)type withPath:(NSString *)myPath withCallback:(NIBCallback *)myCallback;
00075 - (void)doInitialise:(NSString *)type withPath:(NSString *)myPath withCallback:(NIBCallback *)myCallback withValidator:(NIBValidator *)myValidator;
00076
00077
00078 @end
00079 #endif