From 149e7c0836927e14a926a952bd1a7f0d1b49e779 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 5 May 2023 15:46:58 -0400 Subject: Organised repo --- src/main.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/main.cpp (limited to 'src/main.cpp') 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 @@ +#include + +#ifndef WX_PRECOMP +#include +#endif + +#include "tracker_config.h" +#include "tracker_frame.h" + +class TrackerApp : public wxApp { + public: + virtual bool OnInit() { + GetTrackerConfig().Load(); + + TrackerFrame *frame = new TrackerFrame(); + frame->Show(true); + return true; + } +}; + +wxIMPLEMENT_APP(TrackerApp); -- cgit 1.4.1