X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FTuto_Image_Cuda%2Fsrc%2Fcpp%2Fcore%2F03_Event%2Fgl%2Flistener%2Fkey%2FSimpleKeyListener.h;fp=WCudaMSE%2FTuto_Image_Cuda%2Fsrc%2Fcpp%2Fcore%2F03_Event%2Fgl%2Flistener%2Fkey%2FSimpleKeyListener.h;h=5953f3134800ad5f3b4477841e5da7010adaff85;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/Tuto_Image_Cuda/src/cpp/core/03_Event/gl/listener/key/SimpleKeyListener.h b/WCudaMSE/Tuto_Image_Cuda/src/cpp/core/03_Event/gl/listener/key/SimpleKeyListener.h new file mode 100755 index 0000000..5953f31 --- /dev/null +++ b/WCudaMSE/Tuto_Image_Cuda/src/cpp/core/03_Event/gl/listener/key/SimpleKeyListener.h @@ -0,0 +1,45 @@ +#ifndef SIMPLE_KEY_LISTENER_H +#define SIMPLE_KEY_LISTENER_H + +#include "KeyListener_I.h" + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +class SimpleKeyListener: public KeyListener_I + { + public: + + /*--------------------------------------*\ + |* Constructor *| + \*-------------------------------------*/ + + SimpleKeyListener(); + virtual ~SimpleKeyListener(); + + public: + + /*--------------------------------------*\ + |* Methodes *| + \*-------------------------------------*/ + + void onKeyPressed(const KeyEvent& event); // override + + /*--------------------------------------*\ + |* Attributs *| + \*-------------------------------------*/ + + private: + + }; + +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/