summaryrefslogtreecommitdiff
path: root/Source/CTest/cmCTestGenericHandler.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-17 13:04:56 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-17 13:04:56 -0400
commitd9dc9b54a62c20be2cf42ce050780e1b924e412c (patch)
treefbc9478d4a3559ec8c6ee5c61a008e031c982f99 /Source/CTest/cmCTestGenericHandler.h
parentd3239ac68f4cc74e5f5c7cecf876f07262bbf57e (diff)
downloadcmake-d9dc9b54a62c20be2cf42ce050780e1b924e412c.tar.gz
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.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.h b/Source/CTest/cmCTestGenericHandler.h
index dccb70fe1d..e2013a19b4 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; }