X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpkgconfiggenerator.h;h=761a2c0e8eaccb7e3276f40d2e2aa4971ecb26d1;hb=1ed833343bc83b83c5f61cbfd74423bbba677a04;hp=602a2aac0f3b11fd6eec1ffde7a43683ae79252d;hpb=70e090da87243ed54785a82054b7c824a2897036;p=builder.git diff --git a/source/pkgconfiggenerator.h b/source/pkgconfiggenerator.h index 602a2aa..761a2c0 100644 --- a/source/pkgconfiggenerator.h +++ b/source/pkgconfiggenerator.h @@ -1,31 +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: - virtual void main(); - }; - public: PkgConfigGenerator(Builder &); - virtual Target *create_target(const std::list &, const std::string &) const; - virtual Task *run(const Target &) const; + Target *create_target(const std::vector &, const std::string &) override; + +private: + static bool _run(const PkgConfigFile &); + static std::string prefixify(const Msp::FS::Path &, const Msp::FS::Path &); }; #endif