X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Findicator.h;h=9ec9f33c8c2a1fa41f3048ae669e7b06ce2383b4;hb=90d5f5f2ebaeb8aaa4aa47a0c2207f96758cba8c;hp=90c920c574100ea190166180ea7a3858dfa0888e;hpb=4b52d16bc895f9d969383d7a7d6a3558c1972cc5;p=libs%2Fgltk.git diff --git a/source/indicator.h b/source/indicator.h index 90c920c..9ec9f33 100644 --- a/source/indicator.h +++ b/source/indicator.h @@ -1,6 +1,7 @@ #ifndef MSP_GLTK_INDICATOR_H_ #define MSP_GLTK_INDICATOR_H_ +#include "mspgltk_api.h" #include "widget.h" namespace Msp { @@ -9,10 +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: - virtual const char *get_class() const { return "indicator"; } + const char *get_class() const override { return "indicator"; } void set_active(bool); };