aboutsummaryrefslogtreecommitdiffstats
path: root/gui/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/main.cpp')
-rw-r--r--gui/main.cpp22
1 files changed, 13 insertions, 9 deletions
diff --git a/gui/main.cpp b/gui/main.cpp
index 48f2990..ae6ecb4 100644
--- a/gui/main.cpp
+++ b/gui/main.cpp
@@ -1,15 +1,19 @@
#include "stmdsp.hpp"
+#include "wxapp.hpp"
#include <iostream>
+#include <wx/app.h>
-int main()
-{
- stmdsp::scanner scanner;
+wxIMPLEMENT_APP(MainApp);
- scanner.scan();
- for (const auto& device : scanner.devices())
- std::cout << "Found stmdsp at: " << device.path() << std::endl;
-
- return 0;
-}
+//int main()
+//{
+// stmdsp::scanner scanner;
+//
+// scanner.scan();
+// for (const auto& device : scanner.devices())
+// std::cout << "Found stmdsp at: " << device.path() << std::endl;
+//
+// return 0;
+//}