X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fvssolutiongenerator.h;h=b7eaf31c056256ca13993d1daf3c58d0c3431400;hb=d1eb133ab529cdae131be7b150209f03189248f3;hp=2efddcdad9eec188888a724f186938d5b2527331;hpb=bde362811368647047f3ca13bdec596f092ecffe;p=builder.git diff --git a/source/vssolutiongenerator.h b/source/vssolutiongenerator.h index 2efddcd..b7eaf31 100644 --- a/source/vssolutiongenerator.h +++ b/source/vssolutiongenerator.h @@ -1,31 +1,20 @@ #ifndef VSSOLUTIONGENERATOR_H_ #define VSSOLUTIONGENERATOR_H_ -#include "internaltask.h" #include "tool.h" class VsSolutionFile; class VsSolutionGenerator: public Tool { -private: - class Worker: public InternalTask::Worker - { - private: - const VsSolutionFile ⌖ - - public: - Worker(const VsSolutionFile &); - - private: - void main() override; - }; - public: - VsSolutionGenerator(Builder &); + VsSolutionGenerator(Builder &b): Tool(b, "VSSG") { } - Target *create_target(const std::list &, const std::string &) override; + Target *create_target(const std::vector &, const std::string &) override; Task *run(const Target &) const override; + +private: + static bool _run(const VsSolutionFile &); }; #endif