summaryrefslogtreecommitdiffstats
path: root/Source/cmFLTKWrapUICommand.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-12 08:10:28 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2019-09-12 16:16:17 (GMT)
commit36b939db682a9405790bee76f95673eeaeb445b8 (patch)
tree4cd7861df88ef4bc2a82dae4290594c94cfac76a /Source/cmFLTKWrapUICommand.h
parent28cf1271ed6051af46ff68f52a8c9c0435ca1234 (diff)
downloadCMake-36b939db682a9405790bee76f95673eeaeb445b8.zip
CMake-36b939db682a9405790bee76f95673eeaeb445b8.tar.gz
CMake-36b939db682a9405790bee76f95673eeaeb445b8.tar.bz2
cmFLTKWrapUICommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmFLTKWrapUICommand.h')
-rw-r--r--Source/cmFLTKWrapUICommand.h30
1 files changed, 2 insertions, 28 deletions
diff --git a/Source/cmFLTKWrapUICommand.h b/Source/cmFLTKWrapUICommand.h
index ea8d401..bb56dbd 100644
--- a/Source/cmFLTKWrapUICommand.h
+++ b/Source/cmFLTKWrapUICommand.h
@@ -8,35 +8,9 @@
#include <string>
#include <vector>
-#include "cm_memory.hxx"
-
-#include "cmCommand.h"
-
class cmExecutionStatus;
-/** \class cmFLTKWrapUICommand
- * \brief Create .h and .cxx files rules for FLTK user interfaces files
- *
- * cmFLTKWrapUICommand is used to create wrappers for FLTK classes into
- * normal C++
- */
-class cmFLTKWrapUICommand : public cmCommand
-{
-public:
- /**
- * This is a virtual constructor for the command.
- */
- std::unique_ptr<cmCommand> Clone() override
- {
- return cm::make_unique<cmFLTKWrapUICommand>();
- }
-
- /**
- * 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 cmFLTKWrapUICommand(std::vector<std::string> const& args,
+ cmExecutionStatus& status);
#endif