X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fplugin.h;h=92eff4f0046365a1e621730d5a23395e772b1c70;hb=83b70dd60863377cb281e6be5206304e10373e30;hp=220066cf4dfb258dd457c0a8b7d659de6b5bf0b9;hpb=0c086b3e7b552e0f6b06c8696d7682d9d4bd91db;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/plugin.h b/cinelerra-5.1/cinelerra/plugin.h index 220066cf..92eff4f0 100644 --- a/cinelerra-5.1/cinelerra/plugin.h +++ b/cinelerra-5.1/cinelerra/plugin.h @@ -66,14 +66,17 @@ 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); @@ -81,9 +84,6 @@ public: // 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); @@ -137,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.