ElementFormControlDataSelect.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef ROCKETCORELUAELEMENTFORMCONTROLDATASELECT_H
  2. #define ROCKETCORELUAELEMENTFORMCONTROLDATASELECT_H
  3. /*
  4. This defines the ElementFormControlDataSelect type in the Lua global namespace. I think it is the longest
  5. type name.
  6. It inherits from ElementFormControlSelect, which inherits from ElementFormControl, which inherits from Element
  7. //method
  8. noreturn ElementFormControlDataSelect:SetDataSource(string source)
  9. */
  10. #include <Rocket/Core/Lua/lua.hpp>
  11. #include <Rocket/Core/Lua/LuaType.h>
  12. #include <Rocket/Controls/ElementFormControlDataSelect.h>
  13. using Rocket::Controls::ElementFormControlDataSelect;
  14. namespace Rocket {
  15. namespace Core {
  16. namespace Lua {
  17. //inherits from ElementFormControl which inherits from Element
  18. template<> void LuaType<ElementFormControlDataSelect>::extra_init(lua_State* L, int metatable_index);
  19. template<> bool LuaType<ElementFormControlDataSelect>::is_reference_counted();
  20. //method
  21. int ElementFormControlDataSelectSetDataSource(lua_State* L, ElementFormControlDataSelect* obj);
  22. RegType<ElementFormControlDataSelect> ElementFormControlDataSelectMethods[];
  23. luaL_reg ElementFormControlDataSelectGetters[];
  24. luaL_reg ElementFormControlDataSelectSetters[];
  25. /*
  26. template<> const char* GetTClassName<ElementFormControlDataSelect>();
  27. template<> RegType<ElementFormControlDataSelect>* GetMethodTable<ElementFormControlDataSelect>();
  28. template<> luaL_reg* GetAttrTable<ElementFormControlDataSelect>();
  29. template<> luaL_reg* SetAttrTable<ElementFormControlDataSelect>();
  30. */
  31. }
  32. }
  33. }
  34. #endif