00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043 #ifndef INC_MI32_MACRES_H
00044 #define INC_MI32_MACRES_H
00045
00046 #ifndef INC_MI32_STDDEFNS_H
00047 #include <mi32/stddefns.h>
00048 #endif
00049
00050 #ifdef __cplusplus
00051 class FILE_RAW;
00052 #endif
00053
00054 #ifdef MISYSTEMDLL
00055 #define LIBEXPORT MI_DLLEXPORT
00056 #else
00057 #define LIBEXPORT MI_DLLIMPORT
00058 #endif
00059
00060 #ifdef __cplusplus
00061 extern "C" {
00062 #endif
00063
00064 #ifdef __cplusplus // Note: this gets included by freetype which ony compiles as C, not C++
00069 LIBEXPORT int MacNumResourcesOfType (
00070 FILE_RAW& file,
00071 UINT32 type
00072 );
00073 #endif
00074
00075 #ifdef __cplusplus
00083
00084 LIBEXPORT int MacReadResourceByNum (
00085 FILE_RAW& file,
00086 UINT32 type,
00087 int num,
00088 void **pData
00089 );
00090 #endif
00091
00092 #ifdef __cplusplus
00100
00101 LIBEXPORT int MacReadResourceByID (
00102 FILE_RAW& file,
00103 UINT32 type,
00104 UINT16 ResID,
00105 void **pData
00106 );
00107 #endif
00108
00116
00117 LIBEXPORT int MacReadResourceByNum2 (
00118 MIUNICODE* filename,
00119 UINT32 type,
00120 int num,
00121 void **pData
00122 );
00123
00124 #ifdef __cplusplus
00125 }
00126 #endif
00127
00128 #endif