diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-05 15:46:58 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-05 15:46:58 -0400 |
commit | 149e7c0836927e14a926a952bd1a7f0d1b49e779 (patch) | |
tree | 2c7ac89387eb890d3d345217b79929e9a23f4ecf /src/main.cpp | |
parent | 0dace7831673170bd31eefa6bbe6e705211d3061 (diff) | |
download | lingo-ap-tracker-149e7c0836927e14a926a952bd1a7f0d1b49e779.tar.gz lingo-ap-tracker-149e7c0836927e14a926a952bd1a7f0d1b49e779.tar.bz2 lingo-ap-tracker-149e7c0836927e14a926a952bd1a7f0d1b49e779.zip |
Organised repo
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..fe9aceb --- /dev/null +++ b/src/main.cpp | |||
@@ -0,0 +1,21 @@ | |||
1 | #include <wx/wxprec.h> | ||
2 | |||
3 | #ifndef WX_PRECOMP | ||
4 | #include <wx/wx.h> | ||
5 | #endif | ||
6 | |||
7 | #include "tracker_config.h" | ||
8 | #include "tracker_frame.h" | ||
9 | |||
10 | class TrackerApp : public wxApp { | ||
11 | public: | ||
12 | virtual bool OnInit() { | ||
13 | GetTrackerConfig().Load(); | ||
14 | |||
15 | TrackerFrame *frame = new TrackerFrame(); | ||
16 | frame->Show(true); | ||
17 | return true; | ||
18 | } | ||
19 | }; | ||
20 | |||
21 | wxIMPLEMENT_APP(TrackerApp); | ||