X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fcounters.h;h=da7bf4467d6728aaafcdb182adb9636d1c064c94;hb=5d3718cad2a2ef6a4d6a495054ab0705ba27b6b5;hp=69c4983be810e318b611d813671966d9e2bae068;hpb=83f4b0018ebf8a7566d11d74ad2eb84add5b7984;p=lyx.git diff --git a/src/counters.h b/src/counters.h index 69c4983be8..da7bf4467d 100644 --- a/src/counters.h +++ b/src/counters.h @@ -14,13 +14,9 @@ #ifndef COUNTERS_H #define COUNTERS_H -#ifdef __GNUG__ -#pragma interface -#endif - #include "LString.h" #include -#include + /// 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 enums; - std::vector sects; - private: /// Maps counter (layout) names to actual counters. typedef std::map CounterList;