X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Findicator.h;h=2b5b2a397f22cf79c11ec1e567fbaad6e9cf0d3a;hb=56c41b294aa47a38ac3e1be70d4868f260cb4274;hp=69e488f0656f8a19551da96cfb3c8781bbfa1a00;hpb=1fde94c15fc65e85f5931a9daf74dd8806e682e0;p=libs%2Fgltk.git diff --git a/source/indicator.h b/source/indicator.h index 69e488f..2b5b2a3 100644 --- a/source/indicator.h +++ b/source/indicator.h @@ -1,13 +1,7 @@ -/* $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_ +#include "mspgltk_api.h" #include "widget.h" namespace Msp { @@ -16,13 +10,12 @@ namespace GLtk { /** An Indicator visualizes a boolean state. It can be either active or inactive. */ -class Indicator: public Widget +class MSPGLTK_API Indicator: public Widget { public: - Indicator(const Resources &); - void set_active(bool); -private: virtual const char *get_class() const { return "indicator"; } + + void set_active(bool); }; } // namespace GLtk