Hooked the input to the torrent loader.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@274 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-02-14 18:24:21 +00:00
parent 73b1c58f4c
commit 1f58b0074b
6 changed files with 51 additions and 28 deletions
+5 -3
View File
@@ -17,13 +17,15 @@ public:
TextInput() : m_pos(0), m_alt(false) {}
size_type get_pos() { return m_pos; }
size_type get_pos() { return m_pos; }
bool pressed(int key);
void clear() { m_pos = 0; m_alt = false; Base::clear(); }
void clear() { m_pos = 0; m_alt = false; Base::clear(); }
void slot_dirty(SlotDirty s) { m_slotDirty = s; }
void slot_dirty(SlotDirty s) { m_slotDirty = s; }
const std::string& str() { return *this; }
private:
size_type m_pos;