X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Faction.h;h=96e8e87c9ccb5bad1390aaea4ee77ae6178a736d;hb=11cff81f10ccca1b31288fce04d696e715b922b0;hp=6565f694827db9b574ee5cd450bf7c8c3dcfa066;hpb=fc498c685147e3173130e2df8953cc52705553e9;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__ +