]> git.tdb.fi Git - builder.git/blob - source/tar.h
Redesign how tools are run
[builder.git] / source / tar.h
1 #ifndef TAR_H_
2 #define TAR_H_
3
4 #include "tool.h"
5
6 class TarBall;
7
8 class Tar: public Tool
9 {
10 public:
11         Tar(Builder &);
12
13         Target *create_target(const std::vector<Target *> &, const std::string &) override;
14
15 private:
16         static bool _run(const TarBall &);
17         static void store_number(char *, unsigned, unsigned);
18 };
19
20 #endif