X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Findicator.h;h=90c920c574100ea190166180ea7a3858dfa0888e;hb=HEAD;hp=fdc83b415ed6f89b904bb19281d0f7d7c69c8fdc;hpb=2bdaf4955fdb94e73704adcdcf0adc2b353f0ff0;p=libs%2Fgltk.git diff --git a/source/indicator.h b/source/indicator.h index fdc83b4..9ec9f33 100644 --- a/source/indicator.h +++ b/source/indicator.h @@ -1,13 +1,7 @@ -/* $Id$ - -This file is part of libmspgltk -Copyright © 2007, 2010-2011 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,12 +10,10 @@ 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(); - - virtual const char *get_class() const { return "indicator"; } + const char *get_class() const override { return "indicator"; } void set_active(bool); };