X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftextparser.h;h=1eec9c6f0e8a97fe4a8adcf015277b95e0cd937f;hb=616f6fa9d983da10bf323c45d7a44d94c5a09f1e;hp=7d92c58a4c95922e1b9b769bad83bbf7672be57c;hpb=215e719d0ef85f748898660d15d01e77ac551de9;p=libs%2Fdatafile.git diff --git a/source/textparser.h b/source/textparser.h index 7d92c58..1eec9c6 100644 --- a/source/textparser.h +++ b/source/textparser.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspdatafile -Copyright © 2007-2008 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_DATAFILE_TEXTPARSER_H_ #define MSP_DATAFILE_TEXTPARSER_H_ @@ -13,7 +6,7 @@ Distributed under the LGPL namespace Msp { namespace DataFile { -class Token; +struct Token; class TextParser: public ParserMode { @@ -24,10 +17,9 @@ public: protected: Statement parse_statement(const Token *); Token parse_token(); - bool is_delimiter(int); - bool isodigit(int); - std::string get_location(); - void parse_error(int, const char *); + bool is_delimiter(int); + bool isodigit(int); + static std::string base64_decode(const std::string &); }; } // namespace DataFile