00001 #ifndef HEADER_KEYDESC_H 00002 #define HEADER_KEYDESC_H 00003 00004 #include <string> 00005 00006 /** 00007 * Description of control key. 00008 */ 00009 class KeyDesc { 00010 private: 00011 int m_index; 00012 std::string m_desc; 00013 public: 00014 KeyDesc(int index, const std::string &desc); 00015 00016 int getIndex() const { return m_index; } 00017 std::string getDesc() const { return m_desc; } 00018 }; 00019 00020 #endif