00001 // --------------------------------------------------------------------------- 00002 // wxlua.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_wxlua_H__ 00009 #define __HOOK_WXLUA_wxlua_H__ 00010 00011 00012 #include "wxlua/include/wxlstate.h" 00013 #include "wxlua/include/wxlbind.h" 00014 00015 // --------------------------------------------------------------------------- 00016 // Check if the version of binding generator used to create this is older than 00017 // the current version of the bindings. 00018 // See 'bindings/genwxbind.lua' and 'modules/wxlua/include/wxldefs.h' 00019 #if WXLUA_BINDING_VERSION > 27 00020 # error "The WXLUA_BINDING_VERSION in the bindings is too old, regenerate bindings." 00021 #endif //WXLUA_BINDING_VERSION > 27 00022 // --------------------------------------------------------------------------- 00023 00024 // binding class 00025 class WXDLLIMPEXP_WXLUA wxLuaBinding_wxlua : public wxLuaBinding 00026 { 00027 public: 00028 wxLuaBinding_wxlua(); 00029 00030 virtual bool RegisterBinding(const wxLuaState& wxlState); 00031 00032 private: 00033 DECLARE_DYNAMIC_CLASS(wxLuaBinding_wxlua) 00034 }; 00035 00036 00037 // initialize wxLuaBinding_wxlua for all wxLuaStates 00038 extern WXDLLIMPEXP_WXLUA bool wxLuaBinding_wxlua_init(); 00039 00040 // --------------------------------------------------------------------------- 00041 // Includes 00042 // --------------------------------------------------------------------------- 00043 00044 #include "wxlua/include/wxlstate.h" 00045 00046 // --------------------------------------------------------------------------- 00047 // Lua Tag Method Values and Tables for each Class 00048 // --------------------------------------------------------------------------- 00049 00050 extern WXDLLIMPEXP_DATA_WXLUA(int) wxluatype_wxLuaObject; 00051 extern WXDLLIMPEXP_DATA_WXLUA(int) wxluatype_wxLuaState; 00052 00053 00054 // --------------------------------------------------------------------------- 00055 // Encapsulation Declarations - need to be public for other bindings. 00056 // --------------------------------------------------------------------------- 00057 00058 00059 #endif // __HOOK_WXLUA_wxlua_H__ 00060
1.6.3