port 7.2 mods: align_edits foreground plugin refresh_frame tweak, rework soundlevel...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / plugin.h
index 15aa75ced5799b34f26ffa99442088573e754efb..92eff4f0046365a1e621730d5a23395e772b1c70 100644 (file)
@@ -66,23 +66,24 @@ public:
 // title.
        void equivalent_output(Edit *edit, int64_t *result);
 
+       const char* type_to_text(int type);
 // Called by playable tracks to test for playable server.
 // Descends the plugin tree without creating a virtual console.
-       int is_synthesis(int64_t position,
-               int direction);
+       int is_synthesis(int64_t position, int direction, int depth);
 
        virtual int operator==(Plugin& that);
        virtual int operator==(Edit& that);
 
+       void init(const char *title,
+               int64_t unit_position, int64_t unit_length, int plugin_type,
+               SharedLocation *shared_location, KeyFrame *default_keyframe);
+       void copy_base(Edit *edit);
        virtual void copy_from(Edit *edit);
 
 
 // Called by == operators, Edit::equivalent output
 // to test title and keyframe of transition.
        virtual int identical(Plugin *that);
-// Called by render_gui.  Only need the track, position, and pluginset
-// to determine a corresponding GUI.
-       int identical_location(Plugin *that);
        virtual void synchronize_params(Edit *edit);
 // Used by Edits::insert_edits and Plugin::shift to shift plugin keyframes
        void shift_keyframes(int64_t position);
@@ -136,7 +137,7 @@ public:
        int plugin_type;
 // In and out aren't used anymore.
        int in, out;
-       int show, on;
+       int show, on, gui_id;
        PluginSet *plugin_set;
 
 // Data for the plugin is stored here.  Default keyframe always exists.