]> git.lyx.org Git - lyx.git/blobdiff - src/counters.h
redraw fix 1.
[lyx.git] / src / counters.h
index fcfeef73dc30be5a64b92f942eda41789d71d2d9..7f73d4eb1f34f82e4d3affee9bf62f4d4a9905a3 100644 (file)
@@ -1,35 +1,32 @@
 // -*- 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.
  *
  *
  * ====================================================== */
 
 
 #ifndef COUNTERS_H
-#define COUTNERS_H
+#define COUNTERS_H
 
 #ifdef __GNUG__
 #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_;