diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 08:22:50 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 16:16:17 (GMT) |
commit | 56bfb8de5d1ddc3a499b03be8ae75c9832b6f878 (patch) | |
tree | 70ef754b6dc238d2245eb69c1615203679f8c22c /Source/cmQTWrapCPPCommand.h | |
parent | 83b3f76a3b13ffe2d8bdf3f67c20e36e22a6955f (diff) | |
download | CMake-56bfb8de5d1ddc3a499b03be8ae75c9832b6f878.zip CMake-56bfb8de5d1ddc3a499b03be8ae75c9832b6f878.tar.gz CMake-56bfb8de5d1ddc3a499b03be8ae75c9832b6f878.tar.bz2 |
cmQTWrapCPPCommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmQTWrapCPPCommand.h')
-rw-r--r-- | Source/cmQTWrapCPPCommand.h | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/Source/cmQTWrapCPPCommand.h b/Source/cmQTWrapCPPCommand.h index 88a2210..75fa180 100644 --- a/Source/cmQTWrapCPPCommand.h +++ b/Source/cmQTWrapCPPCommand.h @@ -8,35 +8,9 @@ #include <string> #include <vector> -#include "cm_memory.hxx" - -#include "cmCommand.h" - class cmExecutionStatus; -/** \class cmQTWrapCPPCommand - * \brief Create moc file rules for Qt classes - * - * cmQTWrapCPPCommand is used to create wrappers for Qt classes into - * normal C++ - */ -class cmQTWrapCPPCommand : public cmCommand -{ -public: - /** - * This is a virtual constructor for the command. - */ - std::unique_ptr<cmCommand> Clone() override - { - return cm::make_unique<cmQTWrapCPPCommand>(); - } - - /** - * This is called when the command is first encountered in - * the CMakeLists.txt file. - */ - bool InitialPass(std::vector<std::string> const& args, - cmExecutionStatus& status) override; -}; +bool cmQTWrapCPPCommand(std::vector<std::string> const& args, + cmExecutionStatus& status); #endif |