r807: Minor fix...
[cinelerra_cv/mob.git] / cinelerra / pluginpopup.h
blob4e57e60c5352658a2848e92abd516a7d52a608b6
1 #ifndef PLUGINPOPUP_H
2 #define PLUGINPOPUP_H
4 class PluginPopupChange;
5 class PluginPopupDetach;
6 class PluginPopupIn;
7 class PluginPopupOut;
8 class PluginPopupOn;
9 class PluginPopupShow;
11 #include "guicast.h"
12 #include "mwindow.inc"
13 #include "mwindowgui.inc"
14 #include "plugin.inc"
15 #include "plugindialog.inc"
19 class PluginPopup : public BC_PopupMenu
21 public:
22 PluginPopup(MWindow *mwindow, MWindowGUI *gui);
23 ~PluginPopup();
25 void create_objects();
26 int update(Plugin *plugin);
28 MWindow *mwindow;
29 MWindowGUI *gui;
30 // Acquired through the update command as the plugin currently being operated on
31 Plugin *plugin;
39 PluginPopupChange *change;
40 PluginPopupDetach *detach;
41 // PluginPopupIn *in;
42 // PluginPopupOut *out;
43 PluginPopupShow *show;
44 PluginPopupOn *on;
47 class PluginPopupAttach : public BC_MenuItem
49 public:
50 PluginPopupAttach(MWindow *mwindow, PluginPopup *popup);
51 ~PluginPopupAttach();
53 int handle_event();
55 MWindow *mwindow;
56 PluginPopup *popup;
57 PluginDialogThread *dialog_thread;
60 class PluginPopupChange : public BC_MenuItem
62 public:
63 PluginPopupChange(MWindow *mwindow, PluginPopup *popup);
64 ~PluginPopupChange();
66 int handle_event();
68 MWindow *mwindow;
69 PluginPopup *popup;
70 PluginDialogThread *dialog_thread;
74 class PluginPopupDetach : public BC_MenuItem
76 public:
77 PluginPopupDetach(MWindow *mwindow, PluginPopup *popup);
78 ~PluginPopupDetach();
80 int handle_event();
82 MWindow *mwindow;
83 PluginPopup *popup;
87 class PluginPopupIn : public BC_MenuItem
89 public:
90 PluginPopupIn(MWindow *mwindow, PluginPopup *popup);
91 ~PluginPopupIn();
93 int handle_event();
95 MWindow *mwindow;
96 PluginPopup *popup;
99 class PluginPopupOut : public BC_MenuItem
101 public:
102 PluginPopupOut(MWindow *mwindow, PluginPopup *popup);
103 ~PluginPopupOut();
105 int handle_event();
107 MWindow *mwindow;
108 PluginPopup *popup;
111 class PluginPopupShow : public BC_MenuItem
113 public:
114 PluginPopupShow(MWindow *mwindow, PluginPopup *popup);
115 ~PluginPopupShow();
117 int handle_event();
119 MWindow *mwindow;
120 PluginPopup *popup;
123 class PluginPopupOn : public BC_MenuItem
125 public:
126 PluginPopupOn(MWindow *mwindow, PluginPopup *popup);
127 ~PluginPopupOn();
129 int handle_event();
131 MWindow *mwindow;
132 PluginPopup *popup;
135 class PluginPopupUp : public BC_MenuItem
137 public:
138 PluginPopupUp(MWindow *mwindow, PluginPopup *popup);
139 int handle_event();
140 MWindow *mwindow;
141 PluginPopup *popup;
144 class PluginPopupDown : public BC_MenuItem
146 public:
147 PluginPopupDown(MWindow *mwindow, PluginPopup *popup);
148 int handle_event();
149 MWindow *mwindow;
150 PluginPopup *popup;
154 #endif