finished new/load/save
This commit is contained in:
@@ -38,7 +38,6 @@ Clip* Clip::copy() {
|
||||
}
|
||||
|
||||
void Clip::init() {
|
||||
qDebug() << "init was called";
|
||||
reset();
|
||||
clip_in = timeline_in = timeline_out = track = undeletable = 0;
|
||||
texture = NULL;
|
||||
|
||||
@@ -29,6 +29,7 @@ void Effect::field_changed() {
|
||||
}
|
||||
|
||||
Effect* Effect::copy() {return NULL;}
|
||||
void Effect::load(QXmlStreamReader* stream) {}
|
||||
void Effect::save(QXmlStreamWriter *stream) {}
|
||||
|
||||
void Effect::process_gl(int*, int*) {}
|
||||
|
||||
@@ -7,6 +7,7 @@ class QWidget;
|
||||
class CollapsibleWidget;
|
||||
|
||||
struct Clip;
|
||||
class QXmlStreamReader;
|
||||
class QXmlStreamWriter;
|
||||
|
||||
enum EffectTypes { EFFECT_TYPE_INVALID, EFFECT_TYPE_VIDEO, EFFECT_TYPE_AUDIO };
|
||||
@@ -24,6 +25,7 @@ public:
|
||||
Clip* parent_clip;
|
||||
|
||||
virtual Effect* copy();
|
||||
virtual void load(QXmlStreamReader* stream);
|
||||
virtual void save(QXmlStreamWriter* stream);
|
||||
|
||||
virtual void process_gl(int* anchor_x, int* anchor_y);
|
||||
|
||||
@@ -162,3 +162,6 @@ void Sequence::redo() {
|
||||
set_undo(undo_pointer);
|
||||
}
|
||||
}
|
||||
|
||||
// static variable for the currently active sequence
|
||||
Sequence* sequence = NULL;
|
||||
|
||||
@@ -38,4 +38,7 @@ private:
|
||||
int undo_stack_start;
|
||||
};
|
||||
|
||||
// static variable for the currently active sequence
|
||||
extern Sequence* sequence;
|
||||
|
||||
#endif // SEQUENCE_H
|
||||
|
||||
Reference in New Issue
Block a user