X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Faction.h;h=96e8e87c9ccb5bad1390aaea4ee77ae6178a736d;hb=64482766268cddae393da1277987de31e69ffdd9;hp=6565f694827db9b574ee5cd450bf7c8c3dcfa066;hpb=143b369c0308a8cd524cb0ed51c5d67d6be69603;p=architektonas diff --git a/src/action.h b/src/action.h index 6565f69..96e8e87 100644 --- a/src/action.h +++ b/src/action.h @@ -1,7 +1,7 @@ #ifndef __ACTION_H__ #define __ACTION_H__ -#include +#include #include "vector.h" class Object; @@ -21,9 +21,12 @@ class Action: public QObject virtual void MouseDown(Vector) = 0; virtual void MouseMoved(Vector) = 0; virtual void MouseReleased(void) = 0; + virtual bool KeyDown(int) = 0; + virtual bool KeyReleased(int) = 0; signals: void ObjectReady(Object *); }; #endif // __ACTION_H__ +