Work on an input field.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@272 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-02-13 21:47:26 +00:00
parent aec27deaeb
commit 73b1c58f4c
19 changed files with 313 additions and 25 deletions
+8
View File
@@ -6,6 +6,7 @@
namespace input {
class Bindings;
class TextInput;
class Manager : private std::list<Bindings*> {
public:
@@ -24,11 +25,18 @@ public:
using Base::push_back;
using Base::push_front;
Manager() : m_textInput(NULL) {}
void erase(Bindings* b);
void pressed(int key);
void set_text_input(TextInput* input = NULL) { m_textInput = input; }
// Slot for unreacted keys.
private:
TextInput* m_textInput;
};
}