00001 00010 #if !defined(_APPCONFIG_H) 00011 #define _APPCONFIG_H 00012 00013 #if defined(__GNUC__) && defined(__UNIX__) 00014 #pragma pack(2) 00015 #endif 00016 00017 #if !defined(LP64) 00018 /* assume ILP32 ... terrible, I know */ 00019 typedef unsigned char Byte; 00020 00022 typedef signed char Int8; 00024 typedef signed char Char; 00026 typedef unsigned char UInt8; 00028 typedef signed short Int16; 00030 typedef unsigned short UInt16; 00032 typedef signed int Int32; 00034 typedef unsigned int UInt32; 00035 #endif 00036 00038 typedef struct _NixAppConfig_01 { 00039 int window_x; 00040 int window_y; 00041 int window_width; 00042 int window_height; 00043 } UnixAppConfig_01_t; 00044 00046 typedef UnixAppConfig_01_t PlatformAppConfig; 00047 00049 #define DEFAULT_APPCONFIG { \ 00050 100, 100, 400, 400 \ 00051 } 00052 00053 #endif /* _APPCONFIG_H */