00001 // --------------------------------------------------------------------------- 00002 // wxluasocket.h - headers and wxLua types for wxLua binding 00003 // 00004 // This file was generated by genwxbind.lua 00005 // Any changes made to this file will be lost when the file is regenerated 00006 // --------------------------------------------------------------------------- 00007 00008 #ifndef __HOOK_WXLUA_wxluasocket_H__ 00009 #define __HOOK_WXLUA_wxluasocket_H__ 00010 00011 #include "wx/defs.h" 00012 #include "wxluasocket/include/wxluasocketdefs.h" 00013 #include "wxbind/include/wxcore_bind.h" 00014 00015 #include "wxlua/include/wxlstate.h" 00016 #include "wxlua/include/wxlbind.h" 00017 00018 // --------------------------------------------------------------------------- 00019 // Check if the version of binding generator used to create this is older than 00020 // the current version of the bindings. 00021 // See 'bindings/genwxbind.lua' and 'modules/wxlua/include/wxldefs.h' 00022 #if WXLUA_BINDING_VERSION > 27 00023 # error "The WXLUA_BINDING_VERSION in the bindings is too old, regenerate bindings." 00024 #endif //WXLUA_BINDING_VERSION > 27 00025 // --------------------------------------------------------------------------- 00026 00027 // binding class 00028 class WXDLLIMPEXP_WXLUASOCKET wxLuaBinding_wxluasocket : public wxLuaBinding 00029 { 00030 public: 00031 wxLuaBinding_wxluasocket(); 00032 00033 00034 private: 00035 DECLARE_DYNAMIC_CLASS(wxLuaBinding_wxluasocket) 00036 }; 00037 00038 00039 // initialize wxLuaBinding_wxluasocket for all wxLuaStates 00040 extern WXDLLIMPEXP_WXLUASOCKET bool wxLuaBinding_wxluasocket_init(); 00041 00042 // --------------------------------------------------------------------------- 00043 // Includes 00044 // --------------------------------------------------------------------------- 00045 00046 #include "wx/defs.h" 00047 #include "wx/object.h" 00048 #include "wxlua/include/wxlbind.h" 00049 #include "wxlua/include/wxlstate.h" 00050 #include "wxluasocket/include/wxldserv.h" 00051 00052 // --------------------------------------------------------------------------- 00053 // Lua Tag Method Values and Tables for each Class 00054 // --------------------------------------------------------------------------- 00055 00056 extern WXDLLIMPEXP_DATA_WXLUASOCKET(int) wxluatype_wxLuaDebuggerEvent; 00057 extern WXDLLIMPEXP_DATA_WXLUASOCKET(int) wxluatype_wxLuaDebuggerServer; 00058 00059 00060 // --------------------------------------------------------------------------- 00061 // Encapsulation Declarations - need to be public for other bindings. 00062 // --------------------------------------------------------------------------- 00063 00064 00065 #endif // __HOOK_WXLUA_wxluasocket_H__ 00066
1.6.3