olaf neophyte and de.po updates, valgrind tweaks, delete green lady, inkscape dpi=96
[goodguy/history.git] / cinelerra-5.1 / cinelerra / pluginserver.h
index 552bbe77370fe3b2b9355e6e69b1a77528a3f467..36447603bb0e1c0ad2f595d04e428be035e1a7f2 100644 (file)
@@ -95,6 +95,7 @@ class PluginServer
        int lad_index;
        LADSPA_Descriptor_Function lad_descriptor_function;
        const LADSPA_Descriptor *lad_descriptor;
+
        int use_opengl;
 // FFMPEG support
        const char *ff_name;
@@ -102,7 +103,7 @@ class PluginServer
        VideoDevice *vdevice;
 public:
        PluginServer();
-       PluginServer(MWindow *mwindow, char *path, int type);
+       PluginServer(MWindow *mwindow, const char *path, int type);
        PluginServer(PluginServer &);
        virtual ~PluginServer();
 
@@ -125,8 +126,8 @@ public:
                        EDL *edl, Plugin *plugin);
 // close the plugin
        int close_plugin();
-       int get_theme_png_path(char *png_path, const char *theme_dir);
-       int get_theme_png_path(char *png_path, Theme *theme);
+       void get_plugin_png_name(char *png_name);
+       int get_plugin_png_path(char *png_path, const char *plugin_icons);
        int get_plugin_png_path(char *png_path);
        void dump(FILE *fp=stdout);
 // Release any objects which are required after playback stops.
@@ -164,13 +165,19 @@ public:
        VFrame *get_picon();
        VFrame *get_plugin_images();
 
+       int is_unknown();
+       int is_executable();
+       int is_builtin();
+// ffmpeg
+       int is_ffmpeg();
+       PluginClient *new_ffmpeg_plugin();
 // ladspa
        void set_lad_index(int i);
        int get_lad_index();
        int is_ladspa();
-// ffmpeg
-       int is_ffmpeg();
-       PluginClient *new_ffmpeg_plugin();
+// lv2
+       int is_lv2();
+       PluginClient *new_lv2_plugin();
 // =============================== for realtime plugins
 // save configuration of plugin
        void save_data(KeyFrame *keyframe);
@@ -342,7 +349,7 @@ public:
 
 // buffers
        int64_t out_buffer_size;   // size of a send buffer to the plugin
-       int64_t in_buffer_size;    // size of a recieve buffer from the plugin
+       int64_t in_buffer_size;    // size of a receive buffer from the plugin
        int total_in_buffers;
        int total_out_buffers;
 
@@ -382,7 +389,7 @@ public:
        int uses_gui;
 // Plugin is a transition
        int transition;
-// name/tip of plugin in current locale.
+// name/tip of plugin
        char *title, *tip;
        int64_t written_samples, written_frames;
        char *path;           // location of plugin on disk