+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
#include <fstream>
#include <msp/core/error.h>
#include <msp/path/utils.h>
#include <msp/time/utils.h>
#include "builder.h"
#include "config.h"
-#include "package.h"
+#include "sourcepackage.h"
using namespace std;
using namespace Msp;
-Config::Config(Package &p):
+Config::Config(SourcePackage &p):
package(p),
freeze_mtime(false)
{ }
Path::stat(fn, st);
mtime=Time::TimeStamp::from_unixtime(st.st_mtime);
- Parser::Parser parser(in, fn.str());
+ DataFile::Parser parser(in, fn.str());
Loader loader(*this);
loader.load(parser);
}