]> git.tdb.fi Git - builder.git/blobdiff - source/filetarget.h
Don't store component locally in object and source files
[builder.git] / source / filetarget.h
index 32092d0db05efd1bc428489684597db474215c9e..22df5206fa6ada3b71af375e3e8f8807904338fc 100644 (file)
@@ -15,7 +15,10 @@ protected:
        Msp::Time::TimeStamp mtime;
        unsigned size;
 
-       FileTarget(Builder &, const Package *, const Msp::FS::Path &);
+       FileTarget(Builder &, const SourcePackage *, const Msp::FS::Path &);
+private:
+       static std::string generate_name(const SourcePackage *, const Msp::FS::Path &);
+
 public:
        const Msp::FS::Path &get_path() const { return path; }
        const Msp::Time::TimeStamp &get_mtime() const { return mtime; }
@@ -28,8 +31,6 @@ public:
 
 protected:
        virtual void check_rebuild();
-private:
-       static std::string generate_name(const Package *, const Msp::FS::Path &);
 };
 
 #endif