c_container.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /* This file was generated by Maki Compiler, do not edit manually */
  2. #ifndef __C_CONTAINER_H
  3. #define __C_CONTAINER_H
  4. #include "c_rootobj.h"
  5. #define C_CONTAINER_PARENT C_RootObject
  6. class C_Container : public C_CONTAINER_PARENT {
  7. public:
  8. C_Container(ScriptObject *object);
  9. C_Container();
  10. virtual ~C_Container();
  11. virtual void C_hook(ScriptObject *o);
  12. ScriptObject *getScriptObject();
  13. virtual void onSwitchToLayout(ScriptObject *newlayout);
  14. virtual void onBeforeSwitchToLayout(ScriptObject *oldlayout, ScriptObject *newlayout);
  15. virtual void setXmlParam(const wchar_t *param, const wchar_t *value);
  16. virtual void onHideLayout(ScriptObject *_layout);
  17. virtual void onShowLayout(ScriptObject *_layout);
  18. virtual ScriptObject *getLayout(const wchar_t *layout_id);
  19. virtual int getNumLayouts();
  20. virtual ScriptObject *enumLayout(int num);
  21. virtual void switchToLayout(const wchar_t *layout_id);
  22. virtual void show();
  23. virtual void hide();
  24. virtual void close();
  25. virtual void toggle();
  26. virtual int isDynamic();
  27. virtual void setName(const wchar_t *name);
  28. virtual ScriptObject *getCurLayout();
  29. private:
  30. ScriptObject *obj;
  31. int inited;
  32. static int loaded;
  33. static int onswitchtolayout_id;
  34. static int onbeforeswitchtolayout_id;
  35. static int setxmlparam_id;
  36. static int onhidelayout_id;
  37. static int onshowlayout_id;
  38. static int getlayout_id;
  39. static int getnumlayouts_id;
  40. static int enumlayout_id;
  41. static int switchtolayout_id;
  42. static int show_id;
  43. static int hide_id;
  44. static int close_id;
  45. static int toggle_id;
  46. static int isdynamic_id;
  47. static int setname_id;
  48. static int getcurlayout_id;
  49. };
  50. #endif