00001 #ifndef __AIWinDef__
00002 #define __AIWinDef__
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 #ifdef WIN_ENV
00021         #ifndef _INC_WINDOWS    // if windows.h is not included
00022 
00023                 
00024                 #define DECLARE_AI_WINDOWS_HANDLE(name) struct name##__; typedef struct name##__ *name
00025 
00026                 
00027                 DECLARE_AI_WINDOWS_HANDLE(HDC);
00028                 DECLARE_AI_WINDOWS_HANDLE(HINSTANCE);
00029                 DECLARE_AI_WINDOWS_HANDLE(HFONT);
00030                 DECLARE_AI_WINDOWS_HANDLE(HWND);
00031 
00032                 #undef DECLARE_AI_WINDOWS_HANDLE
00033 
00034         #endif  //      _INC_WINDOWS
00035 #endif  //      WIN_ENV
00036 
00037 #endif  //      __AIWinDef__