]> git.lyx.org Git - lyx.git/blobdiff - src/counters.h
some more changes
[lyx.git] / src / counters.h
index fc0e82a2ac704e31033f32ed145f0722f2c193d8..7f73d4eb1f34f82e4d3affee9bf62f4d4a9905a3 100644 (file)
@@ -1,11 +1,11 @@
 // -*- C++ -*-
 /* This file is part of
- * ====================================================== 
- * 
+ * ======================================================
+ *
  *           LyX, The Document Processor
  *
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
  *
  * ====================================================== */
 #pragma interface
 #endif
 
-#include <map>
-#include <sigc++/signal_system.h>
 #include "LString.h"
 
-#ifdef SIGC_CXX_NAMESPACES
-using SigC::Object;
-using SigC::Signal0;
-#endif
+#include <boost/signals/signal0.hpp>
+#include <boost/signals/trackable.hpp>
 
+#include <map>
 
 ///
-class Counter : public Object {
+class Counter : public boost::trackable {
 public:
        ///
        Counter();
@@ -44,7 +41,7 @@ public:
        ///
        void reset();
        ///
-       Signal0<void> onstep;
+       boost::signal0<void> onstep;
 private:
        ///
        int value_;