fix awdw solo vicon crash, fix nested clip for binfolders, open edit edl
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / mwindow.h
index eccc0a3bb8d5ba02aad953f6fea3b720f281b239..59f816c658ccfd5f2c4917ac590aca75cd54d7cb 100644 (file)
@@ -112,8 +112,10 @@ class StackItem
 public:
        EDL *edl, *new_edl;
        Indexable *idxbl;
+       Edit *edit;
        MainUndo *undo;
        int64_t mtime;
+       double duration;
 };
 
 class Stack : public ArrayList<StackItem>
@@ -175,7 +177,7 @@ public:
 // Total horizontal pixels in timeline
        int get_tracks_width();
 // session stack
-       void stack_push(EDL *edl, Indexable *idxbl);
+       void stack_push(EDL *edl, Indexable *idxbl, Edit *edit=0);
        void stack_pop();
        int save(EDL *edl, char *filename, int stat);
        int save(int save_as);
@@ -228,6 +230,9 @@ public:
                int edit_plugins,
                int edit_autos,
                int overwrite);
+       void collect_effects();
+       void paste_effects();
+
 // Reset everything for a load
        void update_project(int load_mode);
        void update_preferences(Preferences *prefs);
@@ -300,7 +305,8 @@ public:
        int zoom_sample(int64_t zoom_sample);
        void zoom_autos(float min, float max);
        void zoom_amp(int64_t zoom_amp);
-       void zoom_track(int64_t zoom_track);
+       void zoom_atrack(int64_t zoom);
+       void zoom_vtrack(int64_t zoom);
        int fit_sample();
        int move_left(int64_t distance = 0);
        int move_right(int64_t distance = 0);
@@ -594,6 +600,7 @@ public:
        void dump_edl(FILE *fp=stdout);
        void dump_undo(FILE *fp=stdout);
        void dump_exe(FILE *fp=stdout);
+       void dump_caches(FILE *fp=stdout);
        static void trap_hook(FILE *fp, void *vp);
 
        void reset_android_remote();
@@ -797,6 +804,8 @@ public:
        void speed_before();
        int speed_after(int done);
        int normalize_speed(EDL *old_edl, EDL *new_edl);
+       int get_cpus(int out_w, int out_h);
+       int get_cpus();
 //
        void clean_indexes();
 //     TimeBomb timebomb;