X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fvssolutiongenerator.h;h=b7eaf31c056256ca13993d1daf3c58d0c3431400;hb=d1eb133ab529cdae131be7b150209f03189248f3;hp=8eaca7c5667c2987e57f5229b271f59adc5f5fbd;hpb=eabb3f5b9b0d32adda71d4dd7e56796f7ea3bdd2;p=builder.git diff --git a/source/vssolutiongenerator.h b/source/vssolutiongenerator.h index 8eaca7c..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: - virtual void main(); - }; - public: - VsSolutionGenerator(Builder &); + VsSolutionGenerator(Builder &b): Tool(b, "VSSG") { } + + Target *create_target(const std::vector &, const std::string &) override; + Task *run(const Target &) const override; - virtual Target *create_target(const std::list &, const std::string &); - virtual Task *run(const Target &) const; +private: + static bool _run(const VsSolutionFile &); }; #endif