X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffiletarget.h;h=7d42c91c06e67b7fbe2a97e4bf9b3542f5be810d;hb=20be24789dbfb2acd3f8d2076a6b19ff6a2451ee;hp=3d4d004d9611c6e39316a39c1175bec8a3a9afa8;hpb=20994a6f4802f2dbcf01888d0e1996edf554ade5;p=builder.git diff --git a/source/filetarget.h b/source/filetarget.h index 3d4d004..7d42c91 100644 --- a/source/filetarget.h +++ b/source/filetarget.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of builder -Copyright © 2009 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef FILETARGET_H_ #define FILETARGET_H_ @@ -22,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; } @@ -35,6 +28,8 @@ public: protected: virtual void check_rebuild(); +private: + static std::string generate_name(const SourcePackage *, const Msp::FS::Path &); }; #endif