]> Dogcows Code - chaz/yoink/blobdiff - src/dispatcher.hh
big batch of progress
[chaz/yoink] / src / dispatcher.hh
index e45e88ed926d20e1c438823b2fb16a3690e84503..1a7744ae1f8aa689a6506946ee9c0a6738445060 100644 (file)
 #ifndef _DISPATCHER_HH_
 #define _DISPATCHER_HH_
 
-/**
- * @file dispatcher.hh
- * Dispatching of information.
- */
-
 #include <string>
 
 #include <boost/shared_ptr.hpp>
 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<dispatcher>
 {
@@ -74,6 +74,7 @@ public:
        void dispatch(const std::string& message, const notification& param);
 
 private:
+       class dispatcher_impl;
        boost::shared_ptr<dispatcher_impl> impl;
 };
 
@@ -82,3 +83,5 @@ private:
 
 #endif // _DISPATCHER_HH_
 
+/** vim: set ts=4 sw=4 tw=80: *************************************************/
+
This page took 0.020143 seconds and 4 git commands to generate.