Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
38
Src/playlist/SPlaylistManager.h
Normal file
38
Src/playlist/SPlaylistManager.h
Normal file
|
@ -0,0 +1,38 @@
|
|||
#pragma once
|
||||
|
||||
#include <api/script/objcontroller.h>
|
||||
#include <api/script/objects/rootobj.h>
|
||||
|
||||
class PlaylistManagerScriptController : public ScriptObjectControllerI
|
||||
{
|
||||
public:
|
||||
const wchar_t *getClassName();
|
||||
const wchar_t *getAncestorClassName();
|
||||
ScriptObjectController *getAncestorController();
|
||||
int getNumFunctions();
|
||||
const function_descriptor_struct *getExportedFunctions();
|
||||
GUID getClassGuid();
|
||||
|
||||
ScriptObject *instantiate();
|
||||
void destroy( ScriptObject *o );
|
||||
|
||||
void *encapsulate( ScriptObject *o );
|
||||
void deencapsulate( void *o );
|
||||
|
||||
int getInstantiable();
|
||||
int getReferenceable();
|
||||
|
||||
private:
|
||||
static function_descriptor_struct exportedFunction[];
|
||||
};
|
||||
|
||||
class SPlaylistManager : public RootObjectInstance
|
||||
{
|
||||
public:
|
||||
SPlaylistManager();
|
||||
|
||||
static scriptVar script_vcpu_OpenPlaylist( SCRIPT_FUNCTION_PARAMS, ScriptObject *o, scriptVar filename );
|
||||
static scriptVar script_vcpu_SavePlaylist( SCRIPT_FUNCTION_PARAMS, ScriptObject *o, scriptVar filename, scriptVar playlist );
|
||||
|
||||
private:
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue