about summary refs log tree commit diff stats
path: root/src/tracker_frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tracker_frame.h')
-rw-r--r--src/tracker_frame.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/tracker_frame.h b/src/tracker_frame.h new file mode 100644 index 0000000..6f4e4fc --- /dev/null +++ b/src/tracker_frame.h
@@ -0,0 +1,33 @@
1#ifndef TRACKER_FRAME_H_86BD8DFB
2#define TRACKER_FRAME_H_86BD8DFB
3
4#include <wx/wxprec.h>
5
6#ifndef WX_PRECOMP
7#include <wx/wx.h>
8#endif
9
10class TrackerPanel;
11
12wxDECLARE_EVENT(STATE_CHANGED, wxCommandEvent);
13wxDECLARE_EVENT(STATUS_CHANGED, wxCommandEvent);
14
15class TrackerFrame : public wxFrame {
16 public:
17 TrackerFrame();
18
19 void SetStatusMessage(std::string message);
20
21 void UpdateIndicators();
22
23 private:
24 void OnExit(wxCommandEvent &event);
25 void OnAbout(wxCommandEvent &event);
26 void OnConnect(wxCommandEvent &event);
27 void OnStateChanged(wxCommandEvent &event);
28 void OnStatusChanged(wxCommandEvent &event);
29
30 TrackerPanel *tracker_panel_;
31};
32
33#endif /* end of include guard: TRACKER_FRAME_H_86BD8DFB */