X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fcounters.h;h=9d50608493b22dddc44b46386e92feccb25486eb;hb=53c5edb99e5566fd7c0a1192a697b7b7796919d8;hp=19014cc6fceb0b580eff76fe3fac767f9ee3b464;hpb=0b1b6dfa4ed99f2b7c2a36cb56dcbb9d5553ac33;p=lyx.git diff --git a/src/counters.h b/src/counters.h index 19014cc6fc..9d50608493 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-2000 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_;