X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=inline;f=cinelerra-5.0%2Fcinelerra%2Fmwindow.h;h=006b68fb81f99adc1379ede32c7255a67d1e3be1;hb=748ee792315fb16950b10d231acaa4757fe58084;hp=97581ca8b6a5a03e741684fc1345823a5bfa4827;hpb=e919ce8a71cdc99bb7344cc192e13a2c2db9e1c0;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/mwindow.h b/cinelerra-5.0/cinelerra/mwindow.h index 97581ca8..006b68fb 100644 --- a/cinelerra-5.0/cinelerra/mwindow.h +++ b/cinelerra-5.0/cinelerra/mwindow.h @@ -188,6 +188,7 @@ public: // Find the plugin whose title matches title and return it static PluginServer* scan_plugindb(char *title, int data_type); + static int plugin_exists(const char *plugin_path, ArrayList &plugins); static int plugin_exists(char *plugin_path); void dump_plugindb(FILE *fp); void stop_playback(int wait=0); @@ -602,12 +603,21 @@ public: void init_gwindow(); void init_tipwindow(); // Used by MWindow and RenderFarmClient + static void get_plugin_path(char *path, const char *plug_dir, const char *fs_path); static int init_plugins(MWindow *mwindow, Preferences *preferences); + static int init_ladspa_plugins(MWindow *mwindow, Preferences *preferences); + static int check_plugin_index(ArrayList &plugins, + const char *plug_dir, const char *plug_path); static void init_plugin_index(MWindow *mwindow, Preferences *preferences, - FILE *fp, const char *plug_dir, const char *plug_path, int &dir_id); + FILE *fp, const char *plugin_dir); + static int init_ladspa_index(MWindow *mwindow, Preferences *preferences, + const char *index_path, 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, char *path); + static int load_plugin_index(MWindow *mwindow, const char *index_path, + const char *plugin_dir); static PluginServer* new_ffmpeg_server(MWindow *mwindow, const char *name); void init_preferences(); void init_signals(); @@ -623,7 +633,8 @@ public: void init_3d(); void init_playbackcursor(); void init_commercials(); - void delete_plugins(); + static void add_plugins(ArrayList &plugins); + static void delete_plugins(); // void clean_indexes(); // TimeBomb timebomb;