1 #ifndef __PROBEPREFS_H__
2 #define __PROBEPREFS_H__
4 #include "bcwindowbase.h"
8 #include "bclistboxitem.h"
10 #include "preferences.inc"
11 #include "preferencesthread.inc"
13 #include "probeprefs.inc"
16 class FileProbeDialog : public BC_DialogThread
19 PreferencesWindow *pwindow;
21 ProbeEditWindow *pb_window;
23 void handle_close_event(int result);
25 FileProbeDialog(PreferencesWindow *pwindow);
35 ProbePref(const char *nm, int armed);
39 class ProbeUpButton : public BC_GenericButton {
41 ProbeEditWindow *pb_window;
44 ProbeUpButton(ProbeEditWindow *pb_window, int x, int y);
48 class ProbeDownButton : public BC_GenericButton {
50 ProbeEditWindow *pb_window;
53 ProbeDownButton(ProbeEditWindow *pb_window, int x, int y);
57 class ProbeEnabled : public BC_CheckBox
60 ProbeEditWindow *pb_window;
63 ProbeEnabled(ProbeEditWindow *pb_window, int x, int y);
67 class ProbePrefItem : public BC_ListBoxItem {
69 ProbeEditWindow *pb_window;
71 void set_armed(int armed);
73 ProbePrefItem(ProbeEditWindow *pb_window, ProbePref *pref);
77 class ProbePrefList : public BC_ListBox
80 ProbeEditWindow *pb_window;
82 int selection_changed();
84 ProbePrefList(ProbeEditWindow *pb_window, int x, int y);
88 class ProbeEditOK : public BC_OKButton
91 ProbeEditWindow *pb_window;
94 ProbeEditOK(ProbeEditWindow *pb_window);
98 class ProbeEditWindow : public BC_Window
101 ProbeUpButton *probe_up_button;
102 ProbeDownButton *probe_down_button;
103 ProbeEnabled *probe_enabled;
104 ArrayList<ProbePrefItem *> probe_items;
105 ProbePrefList *probe_list;
106 BC_Pixmap *pb_enabled, *pb_disabled;
108 void create_objects();
111 ProbeEditWindow(FileProbeDialog *pb_dialog, int x, int y);
114 FileProbeDialog *pb_dialog;