aboutsummaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-05-13 17:20:26 -0400
committerYour Name <you@example.com>2021-05-13 17:20:26 -0400
commit5a6248518654ec97d95d2c463e3ffb4be7bbf456 (patch)
treea6ebb6bb26ba2a6b4abc3829a81c58ae97fd2e05 /src/ui.h
downloadannotator-5a6248518654ec97d95d2c463e3ffb4be7bbf456.tar.gz
annotator-5a6248518654ec97d95d2c463e3ffb4be7bbf456.tar.bz2
annotator-5a6248518654ec97d95d2c463e3ffb4be7bbf456.zip
Initial commit
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;
+ };
+}