X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fdependencycache.h;h=a4727aa92160d00e8d1f256bb9b6d4fb8d04b276;hb=4facd021514ab372c23b1b132d6b4b62baa4efbf;hp=701c89ee304e22ff52513a26c5da7cb415246896;hpb=242c55b17e6608b29a77ca17a5b677e202a3ca90;p=builder.git diff --git a/source/dependencycache.h b/source/dependencycache.h index 701c89e..a4727aa 100644 --- a/source/dependencycache.h +++ b/source/dependencycache.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of builder -Copyright © 2007, 2009 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef DEPENDENCYCACHE_H_ #define DEPENDENCYCACHE_H_ @@ -30,7 +23,9 @@ private: public: DependencyCache(SourcePackage &p); + void set_deps(const std::string &tgt, const StringList &d); + bool has_deps(const std::string &tgt) const; const StringList &get_deps(const std::string &tgt) const; const Msp::Time::TimeStamp &get_mtime() const { return mtime; } void load();