]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/indicator.h
Add API declarations
[libs/gltk.git] / source / indicator.h
index cf20e3138f29618ff0a98eca5d7637324de70d16..2b5b2a397f22cf79c11ec1e567fbaad6e9cf0d3a 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MSP_GLTK_INDICATOR_H_
 #define MSP_GLTK_INDICATOR_H_
 
+#include "mspgltk_api.h"
 #include "widget.h"
 
 namespace Msp {
@@ -9,11 +10,9 @@ 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"; }
 
        void set_active(bool);