1
0

SPlaylistManager.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #pragma once
  2. #include <api/script/objcontroller.h>
  3. #include <api/script/objects/rootobj.h>
  4. class PlaylistManagerScriptController : public ScriptObjectControllerI
  5. {
  6. public:
  7. const wchar_t *getClassName();
  8. const wchar_t *getAncestorClassName();
  9. ScriptObjectController *getAncestorController();
  10. int getNumFunctions();
  11. const function_descriptor_struct *getExportedFunctions();
  12. GUID getClassGuid();
  13. ScriptObject *instantiate();
  14. void destroy( ScriptObject *o );
  15. void *encapsulate( ScriptObject *o );
  16. void deencapsulate( void *o );
  17. int getInstantiable();
  18. int getReferenceable();
  19. private:
  20. static function_descriptor_struct exportedFunction[];
  21. };
  22. class SPlaylistManager : public RootObjectInstance
  23. {
  24. public:
  25. SPlaylistManager();
  26. static scriptVar script_vcpu_OpenPlaylist( SCRIPT_FUNCTION_PARAMS, ScriptObject *o, scriptVar filename );
  27. static scriptVar script_vcpu_SavePlaylist( SCRIPT_FUNCTION_PARAMS, ScriptObject *o, scriptVar filename, scriptVar playlist );
  28. private:
  29. };