]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/binaryparser.h
Refactor symbol handling in binary format
[libs/datafile.git] / source / binaryparser.h
index 12340e55835096e9a4a4f74afe2d75493b2b6cbe..4f33d954602d3c5454f1cd8d8729a2d674cc6a3e 100644 (file)
@@ -1,16 +1,10 @@
-/* $Id$
-
-This file is part of libmspdatafile
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_DATAFILE_BINARYPARSER_H_
 #define MSP_DATAFILE_BINARYPARSER_H_
 
 #include <map>
 #include "binarydict.h"
 #include "parsermode.h"
+#include "type.h"
 
 namespace Msp {
 namespace DataFile {
@@ -38,8 +32,7 @@ private:
        float parse_float();
        std::string parse_string();
        bool parse_bool();
-       std::string parse_enum();
-       const std::string &lookup_string(unsigned) const;
+       Symbol parse_symbol();
 };
 
 } // namespace DataFile