X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fmwindow.h;h=46e96643ae1930f562dad77a34471025011a89cc;hp=8f9bfbb74b4a7c3e04d6bf8dfecb756eed60a7e3;hb=b9fa786adcb3624582d1a63bd52b9179e9a8dadb;hpb=1c71ba58f246f821bc480cb50444b07bf5658fce diff --git a/cinelerra-5.1/cinelerra/mwindow.h b/cinelerra-5.1/cinelerra/mwindow.h index 8f9bfbb7..46e96643 100644 --- a/cinelerra-5.1/cinelerra/mwindow.h +++ b/cinelerra-5.1/cinelerra/mwindow.h @@ -23,6 +23,7 @@ #include #include +#include #include "apatchgui.h" #include "arraylist.h" @@ -384,6 +385,7 @@ public: void crop_video(int mode); void update_plugins(); void get_backup_path(char *path, int len); + void create_timestamped_copy_from_previous_backup(char *previouspath); // Call after every edit operation void save_backup(); void load_backup(); @@ -815,13 +817,11 @@ public: const char *plug_dir, const char *plug_path); static void init_plugin_index(MWindow *mwindow, Preferences *preferences, FILE *fp, const char *plugin_dir); - static int init_ladspa_index(MWindow *mwindow, Preferences *preferences, - FILE *fp, const char *plugin_dir); static void scan_plugin_index(MWindow *mwindow, Preferences *preferences, FILE *fp, const char *plug_dir, const char *plug_path, int &idx); static void init_ffmpeg(); static void init_ffmpeg_index(MWindow *mwindow, Preferences *preferences, FILE *fp); - static int load_plugin_index(MWindow *mwindow, FILE *fp, const char *plugin_dir); + static int load_plugin_index(MWindow *mwindow, FILE *fp, const char *plugin_dir, const char *index_id); static PluginServer *new_ffmpeg_server(MWindow *mwindow, const char *name); static int init_lv2_index(MWindow *mwindow, Preferences *preferences, FILE *fp); static PluginServer *new_lv2_server(MWindow *mwindow, const char *name); @@ -853,10 +853,12 @@ public: int get_cpus(); // void clean_indexes(); + void clean_backups(); // TimeBomb timebomb; SigHandler *sighandler; int restart_status; int screens; + const char *appimageDir; int in_destructor; Shuttle *shuttle; WinTV *wintv;