00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __AIMODALPARENT_H__
00022 #define __AIMODALPARENT_H__
00023
00024 #include "AITypes.h"
00025 #include "IAIUnicodeString.h"
00026
00027
00028
00031
00032
00033
00034
00035
00036
00037 #define kAIModalParentSuite "AI Modal Parent Suite"
00038 #define kAIModalParentSuiteVersion2 AIAPI_VERSION(2)
00039 #define kAIModalParentSuiteVersion kAIModalParentSuiteVersion2
00040 #define kAIModalParentVersion kAIModalParentSuiteVersion
00041
00042
00043
00044
00045
00046
00047 #ifdef WIN_ENV
00048 typedef HWND AIPlatformWindow;
00049 #elif MAC_ENV
00050 #ifdef __OBJC__
00051 @class NSWindow;
00052 typedef NSWindow* AIPlatformWindow;
00053 #else
00054 typedef void* AIPlatformWindow;
00055 #endif
00056 #else
00057 #error unknown configuration
00058 #endif
00059
00060
00061
00062
00063
00064
00065
00073 struct AIModalParentSuite{
00074
00075 AIAPI AIErr (*SetParent)(const AIPlatformWindow& inParent);
00076
00077 AIAPI AIErr (*RemoveParent)();
00078
00079 };
00080
00081
00082 #endif //__AIMODALPARENT_H__