X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fmwindow.h;h=c94a7bd52dc77d08f7746fea59808ecf8d972989;hp=6a4e2fb65a1068bfd580ea6a7d069bf7f51e0f28;hb=HEAD;hpb=b4017f68039ef7e31eedee4a27580a28bee36fc5 diff --git a/cinelerra-5.1/cinelerra/mwindow.h b/cinelerra-5.1/cinelerra/mwindow.h index 6a4e2fb6..b1b95a3e 100644 --- a/cinelerra-5.1/cinelerra/mwindow.h +++ b/cinelerra-5.1/cinelerra/mwindow.h @@ -1,6 +1,7 @@ /* * CINELERRA * Copyright (C) 1997-2014 Adam Williams + * Copyright (C) 2003-2016 Cinelerra CV contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,6 +24,7 @@ #include #include +#include #include "apatchgui.h" #include "arraylist.h" @@ -210,9 +212,13 @@ public: int create_ref(Asset *asset, EDL *ref); // Show windows void show_vwindow(int raise); + void hide_vwindow(int raise); void show_awindow(); - void show_lwindow(); + void hide_awindow(); void show_cwindow(); + void hide_cwindow(); + void show_lwindow(); + void hide_lwindow(); void show_gwindow(); void hide_gwindow(); void restore_windows(); @@ -380,6 +386,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(); @@ -811,13 +818,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); @@ -849,6 +854,7 @@ public: int get_cpus(); // void clean_indexes(); + void clean_backups(); // TimeBomb timebomb; SigHandler *sighandler; int restart_status;