X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsourcegenerator.h;h=e9fe3087e07e7eb864b00c32ab1b8985db3b24b7;hb=1ed833343bc83b83c5f61cbfd74423bbba677a04;hp=3b96799dc81dccc06b199329532d451023cce9b7;hpb=2a23a19ff6717b32ddc45f84681c5c969c967e45;p=builder.git diff --git a/source/sourcegenerator.h b/source/sourcegenerator.h index 3b96799..e9fe308 100644 --- a/source/sourcegenerator.h +++ b/source/sourcegenerator.h @@ -6,6 +6,8 @@ #include "sourcepackage.h" #include "tool.h" +class SourceFile; + class SourceGenerator: public Tool { public: @@ -35,7 +37,8 @@ public: Target *create_source(const Component &, const Msp::FS::Path &) const override; Target *create_target(const std::vector &, const std::string &) override; - Task *run(const Target &) const override; +private: + static Task *_run(const SourceFile &); }; #endif