]> git.tdb.fi Git - builder.git/blob - plugins/datafile/datatool.h
Move some path and filename manipulations into the Component class
[builder.git] / plugins / datafile / datatool.h
1 #ifndef DATACOMPILER_H_
2 #define DATACOMPILER_H_
3
4 #include <msp/builder/tool.h>
5
6 class DataTool: public Tool
7 {
8 public:
9         DataTool(Builder &);
10
11         Target *create_source(const Component &, const Msp::FS::Path &) const override;
12         Target *create_target(const std::vector<Target *> &, const std::string &) override;
13         std::string create_build_signature(const BuildInfo &) const override;
14
15 private:
16         static Task *_run(const Target &);
17 };
18
19 #endif