]> Dogcows Code - chaz/yoink/blobdiff - src/moof/dispatcher.hh
remove some unused stlplus modules
[chaz/yoink] / src / moof / dispatcher.hh
index a4207c42170bffd68ee1a48713e857b9430c911b..f2613e8fdeb2d11aba27b51c7758ef3e6fbdd989 100644 (file)
@@ -1,13 +1,11 @@
 
-/*]  Copyright (c) 2009-2010, Charles McGarvey  [**************************
+/*]  Copyright (c) 2009-2011, Charles McGarvey  [*****************************
 **]  All rights reserved.
 *
-* vi:ts=4 sw=4 tw=75
-*
 * Distributable under the terms and conditions of the 2-clause BSD license;
 * see the file COPYING for a complete text of the license.
 *
-**************************************************************************/
+*****************************************************************************/
 
 #ifndef _MOOF_DISPATCH_HH_
 #define _MOOF_DISPATCH_HH_
@@ -31,7 +29,6 @@ namespace moof {
 /**
  * Dispatcher of messages to interested parties.
  */
-
 class dispatcher
 {
        class impl;
@@ -39,7 +36,6 @@ class dispatcher
 
        void remove_target(unsigned id);
 
-
 public:
 
        class handle
@@ -84,17 +80,16 @@ public:
        private:
 
                boost::weak_ptr<impl>   dispatcher_;
-               mutable unsigned                id_;
+               mutable unsigned        id_;
        };
 
        typedef boost::function<void(void)> function;
 
-
        dispatcher();
 
        handle add_target(const std::string& event, const function& callback);
        handle add_target(const std::string& event, const function& callback,
-                                          handle handle);
+                       handle handle);
 
        void dispatch(const std::string& event);
 
This page took 0.023328 seconds and 4 git commands to generate.