- Main Page
- Related Pages
- Classes
- Files

- File List

# src/GpuQuadraticCurveRender/IKeyboardListener.h

Go to the documentation of this file.

    00001
    00002
    00003
    00004
    00005
    00006
    00007
    00008
    00009
    00010
    00011
    00012
    00013
    00014
    00015
    00016
    00017
    00018
    00019
    00020
    00025 #ifndef _I_KEYBOARD_LISTENER_H_
    00026 #define _I_KEYBOARD_LISTENER_H_
    00027
    00028 namespace GlutWrapper
    00029 {
    00030
    00031 enum Key
    00032 {
    00033         BackSpace = 8,
    00034         Enter = 13,
    00035         Escape = 27,
    00036         Delete = 127
    00037 };
    00038
    00041 class IKeyboardListener
    00042 {
    00043 public:
    00046         virtual void ProcessNormalKeys(unsigned char key) = 0;
    00047
    00048 protected:
    00050         IKeyboardListener(void){};
    00051
    00053         virtual ~IKeyboardListener(void) = 0 {};
    00054
    00055 private:
    00057         IKeyboardListener(const IKeyboardListener&);
    00058
    00060         IKeyboardListener& operator=(const IKeyboardListener&);
    00061 };
    00062
    00063 }
    00064
    00065 #endif