]> git.tdb.fi Git - builder.git/blobdiff - source/dependencycache.h
Split class Package into SourcePackage and BinaryPackage
[builder.git] / source / dependencycache.h
index 5cde40d919ce0d759a2ab1c862ad0818ce8d912f..f182f31c1a017e6e1f6fe58fcd6ba6929cc0eff1 100644 (file)
@@ -21,7 +21,7 @@ strings as value.  The targets are free to store whatever they want here.
 class DependencyCache
 {
 public:
-       DependencyCache(Package &p);
+       DependencyCache(SourcePackage &p);
        void             set_deps(const std::string &tgt, const StringList &d);
        const StringList &get_deps(const std::string &tgt) const;
        const Msp::Time::TimeStamp &get_mtime() const { return mtime; }
@@ -30,7 +30,7 @@ public:
 private:
        typedef std::map<std::string, StringList> DepsMap;
 
-       Package &package;
+       SourcePackage &package;
        DepsMap deps;
        Msp::Time::TimeStamp mtime;
        bool changed;