diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-01-27 16:43:22 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-01-27 16:43:22 (GMT) |
commit | dc0ce24cc6bdd4e59e3fef79fd1bbdfcae82be70 (patch) | |
tree | 4b1e28c5e4accd116056be7d243400f16f0ce7d9 /Source/CTest/cmCTestCoverageHandler.h | |
parent | bf3d7746458af539536a1438c88608897be71ce2 (diff) | |
download | CMake-dc0ce24cc6bdd4e59e3fef79fd1bbdfcae82be70.zip CMake-dc0ce24cc6bdd4e59e3fef79fd1bbdfcae82be70.tar.gz CMake-dc0ce24cc6bdd4e59e3fef79fd1bbdfcae82be70.tar.bz2 |
ENH: Add a superclass to all handlers
Diffstat (limited to 'Source/CTest/cmCTestCoverageHandler.h')
-rw-r--r-- | Source/CTest/cmCTestCoverageHandler.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.h b/Source/CTest/cmCTestCoverageHandler.h index c6a80a6..1c5aaf6 100644 --- a/Source/CTest/cmCTestCoverageHandler.h +++ b/Source/CTest/cmCTestCoverageHandler.h @@ -19,35 +19,27 @@ #define cmCTestCoverageHandler_h -#include "cmStandardIncludes.h" +#include "cmCTestGenericHandler.h" #include "cmListFileCache.h" -class cmCTest; class cmGeneratedFileStream; /** \class cmCTestCoverageHandler * \brief A class that handles coverage computaiton for ctest * */ -class cmCTestCoverageHandler +class cmCTestCoverageHandler : public cmCTestGenericHandler { public: /* * The main entry point for this class */ - int CoverageDirectory(cmCTest *); - - /* - * If verbose then more informaiton is printed out - */ - void SetVerbose(bool val) { m_Verbose = val; } + int CoverageDirectory(); cmCTestCoverageHandler(); private: - bool m_Verbose; - cmCTest *m_CTest; bool ShouldIDoCoverage(const char* file, const char* srcDir, const char* binDir, bool verbose); bool StartLogFile(cmGeneratedFileStream& ostr, int logFileCount); |