add sliders to cwdw proj/cam tools, edit id tweaks, deltrk shortcut tweak
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / plugin.h
index 15aa75ced5799b34f26ffa99442088573e754efb..a0bd80b4c016c4bd6798fb48f035ad125bfeded3 100644 (file)
@@ -59,30 +59,24 @@ public:
                const char *title);
        virtual ~Plugin();
 
-       virtual Plugin& operator=(Plugin& edit);
-       virtual Edit& operator=(Edit& edit);
-
 // Called by Edits::equivalent_output to override the keyframe behavior and check
 // 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);
-
-       virtual int operator==(Plugin& that);
-       virtual int operator==(Edit& that);
+       int is_synthesis(int64_t position, int direction, int depth);
 
+       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 +130,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.