r1053: Add Russian translation.
[cinelerra_cv.git] / cinelerra / vedits.C
blob4bf5f3ad678c69a518be1ae3ea4460173ec6bb0d
1 #include "assets.h"
2 #include "edit.h"
3 #include "vedit.h"
4 #include "vedits.h"
5 #include "filesystem.h"
6 #include "mwindow.h"
7 #include "loadfile.h"
8 #include "vtrack.h"
17 VEdits::VEdits(EDL *edl, Track *track)
18  : Edits(edl, track, create_edit())
22 Edit* VEdits::create_edit()
24         return new VEdit(edl, this);
27 Edit* VEdits::insert_edit_after(Edit* previous_edit)
29         VEdit *current = new VEdit(edl, this);
31         List<Edit>::insert_after(previous_edit, current);
33 //printf("VEdits::insert_edit_after %p %p\n", current->track, current->edits);
34         return (Edit*)current;
45 Edit* VEdits::append_new_edit()
47         VEdit *current;
48         List<Edit>::append(current = new VEdit(edl, this));
49         return (Edit*)current;