X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Fplugin.h;h=a0bd80b4c016c4bd6798fb48f035ad125bfeded3;hb=c63c2c2707e1b1145db2edd6824bd69f59341e15;hp=15aa75ced5799b34f26ffa99442088573e754efb;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/plugin.h b/cinelerra-5.1/cinelerra/plugin.h index 15aa75ce..a0bd80b4 100644 --- a/cinelerra-5.1/cinelerra/plugin.h +++ b/cinelerra-5.1/cinelerra/plugin.h @@ -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.