]> git.tdb.fi Git - builder.git/blob - source/datapack.h
Make use of Task's file affinity and unlinking capabilities in Copy
[builder.git] / source / datapack.h
1 #ifndef DATAPACK_H_
2 #define DATAPACK_H_
3
4 #include "filetarget.h"
5
6 class DataPack: public FileTarget
7 {
8 public:
9         typedef std::list<FileTarget *> FileList;
10 private:
11         FileList files;
12
13 public:
14         DataPack(Builder &, const Component &, const std::list<FileTarget *> &);
15 private:
16         static Msp::FS::Path generate_target_path(const Component &);
17
18 public:
19         virtual const char *get_type() const { return "DataPack"; }
20
21         const FileList &get_files() const { return files; }
22 };
23
24 #endif