fixup! First hacks on OOBE help.
[dcpomatic.git] / src / lib / help.cc
1 #include "help.h"
2 #include <boost/bind.hpp>
3 #include <boost/ref.hpp>
4
5
6 Help* Help::_instance = 0;
7
8
9 Help*
10 Help::instance ()
11 {
12         if (!_instance) {
13                 _instance = new Help ();
14         }
15
16         return _instance;
17 }
18
19
20 void
21 Help::event (EventType e)
22 {
23         emit (boost::bind(boost::ref(Event), e));
24 }
25