]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/control.h
Add a missing include
[libs/gui.git] / source / input / control.h
index f7146b47f4502345d8d00a01988fb4b36cc78f3c..5b435dcf0a1f478ee0994657998bd87e09eaec9e 100644 (file)
@@ -8,6 +8,7 @@ Distributed under the LGPL
 #ifndef MSP_GBASE_CONTROL_H_
 #define MSP_GBASE_CONTROL_H_
 
+#include <string>
 #include <sigc++/signal.h>
 #include <sigc++/trackable.h>
 
@@ -67,6 +68,8 @@ public:
 
        void capture(Device &);
        void cancel_capture();
+       void set_source(Device &, ControlSrcType, unsigned);
+       void set_source(const ControlSource &);
        const ControlSource &get_source() const { return src; }
 protected:
        virtual void on_press() =0;