]> git.tdb.fi Git - builder.git/blobdiff - source/pkgconfiggenerator.h
Inline simple constructors
[builder.git] / source / pkgconfiggenerator.h
index a9adbc6fe2a86100a26d9c032375b47e48442a72..727b3e29536e0e24c14cb42c054d3d8179e05ca4 100644 (file)
@@ -15,19 +15,19 @@ private:
                const PkgConfigFile ⌖
 
        public:
-               Worker(const PkgConfigFile &);
+               Worker(const PkgConfigFile &t): target(t) { }
 
        private:
-               virtual void main();
+               void main() override;
 
                std::string prefixify(const Msp::FS::Path &, const Msp::FS::Path &);
        };
 
 public:
-       PkgConfigGenerator(Builder &);
+       PkgConfigGenerator(Builder &b): Tool(b, "PCG") { }
 
-       virtual Target *create_target(const std::list<Target *> &, const std::string &);
-       virtual Task *run(const Target &) const;
+       Target *create_target(const std::vector<Target *> &, const std::string &) override;
+       Task *run(const Target &) const override;
 };
 
 #endif