1
0

SPlaylists.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #pragma once
  2. #include <api/script/objcontroller.h>
  3. #include <api/script/objects/rootobj.h>
  4. class PlaylistsScriptController : 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 SPlaylists : public RootObjectInstance
  23. {
  24. public:
  25. SPlaylists();
  26. static scriptVar script_vcpu_GetEnumerator( SCRIPT_FUNCTION_PARAMS, ScriptObject *o );
  27. static scriptVar script_vcpu_OpenPlaylist( SCRIPT_FUNCTION_PARAMS, ScriptObject *o, scriptVar scriptPlaylistGUID );
  28. static scriptVar script_vcpu_SavePlaylist( SCRIPT_FUNCTION_PARAMS, ScriptObject *o, scriptVar scriptPlaylistGUID, scriptVar scriptPlaylist );
  29. private:
  30. };