00001 #include "aedit.h" 00002 #include "aedits.h" 00003 #include "edits.h" 00004 #include "filexml.h" 00005 #include "mwindow.h" 00006 #include "mainsession.h" 00007 00008 00009 AEdits::AEdits(EDL *edl, Track *track) 00010 : Edits(edl, track) 00011 { 00012 } 00013 00014 00015 00016 Edit* AEdits::create_edit() 00017 { 00018 return new AEdit(edl, this); 00019 } 00020 00021 00022 Edit* AEdits::insert_edit_after(Edit* previous_edit) 00023 { 00024 AEdit *current = new AEdit(edl, this); 00025 00026 insert_after(previous_edit, current); 00027 //printf("AEdits::insert_edit_after %p %p\n", current->track, current->edits); 00028 00029 return (Edit*)current; 00030 } 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 Edit* AEdits::append_new_edit() 00050 { 00051 AEdit *current; 00052 append(current = new AEdit(edl, this)); 00053 return (Edit*)current; 00054 } 00055 00056 int AEdits::clone_derived(Edit* new_edit, Edit* old_edit) 00057 { 00058 return 0; 00059 }
1.4.4