]> git.tdb.fi Git - builder.git/blobdiff - source/dependencycache.h
Make tools capable of reporting a system-wide path used to locate input files
[builder.git] / source / dependencycache.h
index 701c89ee304e22ff52513a26c5da7cb415246896..a4727aa92160d00e8d1f256bb9b6d4fb8d04b276 100644 (file)
@@ -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();