]> git.lyx.org Git - lyx.git/blobdiff - src/counters.h
rename Inset to InsetOld
[lyx.git] / src / counters.h
index 69c4983be810e318b611d813671966d9e2bae068..da7bf4467d6728aaafcdb182adb9636d1c064c94 100644 (file)
 #ifndef COUNTERS_H
 #define COUNTERS_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "LString.h"
 #include <map>
-#include <vector>
+
 
 /// This represents a single counter.
 class Counter {
@@ -41,9 +37,8 @@ public:
        string master() const;
        /// sets the master counter for this counter
        void setMaster(string const & m);
-       ///
-
 private:
+       ///
        int value_;
        /// contains master counter name; master counter is the counter
        /// that, if stepped (incremented) zeroes this counter. E.g.
@@ -56,10 +51,6 @@ private:
 /// Every instantiation is an array of counters of type Counter.
 class Counters {
 public:
-       ///
-       Counters();
-       ///
-       //~Counters();
        /// Add a new counter to array.
        void newCounter(string const & newc);
        /// Add new counter having oldc as its master.
@@ -96,10 +87,6 @@ public:
                        string const & labeltype,
                        string const & langtype = "latin",
                        int head = 0);
-       /// Maps numbers to enumeration of sectioning counter name strings.
-       std::vector<string> enums;
-       std::vector<string> sects;
-
 private:
        /// Maps counter (layout) names to actual counters.
        typedef std::map<string, Counter> CounterList;