Moo
mootrack.h
Go to the documentation of this file.
1 
4 
5 #ifndef __mootrack__
6 #define __mootrack__
7 
8 #include "mooplatform.h"
9 #include "moomediatypes.h"
10 
11 class MooClip;
12 
17 
18 //-----------------------------------------------------------------------------
19 class MooTrack
20 {
21 public:
22  MooTrack () {}
23  virtual ~MooTrack () {}
24 
26  virtual mooUInt getID () = 0;
27 
29  virtual const mooChar* getName () = 0;
30 
32  virtual mooMediaType getMediaType () = 0;
33 
35  virtual MooTrack** getTracks (mooInt& count) = 0;
36 
38  virtual MooClip** getClips (mooInt& count) = 0;
39 
41  virtual mooInt getOwnerID () = 0;
42 
44  virtual mooBool isUserFolder () = 0;
45 
47 
52  virtual MooTrack* addTrack (mooMediaType mediaType) = 0;
53 
56  virtual void removeTrack (mooInt id) = 0;
57 
59 
64  virtual MooClip* addClip (const mooChar* localMediaFile, double time) = 0;
65 
68  virtual void removeClip (mooInt iD) = 0;
69 };
70 
71 #endif
unsigned short mooChar
Definition: mooplatform.h:35
virtual void removeClip(mooInt iD)=0
mooMediaType
Moo Media Types
Definition: moomediatypes.h:14
virtual const mooChar * getName()=0
get the track's name
A Moo Media Clip
Definition: mooclip.h:17
virtual MooClip * addClip(const mooChar *localMediaFile, double time)=0
add a new clip at a given position.
virtual mooBool isUserFolder()=0
is this our users folder?
__int64 mooInt
All signed ints are 64 bit wide.
Definition: mooplatform.h:41
unsigned __int64 mooUInt
All unsigned ints are 64 bit wide.
Definition: mooplatform.h:50
virtual void removeTrack(mooInt id)=0
bool mooBool
just a bool
Definition: mooplatform.h:63
virtual MooClip ** getClips(mooInt &count)=0
get clips
virtual mooUInt getID()=0
get a track's ID
A Moo Media Track
Definition: mootrack.h:19
virtual mooInt getOwnerID()=0
get the owner's ID
virtual mooMediaType getMediaType()=0
get the track's media type
virtual MooTrack ** getTracks(mooInt &count)=0
get subtracks
virtual MooTrack * addTrack(mooMediaType mediaType)=0
add a new media track of given type