feedwatcherso.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. // ----------------------------------------------------------------------------
  2. // Generated by ScriptObjectFactory [Sat Sep 27 01:24:57 2003]
  3. //
  4. // File :
  5. // Class : FeedWatcherScriptObject
  6. // class layer : Automatic Object Scripting
  7. // ----------------------------------------------------------------------------
  8. #ifndef __FEEDWATCHERSCRIPTOBJECT_H
  9. #define __FEEDWATCHERSCRIPTOBJECT_H
  10. #include <api/script/objects/rootobj.h>
  11. #include <api/script/objcontroller.h>
  12. #define FEEDWATCHER_SCRIPTPARENT RootObjectInstance
  13. #define FEEDWATCHER_SCRIPTPARENTCLASS L"Object"
  14. class svc_textFeed;
  15. // ----------------------------------------------------------------------------
  16. // {A5376FA1-4E94-411a-83F6-05EC5EEA5F0A}
  17. static const GUID FeedWatcherGuid =
  18. { 0xa5376fa1, 0x4e94, 0x411a, { 0x83, 0xf6, 0x5, 0xec, 0x5e, 0xea, 0x5f, 0xa } };
  19. // -----------------------------------------------------------------------------
  20. class FeedWatcherScriptObject : public FEEDWATCHER_SCRIPTPARENT {
  21. public:
  22. FeedWatcherScriptObject();
  23. virtual ~FeedWatcherScriptObject();
  24. void feedWatcherScriptObject_init();
  25. public:
  26. virtual void feedwatcher_onFeedChange(const wchar_t *data);
  27. };
  28. // -----------------------------------------------------------------------------
  29. class FeedWatcherScriptController : public ScriptObjectControllerI {
  30. public:
  31. virtual const wchar_t *getClassName();
  32. virtual const wchar_t *getAncestorClassName();
  33. virtual ScriptObjectController *getAncestorController();
  34. virtual int getNumFunctions();
  35. virtual const function_descriptor_struct *getExportedFunctions();
  36. virtual GUID getClassGuid();
  37. virtual ScriptObject *instantiate();
  38. virtual void destroy(ScriptObject *o);
  39. virtual void *encapsulate(ScriptObject *o);
  40. virtual void deencapsulate(void *o);
  41. static scriptVar script_setFeed(SCRIPT_FUNCTION_PARAMS, ScriptObject *_pSO, scriptVar feedid);
  42. static scriptVar script_releaseFeed(SCRIPT_FUNCTION_PARAMS, ScriptObject *_pSO);
  43. static scriptVar script_feedwatcher_onFeedChange(SCRIPT_FUNCTION_PARAMS, ScriptObject *_pSO, scriptVar data);
  44. private:static function_descriptor_struct exportedFunctions[];
  45. };
  46. extern FeedWatcherScriptController *feedWatcherScriptController;
  47. // ----------------------------------------------------------------------------
  48. #endif // __FEEDWATCHERSCRIPTOBJECT_H