X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffiletarget.h;h=7d42c91c06e67b7fbe2a97e4bf9b3542f5be810d;hb=20be24789dbfb2acd3f8d2076a6b19ff6a2451ee;hp=52551e4ed90de64540c3bbc1f5084cf9a40513e5;hpb=43bd25ffcb0b4f7882773f4676b209a99cb73c04;p=builder.git diff --git a/source/filetarget.h b/source/filetarget.h index 52551e4..7d42c91 100644 --- a/source/filetarget.h +++ b/source/filetarget.h @@ -15,7 +15,7 @@ protected: Msp::Time::TimeStamp mtime; unsigned size; - FileTarget(Builder &, const Package *, const Msp::FS::Path &); + FileTarget(Builder &, 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,6 +28,8 @@ public: protected: virtual void check_rebuild(); +private: + static std::string generate_name(const SourcePackage *, const Msp::FS::Path &); }; #endif