rootobjecti.h 909 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef __ROOTOBJECTI_IMPL_H
  2. #define __ROOTOBJECTI_IMPL_H
  3. /*<?<autoheader/>*/
  4. #include "rootobject.h"
  5. #include "rootobjectx.h"
  6. class RootObjectCallback;
  7. class ScriptObject;
  8. /*?>*/
  9. /*[interface.header.h]
  10. #include "common/script/rootobjcontroller.h"
  11. */
  12. extern RootScriptObjectController *rootScriptObjectController;
  13. class RootObjectI : public RootObjectX {
  14. public:
  15. RootObjectI(ScriptObject *o);
  16. virtual ~RootObjectI();
  17. DISPATCH(10) virtual const wchar_t *rootobject_getClassName();
  18. DISPATCH(20) virtual void rootobject_notify(const wchar_t *s, const wchar_t *t, int u, int v);
  19. DISPATCH(30) virtual ScriptObject *rootobject_getScriptObject();
  20. DISPATCH(40) virtual void rootobject_setScriptObject(ScriptObject *obj);
  21. DISPATCH(50) virtual void rootobject_addCB(RootObjectCallback *cb);
  22. PtrList < RootObjectCallback > cbs;
  23. ScriptObject * my_script_object;
  24. };
  25. #endif // __ROOTOBJECTI_IMPL_H