scriptobjx.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // ----------------------------------------------------------------------------
  2. // Generated by InterfaceFactory [Thu May 15 21:09:17 2003]
  3. //
  4. // File : scriptobjx.h
  5. // Class : ScriptObject
  6. // class layer : Dispatchable Receiver
  7. // ----------------------------------------------------------------------------
  8. #ifndef __SCRIPTOBJECTX_H
  9. #define __SCRIPTOBJECTX_H
  10. #include "scriptobj.h"
  11. class ScriptHook;
  12. class ScriptObject;
  13. class ScriptObjectController;
  14. // ----------------------------------------------------------------------------
  15. class ScriptObjectX : public ScriptObject {
  16. protected:
  17. ScriptObjectX() {}
  18. public:
  19. virtual void *vcpu_getInterface(GUID g, int *interfacetype = NULL)=0;
  20. virtual void *vcpu_getInterfaceObject(GUID g, ScriptObject **o)=0;
  21. virtual int vcpu_getAssignedVariable(int start, int scriptid, int functionId, int *next, int *globalevententry, int *inheritedevent)=0;
  22. virtual void vcpu_removeAssignedVariable(int var, int id)=0;
  23. virtual void vcpu_addAssignedVariable(int var, int scriptid)=0;
  24. virtual const wchar_t *vcpu_getClassName()=0;
  25. virtual ScriptObjectController *vcpu_getController()=0;
  26. virtual int vcpu_getScriptId()=0;
  27. virtual void vcpu_setScriptId(int i)=0;
  28. virtual int vcpu_getMember(const wchar_t *id, int scriptid, int rettype)=0;
  29. virtual void vcpu_delMembers(int scriptid)=0;
  30. virtual void vcpu_setInterface(GUID g, void *v, int interfacetype = INTERFACE_SCRIPTOBJECT)=0;
  31. virtual void vcpu_setClassName(const wchar_t *name)=0;
  32. virtual void vcpu_setController(ScriptObjectController *c)=0;
  33. virtual void vcpu_init()=0;
  34. protected:
  35. RECVS_DISPATCH;
  36. };
  37. #endif // __SCRIPTOBJECTX_H