62 #ifndef FOXDLL_EXPORTS
63 #define FXEXTERN extern
73 #define COMPRESS_MAX 9
74 #define COMPRESS_NORMAL 6
75 #define COMPRESS_FAST 1
76 #define COMPRESS_NONE 0
80 # define INFINITE (-1)
85 #define FXNEWLINE "\r\n"
88 #define FXNEWLINE "\r"
91 #define FXNEWLINE "\n"
95 #define MKUSHORT(l,h) ((((FX::FXuchar)(l))&0xff) | (((FX::FXuchar)(h))<<8))
112 #define FXDeclare(Class) \
114 #define FXDeclareAbstract(Class) \
115 FXDECLARE_ABSTRACT(Class)
116 #define FXDefMap(Class) \
117 FXDEFMAP(Class) Class##Map[]
118 #define FXImplementAbstract(Class,Parent) \
119 FXIMPLEMENT_ABSTRACT(Class,Parent,Class##Map,ARRAYNUMBER(Class##Map))
120 #define FXImplement(Class,Parent) \
121 FXIMPLEMENT(Class,Parent,Class##Map,ARRAYNUMBER(Class##Map))
122 #define FXFuncDecl(Func) \
123 long on##Func (FXObject*,FXSelector,void*)
124 #define FXFuncImpl(Class,Func,tgt,sel,ptr) \
125 long Class::on##Func (FXOject *tgt,FXSelector sel, void *ptr)
126 #define FXMapTypes(Class,FromType,ToType,Func) \
127 FXMAPTYPES(SEL_##FromType,SEL_##ToType,Class::on##Func)
128 #define FXMapType(Class,SelType,Func) \
129 FXMAPTYPE(SEL_##SelType,Class::on##Func)
130 #define FXMapFuncs(Class,SelType,FromId,ToId,Func) \
131 FXMAPFUNCS(SEL_##SelType,Class::ID_##FromId,Class::ID_##ToId,Class::on#Func)
132 #define FXMapFunc(Class,SelType,Id,Func) \
133 FXMAPFUNC(SEL_##SelType,Class::ID_##Id,Class::on##Func)
136 #define FXSEND(tgt,sel,msg,ptr) \
137 (tgt->handle(this,FXSEL(sel,msg),ptr)
138 #define FXROUTE(src,tgt,sel,msg,ptr) \
139 (tgt->handle(src,FXSEL(sel,msg),ptr)
143 # define FXCTOR() fxtrace (100,"%s::%s %p\n",getClassName(),getClassName(),this)
144 # define FXMETHOD(methodname) fxtrace (100,"%s::%s %p\n",getClassName(),#methodname,this)
145 # define FXDTOR() fxtrace (100,"%s::~%s %p\n",getClassName(),getClassName(),this)
148 # define FXMETHOD(methodname)
185 #ifndef INVALID_HANDLE
187 #define INVALID_HANDLE INVALID_HANDLE_VALUE
189 #define INVALID_HANDLE -1
194 #define VALID_RESULT 0
FXAPI const FXuchar fxexversion[3]
Version number that the library version is compiled with.
FXint FXIOStatus
IO status definitions.
FXInputHandle * MFXThreadEventHandle
FXint FXIOState
IO state definitions.
FXSocketType
Socket types.
FXSocketFamily
Socket families.
@ FXSocketFamilyAutomatic