summaryrefslogtreecommitdiff
path: root/src/lib/help.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-06-10 00:50:37 +0200
committerCarl Hetherington <cth@carlh.net>2020-06-20 20:09:15 +0200
commit9946c7aabecbb578dcbcb37f27973a98616956ce (patch)
tree2a3029fee1bdb43cd31bf9169bc8dd440d6f6c4c /src/lib/help.h
parent2d9ad1b7bb17ae209aab7f85eb9d850bfead265f (diff)
First hacks on OOBE help.
Diffstat (limited to 'src/lib/help.h')
-rw-r--r--src/lib/help.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/lib/help.h b/src/lib/help.h
new file mode 100644
index 000000000..ac36124c2
--- /dev/null
+++ b/src/lib/help.h
@@ -0,0 +1,26 @@
+#ifndef DCPOMATIC_HELP_H
+#define DCPOMATIC_HELP_H
+
+#include "signaller.h"
+#include <boost/signals2.hpp>
+
+class Help : public Signaller
+{
+public:
+ static Help* instance ();
+
+ enum EventType {
+ SUCCESSFUL_FILE_NEW,
+ SUCCESSFUL_ADD_CONTENT,
+ };
+
+ void event (EventType e);
+
+ boost::signals2::signal<void (EventType)> Event;
+
+private:
+ static Help* _instance;
+};
+
+#endif
+