X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fdispatcher.hh;h=1a7744ae1f8aa689a6506946ee9c0a6738445060;hp=e45e88ed926d20e1c438823b2fb16a3690e84503;hb=7d15b919681bb9ec0088b4b27c6abf62d6dfb9b1;hpb=0fffd0097d7b496454413e57b398c903ecc252e4 diff --git a/src/dispatcher.hh b/src/dispatcher.hh index e45e88e..1a7744a 100644 --- a/src/dispatcher.hh +++ b/src/dispatcher.hh @@ -29,11 +29,6 @@ #ifndef _DISPATCHER_HH_ #define _DISPATCHER_HH_ -/** - * @file dispatcher.hh - * Dispatching of information. - */ - #include #include @@ -45,7 +40,10 @@ namespace dc { -// Subclass this to create more specific notes to dispatch. +/** + * Interface for a notification class. + */ + class notification { public: @@ -53,7 +51,9 @@ public: }; -class dispatcher_impl; +/** + * Dispatcher of notifications to interested parties. + */ class dispatcher : public singleton { @@ -74,6 +74,7 @@ public: void dispatch(const std::string& message, const notification& param); private: + class dispatcher_impl; boost::shared_ptr impl; }; @@ -82,3 +83,5 @@ private: #endif // _DISPATCHER_HH_ +/** vim: set ts=4 sw=4 tw=80: *************************************************/ +