aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/TypeAhead.hh
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2007-12-29 21:38:53 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2007-12-29 21:38:53 (GMT)
commite1f362ae764884a4cd1e1673292cb37d5a85f89c (patch)
tree137430b26aee6f3638f27281d3757c2c75ef4b20 /src/FbTk/TypeAhead.hh
parente90c3678d9e54bc9251619fdee2d7341f042167b (diff)
downloadfluxbox_paul-e1f362ae764884a4cd1e1673292cb37d5a85f89c.zip
fluxbox_paul-e1f362ae764884a4cd1e1673292cb37d5a85f89c.tar.bz2
'inline' in class declaration is implicitly inline
Diffstat (limited to 'src/FbTk/TypeAhead.hh')
-rw-r--r--src/FbTk/TypeAhead.hh8
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
31template <typename Items, typename Item_Type> 31template <typename Items, typename Item_Type>
32class TypeAhead { 32class TypeAhead {
33/* 33#if 0
34 34
35a class template can't be split into separate interface + implementation files, an interface summary is given here: 35a 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
70public: 70public:
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())