]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/control.h
Discard the EventSource abstraction
[libs/gui.git] / source / input / control.h
index 1d8c50a06bd84040dc17f50c155b1997a733c0c2..924bbeca39024f3c0ed615c17d986cffa7ce7eb5 100644 (file)
@@ -1,12 +1,5 @@
-/* $Id$
-
-This file is part of libmspgbase
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
-#ifndef MSP_GBASE_CONTROL_H_
-#define MSP_GBASE_CONTROL_H_
+#ifndef MSP_INPUT_CONTROL_H_
+#define MSP_INPUT_CONTROL_H_
 
 #include <string>
 #include <sigc++/signal.h>
@@ -70,9 +63,9 @@ public:
        void set_source(const ControlSource &);
        const ControlSource &get_source() const { return src; }
 protected:
-       virtual void on_press() =0;
-       virtual void on_release() =0;
-       virtual void on_motion(float, float) =0;
+       virtual void on_press() = 0;
+       virtual void on_release() = 0;
+       virtual void on_motion(float, float) = 0;
 
 private:
        void connect_signals();