X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fedl.h;h=5d08285bd5ddd2abf726c73c68618a55c009b6de;hb=78220c35c918002018ea6bea42c1bd08abb393e6;hp=3e201a0748c03de775c3b6a502e944077762ee30;hpb=03fa86e6dc495f9444ae14dad401b1ad6de793fe;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/edl.h b/cinelerra-5.1/cinelerra/edl.h index 3e201a07..5d08285b 100644 --- a/cinelerra-5.1/cinelerra/edl.h +++ b/cinelerra-5.1/cinelerra/edl.h @@ -25,6 +25,7 @@ #include #include +#include "arraylist.h" #include "asset.inc" #include "assets.inc" #include "autoconf.inc" @@ -47,7 +48,7 @@ #include "pluginserver.h" #include "preferences.inc" #include "recordlabel.inc" -#include "sharedlocation.inc" +#include "sharedlocation.h" #include "theme.inc" #include "tracks.inc" #include "vedit.inc" @@ -196,9 +197,11 @@ public: int copy_assets(int copy_flags, double start, double end, FileXML *file, const char *output_path); void copy_indexables(EDL *edl); - EDL *new_nested(EDL *edl, const char *path); + EDL *new_nested_clip(EDL *edl, const char *path); + EDL *get_nested_edl(const char *path); EDL *create_nested_clip(EDL *nested); void create_nested(EDL *nested); + void overwrite_clip(EDL *clip); void paste_silence(double start, double end, int edit_labels /* = 1 */, int edit_plugins, @@ -220,6 +223,9 @@ public: RecordLabels *labels = 0); // Insert the clip at a point in the EDL int insert_clips(ArrayList *new_edls, int load_mode, Track *first_track = 0); +// copy/paste group of effects + int collect_effects(EDL *&group); + int insert_effects(EDL *group, Track *first_track=0); // Add a copy of EDL* to the clip array. Returns the copy. EDL* add_clip(EDL *edl); EDL *selected_edits_to_clip(int packed, @@ -300,4 +306,12 @@ public: EDL *parent_edl; }; +// remap plugin shares in collect/paste effects +class edl_shared : public ArrayList { public: int trk; }; +class edl_shared_list : public ArrayList {}; +class edl_SharedLocations : public ArrayList { +public: + void add(int trk, int plg); +}; + #endif