X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finstalledfile.h;h=9e886d580a00976672dcd125742adb5234643380;hb=HEAD;hp=6c6a933d5767ba33bc4c2f0e75e9ffebfd01f144;hpb=8fa75f16e653e22f188bc09c5d04c3cdb5cf8c52;p=builder.git diff --git a/source/installedfile.h b/source/installedfile.h deleted file mode 100644 index 6c6a933..0000000 --- a/source/installedfile.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef INSTALLEDFILE_H_ -#define INSTALLEDFILE_H_ - -#include "sourcepackage.h" -#include "filetarget.h" - -/** -Represents the installation of a file. -*/ -class InstalledFile: public FileTarget -{ -private: - FileTarget &source; - Msp::FS::Path link; - -public: - InstalledFile(Builder &, const SourcePackage &, FileTarget &, const std::string & =std::string()); - virtual const char *get_type() const { return "InstalledFile"; } - FileTarget &get_source() const { return source; } - const Msp::FS::Path &get_symlink() const { return link; } - virtual Target *get_real_target(); -private: - virtual void check_rebuild(); - - static Msp::FS::Path generate_target_path(const FileTarget &i, const std::string &); -}; - -#endif