Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / cinelerra / aedits.C
blob4cb59c147749dc7b9ee97c4badc59004c163c439
1 #include "aedit.h"
2 #include "aedits.h"
3 #include "edits.h"
4 #include "filexml.h"
5 #include "mwindow.h"
6 #include "mainsession.h"
9 AEdits::AEdits(EDL *edl, Track *track)
10  : Edits(edl, track, create_edit())
16 Edit* AEdits::create_edit()
18         return new AEdit(edl, this);
22 Edit* AEdits::insert_edit_after(Edit* previous_edit)
24         AEdit *current = new AEdit(edl, this);
25         
26         insert_after(previous_edit, current);
27 //printf("AEdits::insert_edit_after %p %p\n", current->track, current->edits);
29         return (Edit*)current;
49 Edit* AEdits::append_new_edit()
51         AEdit *current;
52         append(current = new AEdit(edl, this));
53         return (Edit*)current;
56 int AEdits::clone_derived(Edit* new_edit, Edit* old_edit)
58         return 0;
61 //      Local Variables:
62 //      mode: C++
63 //      c-file-style: "linux"
64 //      End: