4 #include "defaults.inc"
7 #include "pluginvclient.h"
30 int equivalent(SwapConfig
&that
);
31 void copy_from(SwapConfig
&that
);
41 class SwapMenu
: public BC_PopupMenu
44 SwapMenu(SwapMain
*client
, int *output
, int x
, int y
);
55 class SwapItem
: public BC_MenuItem
58 SwapItem(SwapMenu
*menu
, char *title
);
66 class SwapWindow
: public BC_Window
69 SwapWindow(SwapMain
*plugin
, int x
, int y
);
73 void create_objects();
86 PLUGIN_THREAD_HEADER(SwapMain
, SwapThread
, SwapWindow
)
90 class SwapMain
: public PluginVClient
93 SwapMain(PluginServer
*server
);
96 // required for all realtime plugins
97 int process_realtime(VFrame
*input_ptr
, VFrame
*output_ptr
);
100 char* plugin_title();
106 void save_data(KeyFrame
*keyframe
);
107 void read_data(KeyFrame
*keyframe
);
116 void load_configuration();
123 // parameters needed for processor
124 char* output_to_text(int value
);
125 int text_to_output(char *text
);