X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fconfig.cpp;h=0e8e6c2c742c29ea52ee887aed7b04f5472b0427;hb=c679a9dd1a97ae3b1ffa568143d42d02c2ca9e74;hp=e7207ce8a249151a112afe6b6a4f393a7de82b9b;hpb=445edbc3c42bbd7880cc414cf153ddfd196bfc1c;p=builder.git diff --git a/source/config.cpp b/source/config.cpp index e7207ce..0e8e6c2 100644 --- a/source/config.cpp +++ b/source/config.cpp @@ -1,15 +1,22 @@ +/* $Id$ + +This file is part of builder +Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + #include #include #include #include #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) { } @@ -207,7 +214,7 @@ void Config::load() 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); }