X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Findicator.h;h=cf20e3138f29618ff0a98eca5d7637324de70d16;hb=c8291177b545ec81930603a5915234a60296db51;hp=ce95151665e30bd7048fa1b2808d471941470132;hpb=91997dd3189b93a67179822ec2fed5f2a7bddb74;p=libs%2Fgltk.git diff --git a/source/indicator.h b/source/indicator.h index ce95151..cf20e31 100644 --- a/source/indicator.h +++ b/source/indicator.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgltk -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_GLTK_INDICATOR_H_ #define MSP_GLTK_INDICATOR_H_ @@ -20,9 +13,10 @@ class Indicator: public Widget { public: Indicator(); - void set_active(bool); -private: + virtual const char *get_class() const { return "indicator"; } + + void set_active(bool); }; } // namespace GLtk