![]() |
Moo
|
#include <mootrack.h>
Public Member Functions | |
virtual mooUInt | getID ()=0 |
get a track's ID | |
virtual const mooChar * | getName ()=0 |
get the track's name | |
virtual mooMediaType | getMediaType ()=0 |
get the track's media type | |
virtual MooTrack ** | getTracks (mooInt &count)=0 |
get subtracks | |
virtual MooClip ** | getClips (mooInt &count)=0 |
get clips | |
virtual mooInt | getOwnerID ()=0 |
get the owner's ID | |
virtual mooBool | isUserFolder ()=0 |
is this our users folder? | |
virtual MooTrack * | addTrack (mooMediaType mediaType)=0 |
add a new media track of given type More... | |
virtual void | removeTrack (mooInt id)=0 |
virtual MooClip * | addClip (const mooChar *localMediaFile, double time)=0 |
add a new clip at a given position. More... | |
virtual void | removeClip (mooInt iD)=0 |
add a new clip at a given position.
If the media file exists, it will be copied to the according local project folder's media directory unless it is already there. With the next sync operation, the file will be uploaded only the owner of the track (and the folder it resides in) can add a new clip MooProjects will invoke your callback with kProjectClipAdded
|
pure virtual |
add a new media track of given type
the track will be added only if this track is your user folder. null will be returned if the track can not be added. this may also happen if either no project is opened, or user account is limited MooProjects will invoke your callback with kProjectTrackAdded
|
pure virtual |
remove a clip. the same rules as for addClip apply. MooProjects will invoke your callback with kProjectClipRemoved
|
pure virtual |
remove a track of given id the track will be removed only if this track is your user folder.