00001 #ifndef __AIStringPool__
00002 #define __AIStringPool__
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 #ifndef __AITypes__
00031 #include "AITypes.h"
00032 #endif
00033
00034
00035 #include "AIHeaderBegin.h"
00036
00040
00041
00042
00043
00044
00045
00046 #define kAIStringPoolSuite "AI String Pool Suite"
00047 #define kAIStringPoolSuiteVersion AIAPI_VERSION(4)
00048 #define kAIStringPoolVersion kAIStringPoolSuiteVersion
00049
00050
00053 #define kStringPoolErr 'SPER'
00054
00055
00056
00057
00058
00059
00060
00061
00062 typedef struct StringPool AIStringPool;
00063
00064
00065
00066
00067
00068
00069
00070
00082 typedef struct {
00083
00088 AIAPI AIErr (*AllocateStringPool) ( AIStringPool **pool );
00089
00093 AIAPI AIErr (*DisposeStringPool) ( AIStringPool *pool );
00094
00101 AIAPI AIErr (*MakeWString) ( AIStringPool *pool, const char *string, char **wstring );
00102
00103 } AIStringPoolSuite;
00104
00105
00106 #include "AIHeaderEnd.h"
00107
00108 #endif