aboutsummaryrefslogtreecommitdiff
path: root/src/FbMenuParser.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbMenuParser.hh')
-rw-r--r--src/FbMenuParser.hh8
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
32class FbMenuParser: public Parser { 32class FbMenuParser: public FbTk::Parser {
33public: 33public:
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(); }