00001 #ifndef REFRAME_H 00002 #define REFRAME_H 00003 00004 00005 #include "guicast.h" 00006 #include "pluginvclient.h" 00007 00008 00009 class ReFrame; 00010 00011 00012 class ReFrameOutput : public BC_TextBox 00013 { 00014 public: 00015 ReFrameOutput(ReFrame *plugin, int x, int y); 00016 int handle_event(); 00017 ReFrame *plugin; 00018 }; 00019 00020 00021 00022 class ReFrameWindow : public BC_Window 00023 { 00024 public: 00025 ReFrameWindow(ReFrame *plugin, int x, int y); 00026 ~ReFrameWindow(); 00027 00028 void create_objects(); 00029 int close_event(); 00030 00031 ReFrame *plugin; 00032 }; 00033 00034 00035 class ReFrame : public PluginVClient 00036 { 00037 public: 00038 ReFrame(PluginServer *server); 00039 ~ReFrame(); 00040 00041 00042 char* plugin_title(); 00043 VFrame* new_picon(); 00044 int get_parameters(); 00045 int load_defaults(); 00046 int save_defaults(); 00047 int start_loop(); 00048 int stop_loop(); 00049 int process_loop(VFrame *buffer); 00050 00051 00052 double scale; 00053 00054 BC_Hash *defaults; 00055 MainProgressBar *progress; 00056 int64_t current_position; 00057 }; 00058 00059 00060 00061 00062 00063 00064 #endif
1.5.5