X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tool%2Fcompiler.h;h=1e7907add5174aa16a79e36d6bf06ae003ea76d3;hb=ae5c70255ce06515224299985672c540d0b237a7;hp=f77f04bdab2569ded7a82ba9520ac46e861f195d;hpb=52e6bd3e02522f68166c70f83d2ef3d7cf0c15ff;p=libs%2Fdatafile.git diff --git a/tool/compiler.h b/tool/compiler.h index f77f04b..1e7907a 100644 --- a/tool/compiler.h +++ b/tool/compiler.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspdatafile -Copyright © 2008 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef TOOL_COMPILER_H_ #define TOOL_COMPILER_H_ @@ -20,6 +13,7 @@ class Compiler: public Msp::DataFile::Loader private: Msp::DataFile::Writer &writer; + bool reset_src; public: Compiler(Msp::DataFile::Writer &); @@ -33,6 +27,7 @@ private: void process_file(const Msp::FS::Path &); }; + class File: public Msp::DataFile::Loader { private: @@ -48,6 +43,7 @@ private: void write(const Msp::DataFile::Statement &); }; + class ForEach: public Msp::DataFile::Loader { private: