Olive
sequence.h
1 #ifndef SEQUENCE_H
2 #define SEQUENCE_H
3 
4 #include <QVector>
5 
6 #include "project/marker.h"
7 #include "project/selection.h"
8 
9 class Clip;
10 class Transition;
11 class Media;
12 
13 struct Sequence {
14  Sequence();
15  ~Sequence();
16  Sequence* copy();
17  QString name;
18  void getTrackLimits(int* video_tracks, int* audio_tracks);
19  long getEndFrame();
20  void hard_delete_transition(Clip *c, int type);
21  int width;
22  int height;
23  double frame_rate;
24  int audio_frequency;
25  int audio_layout;
26 
27  QVector<Selection> selections;
28  long playhead;
29 
30  bool using_workarea;
31  long workarea_in;
32  long workarea_out;
33 
34  bool wrapper_sequence;
35 
36  int save_id;
37 
38  QVector<Marker> markers;
39  QVector<Clip*> clips;
40  QVector<Transition*> transitions;
41 };
42 
43 // static variable for the currently active sequence
44 namespace Olive {
45  extern Sequence* ActiveSequence;
46 }
47 
48 #endif // SEQUENCE_H
Definition: sequence.h:13
Definition: media.h:20
Definition: clip.h:33
Definition: transition.h:19