X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcounters.h;h=bcd900476c7466abf2e8bdb879f452b601d08f2d;hb=55bb299483e54a48d029703c27e1881aa90b4548;hp=19014cc6fceb0b580eff76fe3fac767f9ee3b464;hpb=0b1b6dfa4ed99f2b7c2a36cb56dcbb9d5553ac33;p=lyx.git diff --git a/src/counters.h b/src/counters.h index 19014cc6fc..bcd900476c 100644 --- a/src/counters.h +++ b/src/counters.h @@ -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 #include #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 onstep; + SigC::Signal0 onstep; private: /// int value_;