7 #include <sigc++/signal_system.h>
10 #ifdef SIGC_CXX_NAMESPACES
17 class Counter : public Object {
39 /** This is a class of (La)TeX type counters. The counters is in a text
40 Style and can be reset by signals emitted from a single counter.
47 void newCounter(string const & newc);
49 void newCounter(string const & newc, string const & oldc);
51 void set(string const & ctr, int val);
53 void addto(string const & ctr, int val);
55 int value(string const & ctr) const;
57 void step(string const & ctr);
58 // string refstep(string const & cou);
61 typedef std::map<string, Counter*> CounterList;
63 CounterList counterList;