5 #include "filesystem.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()
48 List<Edit>::append(current = new VEdit(edl, this));
49 return (Edit*)current;