4 * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 class PluginPopupChange;
26 class PluginPopupDetach;
30 class PluginPopupShow;
34 #include "mwindow.inc"
35 #include "mwindowgui.inc"
37 #include "plugindialog.inc"
38 #include "presets.inc"
39 #include "presetsgui.inc"
43 class PluginPopup : public BC_PopupMenu
46 PluginPopup(MWindow *mwindow, MWindowGUI *gui);
49 void create_objects();
50 int update(Plugin *plugin);
54 // Acquired through the update command as the plugin currently being operated on
59 PresetsThread *thread;
67 PluginPopupChange *change;
68 PluginPopupDetach *detach;
69 PluginPopupShow *show;
71 PluginPresets *presets;
74 class PluginPopupAttach : public BC_MenuItem
77 PluginPopupAttach(MWindow *mwindow, PluginPopup *popup);
84 PluginDialogThread *dialog_thread;
87 class PluginPopupChange : public BC_MenuItem
90 PluginPopupChange(MWindow *mwindow, PluginPopup *popup);
97 PluginDialogThread *dialog_thread;
101 class PluginPopupDetach : public BC_MenuItem
104 PluginPopupDetach(MWindow *mwindow, PluginPopup *popup);
105 ~PluginPopupDetach();
114 class PluginPopupIn : public BC_MenuItem
117 PluginPopupIn(MWindow *mwindow, PluginPopup *popup);
126 class PluginPopupOut : public BC_MenuItem
129 PluginPopupOut(MWindow *mwindow, PluginPopup *popup);
138 class PluginPopupShow : public BC_MenuItem
141 PluginPopupShow(MWindow *mwindow, PluginPopup *popup);
150 class PluginPopupOn : public BC_MenuItem
153 PluginPopupOn(MWindow *mwindow, PluginPopup *popup);
162 class PluginPopupUp : public BC_MenuItem
165 PluginPopupUp(MWindow *mwindow, PluginPopup *popup);
171 class PluginPopupDown : public BC_MenuItem
174 PluginPopupDown(MWindow *mwindow, PluginPopup *popup);
180 class PluginPresets : public BC_MenuItem
183 PluginPresets(MWindow *mwindow, PluginPopup *popup);