00001 #include "assets.h" 00002 #include "edit.h" 00003 #include "vedit.h" 00004 #include "vedits.h" 00005 #include "filesystem.h" 00006 #include "mwindow.h" 00007 #include "loadfile.h" 00008 #include "vtrack.h" 00009 00010 00011 00012 00013 00014 00015 00016 00017 VEdits::VEdits(EDL *edl, Track *track) 00018 : Edits(edl, track) 00019 { 00020 } 00021 00022 Edit* VEdits::create_edit() 00023 { 00024 return new VEdit(edl, this); 00025 } 00026 00027 Edit* VEdits::insert_edit_after(Edit* previous_edit) 00028 { 00029 VEdit *current = new VEdit(edl, this); 00030 00031 List<Edit>::insert_after(previous_edit, current); 00032 00033 //printf("VEdits::insert_edit_after %p %p\n", current->track, current->edits); 00034 return (Edit*)current; 00035 } 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 Edit* VEdits::append_new_edit() 00046 { 00047 VEdit *current; 00048 List<Edit>::append(current = new VEdit(edl, this)); 00049 return (Edit*)current; 00050 } 00051 00052
1.4.4