-/**
- * Make a KeySymbol. Used because we want to
- * generate a toolkit-specific instance.
- */
-KeySymbol * createKeySymbol();
+ ///
+ int key() const { return key_; }
+ ///
+ void setKey(int key) { key_ = key; }
+ ///
+ docstring text() const { return text_; }
+ ///
+ void setText(docstring const & text) { text_ = text; }
+private:
+ /// some platform specific sym value
+ int key_;
+ /// the event string value
+ docstring text_;
+};