diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-28 05:52:00 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-28 05:52:00 (GMT) |
commit | 39224b0142078376d2bd39789b4de24a18377cf0 (patch) | |
tree | 874755d12b5f0ae395ebc3eae29697237667cd31 /src/FbMenuParser.hh | |
parent | e8a2f155e8d5a082a8c04f291e65c137c20a05cb (diff) | |
download | fluxbox-39224b0142078376d2bd39789b4de24a18377cf0.zip fluxbox-39224b0142078376d2bd39789b4de24a18377cf0.tar.bz2 |
move Parser to FbTk
Diffstat (limited to 'src/FbMenuParser.hh')
-rw-r--r-- | src/FbMenuParser.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/FbMenuParser.hh b/src/FbMenuParser.hh index 53bb130..923347e 100644 --- a/src/FbMenuParser.hh +++ b/src/FbMenuParser.hh | |||
@@ -25,11 +25,11 @@ | |||
25 | #ifndef FBMENUPARSER_HH | 25 | #ifndef FBMENUPARSER_HH |
26 | #define FBMENUPARSER_HH | 26 | #define FBMENUPARSER_HH |
27 | 27 | ||
28 | #include "Parser.hh" | 28 | #include "FbTk/Parser.hh" |
29 | 29 | ||
30 | #include <fstream> | 30 | #include <fstream> |
31 | 31 | ||
32 | class FbMenuParser: public Parser { | 32 | class FbMenuParser: public FbTk::Parser { |
33 | public: | 33 | public: |
34 | FbMenuParser():m_row(0), m_curr_pos(0), m_curr_token(TYPE) {} | 34 | FbMenuParser():m_row(0), m_curr_pos(0), m_curr_token(TYPE) {} |
35 | FbMenuParser(const std::string &filename):m_row(0), m_curr_pos(0), | 35 | FbMenuParser(const std::string &filename):m_row(0), m_curr_pos(0), |
@@ -38,8 +38,8 @@ public: | |||
38 | 38 | ||
39 | bool open(const std::string &filename); | 39 | bool open(const std::string &filename); |
40 | void close() { m_file.close(); } | 40 | void close() { m_file.close(); } |
41 | Parser &operator >> (Parser::Item &out); | 41 | FbTk::Parser &operator >> (FbTk::Parser::Item &out); |
42 | Parser::Item nextItem(); | 42 | FbTk::Parser::Item nextItem(); |
43 | 43 | ||
44 | bool isLoaded() const { return m_file.is_open(); } | 44 | bool isLoaded() const { return m_file.is_open(); } |
45 | bool eof() const { return m_file.eof(); } | 45 | bool eof() const { return m_file.eof(); } |