Moo
MooTrack Class Referenceabstract

A Moo Media Track

More...

#include <mootrack.h>

Public Member Functions

virtual mooUInt getID ()=0
 get a track's ID
 
virtual const mooChargetName ()=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 MooTrackaddTrack (mooMediaType mediaType)=0
 add a new media track of given type More...
 
virtual void removeTrack (mooInt id)=0
 
virtual MooClipaddClip (const mooChar *localMediaFile, double time)=0
 add a new clip at a given position. More...
 
virtual void removeClip (mooInt iD)=0
 

Detailed Description

A Moo Media Track


MooTrack

Member Function Documentation

◆ addClip()

virtual MooClip* MooTrack::addClip ( const mooChar localMediaFile,
double  time 
)
pure virtual

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

◆ addTrack()

virtual MooTrack* MooTrack::addTrack ( mooMediaType  mediaType)
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

◆ removeClip()

virtual void MooTrack::removeClip ( mooInt  iD)
pure virtual

remove a clip. the same rules as for addClip apply. MooProjects will invoke your callback with kProjectClipRemoved

◆ removeTrack()

virtual void MooTrack::removeTrack ( mooInt  id)
pure virtual

remove a track of given id the track will be removed only if this track is your user folder.


The documentation for this class was generated from the following file: