]> git.lyx.org Git - lyx.git/blobdiff - src/counters.h
dont delere recursively, return a value from event_cb
[lyx.git] / src / counters.h
index 19014cc6fceb0b580eff76fe3fac767f9ee3b464..bcd900476c7466abf2e8bdb879f452b601d08f2d 100644 (file)
@@ -1,20 +1,29 @@
 // -*- C++ -*-
+/* This file is part of
+ * ====================================================== 
+ * 
+ *           LyX, The Document Processor
+ *
+ *           Copyright 1995 Matthias Ettrich
+ *           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
-
-
 ///
-class Counter : public Object {
+class Counter : public SigC::Object {
 public:
        ///
        Counter();
@@ -29,7 +38,7 @@ public:
        ///
        void reset();
        ///
-       Signal0<void> onstep;
+       SigC::Signal0<void> onstep;
 private:
        ///
        int value_;