summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestGenericHandler.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-01-27 20:54:47 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-01-27 20:54:47 (GMT)
commitc22cc421e0344074dd4db2f6003ede96a4df7160 (patch)
tree8ad4f90eaa87ce15939588fe6b91a456f4183ea3 /Source/CTest/cmCTestGenericHandler.h
parentd268431ac86ad567596861699f4ed38f3ab6aa58 (diff)
downloadCMake-c22cc421e0344074dd4db2f6003ede96a4df7160.zip
CMake-c22cc421e0344074dd4db2f6003ede96a4df7160.tar.gz
CMake-c22cc421e0344074dd4db2f6003ede96a4df7160.tar.bz2
ENH: Several cleanups and improvements
Diffstat (limited to 'Source/CTest/cmCTestGenericHandler.h')
-rw-r--r--Source/CTest/cmCTestGenericHandler.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.h b/Source/CTest/cmCTestGenericHandler.h
index 56105a5..26fdc02 100644
--- a/Source/CTest/cmCTestGenericHandler.h
+++ b/Source/CTest/cmCTestGenericHandler.h
@@ -39,7 +39,13 @@ public:
/**
* Populate internals from CTest custom scripts
*/
- void PopulateCustomVectors(cmMakefile *) {}
+ virtual void PopulateCustomVectors(cmMakefile *) {}
+
+ /**
+ * Do the actual processing. Subclass has to override it.
+ * Return < 0 if error.
+ */
+ virtual int ProcessHandler() = 0;
/**
* Set the CTest instance
@@ -50,6 +56,7 @@ public:
* Construct handler
*/
cmCTestGenericHandler();
+ virtual ~cmCTestGenericHandler();
protected:
bool m_Verbose;