00001 #ifndef PLUGINPREFS_H 00002 #define PLUGINPREFS_H 00003 00004 class PluginGlobalPathText; 00005 class PluginLocalPathText; 00006 00007 #include "browsebutton.h" 00008 #include "preferencesthread.h" 00009 00010 class PluginPrefs : public PreferencesDialog 00011 { 00012 public: 00013 PluginPrefs(MWindow *mwindow, PreferencesWindow *pwindow); 00014 ~PluginPrefs(); 00015 00016 int create_objects(); 00017 // must delete each derived class 00018 BrowseButton *ipath; 00019 PluginGlobalPathText *ipathtext; 00020 BrowseButton *lpath; 00021 PluginLocalPathText *lpathtext; 00022 }; 00023 00024 00025 00026 class PluginGlobalPathText : public BC_TextBox 00027 { 00028 public: 00029 PluginGlobalPathText(int x, int y, PreferencesWindow *pwindow, char *text); 00030 ~PluginGlobalPathText(); 00031 int handle_event(); 00032 PreferencesWindow *pwindow; 00033 }; 00034 00035 00036 00037 00038 00039 class PluginLocalPathText : public BC_TextBox 00040 { 00041 public: 00042 PluginLocalPathText(int x, int y, PreferencesWindow *pwindow, char *text); 00043 ~PluginLocalPathText(); 00044 int handle_event(); 00045 PreferencesWindow *pwindow; 00046 }; 00047 00048 #endif
1.4.4