aboutsummaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/ui.h b/src/ui.h
new file mode 100644
index 0000000..b4ce859
--- /dev/null
+++ b/src/ui.h
@@ -0,0 +1,19 @@
+#pragma once
+#include <memory>
+
+namespace backend {
+ class labeller;
+}
+
+namespace frontend {
+ struct ui_impl;
+ class playback;
+ class ui {
+ public:
+ ui(std::shared_ptr<playback> playback, std::shared_ptr<backend::labeller> labeller);
+ void begin();
+
+ private:
+ std::shared_ptr<ui_impl> data;
+ };
+}