diff options
Diffstat (limited to 'src/FbTk/TypeAhead.hh')
-rw-r--r-- | src/FbTk/TypeAhead.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/FbTk/TypeAhead.hh b/src/FbTk/TypeAhead.hh index b28c803..3b7c077 100644 --- a/src/FbTk/TypeAhead.hh +++ b/src/FbTk/TypeAhead.hh | |||
@@ -30,7 +30,7 @@ namespace FbTk { | |||
30 | 30 | ||
31 | template <typename Items, typename Item_Type> | 31 | template <typename Items, typename Item_Type> |
32 | class TypeAhead { | 32 | class TypeAhead { |
33 | /* | 33 | #if 0 |
34 | 34 | ||
35 | a class template can't be split into separate interface + implementation files, an interface summary is given here: | 35 | a class template can't be split into separate interface + implementation files, an interface summary is given here: |
36 | 36 | ||
@@ -38,7 +38,7 @@ public: | |||
38 | void init(Items const &items); | 38 | void init(Items const &items); |
39 | 39 | ||
40 | // accessors: | 40 | // accessors: |
41 | inline int stringSize() const { return m_searchstr.size(); } | 41 | int stringSize() const { return m_searchstr.size(); } |
42 | Items matched() const; | 42 | Items matched() const; |
43 | 43 | ||
44 | // modifiers: | 44 | // modifiers: |
@@ -65,7 +65,7 @@ private: | |||
65 | void doSearch(char to_test, | 65 | void doSearch(char to_test, |
66 | BaseItems const &search, | 66 | BaseItems const &search, |
67 | SearchResult &mySearchResult) const; | 67 | SearchResult &mySearchResult) const; |
68 | */ | 68 | #endif |
69 | 69 | ||
70 | public: | 70 | public: |
71 | typedef std::vector < ITypeAheadable* > BaseItems; | 71 | typedef std::vector < ITypeAheadable* > BaseItems; |
@@ -75,7 +75,7 @@ public: | |||
75 | 75 | ||
76 | void init(Items const &items) { m_ref = &items; } | 76 | void init(Items const &items) { m_ref = &items; } |
77 | 77 | ||
78 | inline size_t stringSize() const { return m_searchstr.size(); } | 78 | size_t stringSize() const { return m_searchstr.size(); } |
79 | 79 | ||
80 | void seek() { | 80 | void seek() { |
81 | if (!m_search_results.empty()) | 81 | if (!m_search_results.empty()) |