summaryrefslogtreecommitdiff
path: root/Source/CTest/cmCTestUpdateHandler.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/cmCTestUpdateHandler.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/cmCTestUpdateHandler.h')
-rw-r--r--Source/CTest/cmCTestUpdateHandler.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestUpdateHandler.h b/Source/CTest/cmCTestUpdateHandler.h
index 019ee571b1..bcef45e5c5 100644
--- a/Source/CTest/cmCTestUpdateHandler.h
+++ b/Source/CTest/cmCTestUpdateHandler.h
@@ -33,6 +33,7 @@
class cmCTestUpdateHandler : public cmCTestGenericHandler
{
public:
+ cmTypeMacro(cmCTestUpdateHandler, cmCTestGenericHandler);
/*
* The main entry point for this class
@@ -42,9 +43,16 @@ public:
cmCTestUpdateHandler();
enum {
+ e_UNKNOWN = 0,
e_CVS,
- e_SVN
+ e_SVN,
+ e_LAST
};
+
+ /**
+ * Initialize handler
+ */
+ virtual void Initialize();
private:
// Some structures needed for update