diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-17 17:04:56 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-17 17:04:56 (GMT) |
commit | d9dc9b54a62c20be2cf42ce050780e1b924e412c (patch) | |
tree | fbc9478d4a3559ec8c6ee5c61a008e031c982f99 /Source/CTest/cmCTestGenericHandler.h | |
parent | d3239ac68f4cc74e5f5c7cecf876f07262bbf57e (diff) | |
download | CMake-d9dc9b54a62c20be2cf42ce050780e1b924e412c.zip CMake-d9dc9b54a62c20be2cf42ce050780e1b924e412c.tar.gz CMake-d9dc9b54a62c20be2cf42ce050780e1b924e412c.tar.bz2 |
ENH: Add superclass for all commands and handlers. Improve handlers to have initialization code, and start initializing ctest when start is invoked
Diffstat (limited to 'Source/CTest/cmCTestGenericHandler.h')
-rw-r--r-- | Source/CTest/cmCTestGenericHandler.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.h b/Source/CTest/cmCTestGenericHandler.h index dccb70f..e2013a1 100644 --- a/Source/CTest/cmCTestGenericHandler.h +++ b/Source/CTest/cmCTestGenericHandler.h @@ -19,7 +19,7 @@ #define cmCTestGenericHandler_h -#include "cmStandardIncludes.h" +#include "cmObject.h" class cmCTest; class cmMakefile; @@ -29,7 +29,7 @@ class cmCTestCommand; * \brief A superclass of all CTest Handlers * */ -class cmCTestGenericHandler +class cmCTestGenericHandler : public cmObject { public: /** @@ -56,6 +56,11 @@ public: const std::vector<std::string>& /*allArgs*/) { return 1; } /** + * Initialize handler + */ + virtual void Initialize() = 0; + + /** * Set the CTest instance */ void SetCTestInstance(cmCTest* ctest) { m_CTest = ctest; } |