X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tools%2Fbuilder-plugin%2Fgamesetupgenerator.h;fp=tools%2Fbuilder-plugin%2Fgamesetupgenerator.h;h=8f3a8815f4cd96ec7802d58b314991d346fe4d92;hb=bb1c22d58cc71e68555a144ac884137c775ef427;hp=0000000000000000000000000000000000000000;hpb=dc90919dcc6519c7611ff7f8f6b7c22876e2fc13;p=libs%2Fgame.git diff --git a/tools/builder-plugin/gamesetupgenerator.h b/tools/builder-plugin/gamesetupgenerator.h new file mode 100644 index 0000000..8f3a881 --- /dev/null +++ b/tools/builder-plugin/gamesetupgenerator.h @@ -0,0 +1,19 @@ +#ifndef GAMESETUPGENERATOR_H_ +#define GAMESETUPGENERATOR_H_ + +#include +#include + +class GameSetupGenerator: public Tool +{ +public: + GameSetupGenerator(Builder &); + + Target *create_source(const Component &, const Msp::FS::Path &) const override; + Target *create_target(const std::vector &, const std::string &) override; + +private: + static ExternalTask::Arguments _run(const CSourceFile &, Msp::FS::Path &); +}; + +#endif