X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fpluginclient.h;h=b59d71fd40376a48b9c4852f41a904ae83d32ca8;hb=2f7295c1067fb2935ddc215831431c2959782ee3;hp=83e0eeed66c926fe486d429a41141b08273d38b0;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/pluginclient.h b/cinelerra-5.1/cinelerra/pluginclient.h index 83e0eeed..b59d71fd 100644 --- a/cinelerra-5.1/cinelerra/pluginclient.h +++ b/cinelerra-5.1/cinelerra/pluginclient.h @@ -160,6 +160,7 @@ public: virtual int translation_event(); virtual int close_event(); + virtual void done_event(int result) {} PluginClient *client; }; @@ -178,7 +179,7 @@ public: BC_WindowBase* get_window(); PluginClient* get_client(); - BC_WindowBase *window; + PluginClientWindow *window; PluginClient *client; private: @@ -278,7 +279,7 @@ public: virtual void update_gui(); virtual void save_data(KeyFrame *keyframe) {}; // write the plugin settings to text in text format virtual void read_data(KeyFrame *keyframe) {}; // read the plugin settings from the text - int send_hide_gui(); // should be sent when the GUI recieves a close event from the user + int send_hide_gui(); // should be sent when the GUI receives a close event from the user // Destroys the window but not the thread pointer. void hide_gui(); @@ -414,6 +415,8 @@ public: int get_project_samplerate(); // get framerate of EDL double get_project_framerate(); +// get asset path + const char *get_source_path(); // Total number of processors - 1 int get_project_smp(); int get_aspect_ratio(float &aspect_w, float &aspect_h); @@ -504,13 +507,13 @@ public: int interactive; // for the progress bar plugin int success; int total_out_buffers; // total send buffers allocated by the server - int total_in_buffers; // total recieve buffers allocated by the server + int total_in_buffers; // total receive buffers allocated by the server int wr, rd; // File permissions for fileio plugins. // These give the largest fragment the plugin is expected to handle. // size of a send buffer to the server int64_t out_buffer_size; -// size of a recieve buffer from the server +// size of a receive buffer from the server int64_t in_buffer_size;