00001 #ifndef PLUGINTOGGLES_H
00002 #define PLUGINTOGGLES_H
00003
00004
00005 #include "guicast.h"
00006 #include "mwindow.inc"
00007 #include "plugin.inc"
00008
00009
00010 class PluginOn : public BC_Toggle
00011 {
00012 public:
00013 PluginOn(MWindow *mwindow, int x, int y, Plugin *plugin);
00014 static int calculate_w(MWindow *mwindow);
00015 void update(int x, int y, Plugin *plugin);
00016 int handle_event();
00017 MWindow *mwindow;
00018 int in_use;
00019 Plugin *plugin;
00020 };
00021
00022
00023
00024 class PluginShow : public BC_Toggle
00025 {
00026 public:
00027 PluginShow(MWindow *mwindow, int x, int y, Plugin *plugin);
00028 MWindow *mwindow;
00029 static int calculate_w(MWindow *mwindow);
00030 void update(int x, int y, Plugin *plugin);
00031 int handle_event();
00032 int in_use;
00033 Plugin *plugin;
00034 };
00035
00036
00037
00038
00039 #endif