]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/hub.h
Add decorations for things which should be exported from the library
[libs/gui.git] / source / input / hub.h
index 1abff37a18cc52cc10b6fa20db170f79a91c3a3b..aadfcd7f5b0a87752b9e623d354f29bcf0403ec5 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <vector>
 #include <sigc++/trackable.h>
+#include <msp/graphics/mspgui_api.h>
 #include "device.h"
 
 namespace Msp {
@@ -12,7 +13,7 @@ namespace Input {
 The Hub device collects events from multiple input devices and presents an
 aggregate of them.  Button and axis numbers are mapped to unique values.
 */
-class Hub: public Device, public sigc::trackable
+class MSPGUI_API Hub: public Device, public sigc::trackable
 {
 protected:
        std::vector<Device *> devices;