X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FDispatcher.hh;h=5747f8581ddbc3622eed9be8ce5c3f0eebd03293;hp=ec143b46fdce105a7021f79cc4a2ecb1027144f4;hb=4701bf580b75a7d77a460c6f14f9fc31fb109bbb;hpb=bfa6212d09d8735d8fd5e2638188e4a99f21ada4 diff --git a/src/Moof/Dispatcher.hh b/src/Moof/Dispatcher.hh index ec143b4..5747f85 100644 --- a/src/Moof/Dispatcher.hh +++ b/src/Moof/Dispatcher.hh @@ -59,7 +59,7 @@ class Dispatcher : public Singleton { public: typedef void* Handler; - typedef boost::function Function; + typedef boost::function Function; Dispatcher(); @@ -69,12 +69,11 @@ public: void removeHandler(Handler id); - void dispatch(const std::string& message); - void dispatch(const std::string& message, const Notification& param); + void dispatch(const std::string& message, const Notification* param = 0); private: - class DispatcherImpl; - boost::shared_ptr impl_; + class Impl; + boost::shared_ptr impl_; };