X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcompilecommandsgenerator.h;h=a6fa6f9bb696cd2634624bbe8fabaac428df2a73;hb=1ed833343bc83b83c5f61cbfd74423bbba677a04;hp=29bb0432ec53afd76280d8203a6f3d5e227269fb;hpb=bde362811368647047f3ca13bdec596f092ecffe;p=builder.git diff --git a/source/compilecommandsgenerator.h b/source/compilecommandsgenerator.h index 29bb043..a6fa6f9 100644 --- a/source/compilecommandsgenerator.h +++ b/source/compilecommandsgenerator.h @@ -1,31 +1,19 @@ #ifndef COMPILECOMMANDSGENERATOR_H_ #define COMPILECOMMANDSGENERATOR_H_ -#include "internaltask.h" #include "tool.h" class CompileCommandsJson; class CompileCommandsGenerator: public Tool { -private: - class Worker: public InternalTask::Worker - { - private: - const CompileCommandsJson ⌖ - - public: - Worker(const CompileCommandsJson &); - - private: - void main() override; - }; - public: CompileCommandsGenerator(Builder &); - Target *create_target(const std::list &, const std::string &) override; - Task *run(const Target &) const override; + Target *create_target(const std::vector &, const std::string &) override; + +private: + static bool _run(const CompileCommandsJson &); }; #endif