fix transition keyframe update when autogenerate keyframes set, revert copy operators...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / plugin.h
index a0bd80b4c016c4bd6798fb48f035ad125bfeded3..92eff4f0046365a1e621730d5a23395e772b1c70 100644 (file)
@@ -59,6 +59,9 @@ 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);
@@ -68,6 +71,9 @@ public:
 // Descends the plugin tree without creating a virtual console.
        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);
@@ -75,6 +81,7 @@ public:
        virtual void copy_from(Edit *edit);
 
 
+// Called by == operators, Edit::equivalent output
 // to test title and keyframe of transition.
        virtual int identical(Plugin *that);
        virtual void synchronize_params(Edit *edit);