X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpkgconfiggenerator.h;h=761a2c0e8eaccb7e3276f40d2e2aa4971ecb26d1;hb=1ed833343bc83b83c5f61cbfd74423bbba677a04;hp=3b28e3f1e94907c22c8896b7e179a7f83385137e;hpb=aa053d637e8259755af7d2e4b510a242f4d29c7b;p=builder.git diff --git a/source/pkgconfiggenerator.h b/source/pkgconfiggenerator.h index 3b28e3f..761a2c0 100644 --- a/source/pkgconfiggenerator.h +++ b/source/pkgconfiggenerator.h @@ -1,33 +1,20 @@ #ifndef PKGCONFIGGENERATOR_H_ #define PKGCONFIGGENERATOR_H_ -#include "internaltask.h" #include "tool.h" class PkgConfigFile; class PkgConfigGenerator: public Tool { -private: - class Worker: public InternalTask::Worker - { - private: - const PkgConfigFile ⌖ - - public: - Worker(const PkgConfigFile &); - - private: - void main() override; - - std::string prefixify(const Msp::FS::Path &, const Msp::FS::Path &); - }; - public: PkgConfigGenerator(Builder &); Target *create_target(const std::vector &, const std::string &) override; - Task *run(const Target &) const override; + +private: + static bool _run(const PkgConfigFile &); + static std::string prefixify(const Msp::FS::Path &, const Msp::FS::Path &); }; #endif