diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-06-10 00:50:37 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-06-20 20:09:15 +0200 |
| commit | 9946c7aabecbb578dcbcb37f27973a98616956ce (patch) | |
| tree | 2a3029fee1bdb43cd31bf9169bc8dd440d6f6c4c /src/lib/help.cc | |
| parent | 2d9ad1b7bb17ae209aab7f85eb9d850bfead265f (diff) | |
First hacks on OOBE help.
Diffstat (limited to 'src/lib/help.cc')
| -rw-r--r-- | src/lib/help.cc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/lib/help.cc b/src/lib/help.cc new file mode 100644 index 000000000..a7185686d --- /dev/null +++ b/src/lib/help.cc @@ -0,0 +1,25 @@ +#include "help.h" +#include <boost/bind.hpp> +#include <boost/ref.hpp> + + +Help* Help::_instance = 0; + + +Help* +Help::instance () +{ + if (!_instance) { + _instance = new Help (); + } + + return _instance; +} + + +void +Help::event (EventType e) +{ + emit (boost::bind(boost::ref(Event), e)); +} + |
