diff options
Diffstat (limited to 'Source/CTest/cmCTestGenericHandler.h')
-rw-r--r-- | Source/CTest/cmCTestGenericHandler.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.h b/Source/CTest/cmCTestGenericHandler.h index e2013a1..29f199b 100644 --- a/Source/CTest/cmCTestGenericHandler.h +++ b/Source/CTest/cmCTestGenericHandler.h @@ -24,6 +24,7 @@ class cmCTest; class cmMakefile; class cmCTestCommand; +class cmGeneratedFileStream; /** \class cmCTestGenericHandler * \brief A superclass of all CTest Handlers @@ -58,7 +59,7 @@ public: /** * Initialize handler */ - virtual void Initialize() = 0; + virtual void Initialize(); /** * Set the CTest instance @@ -82,12 +83,19 @@ public: m_Command = command; } + void SetSubmitIndex(int idx) { m_SubmitIndex = idx; } + int GetSubmitIndex() { return m_SubmitIndex; } + protected: + bool StartResultingXML(const char* name, cmGeneratedFileStream& xofs); + bool StartLogFile(const char* name, cmGeneratedFileStream& xofs); + bool m_HandlerVerbose; cmCTest *m_CTest; t_StringToString m_Options; cmCTestCommand* m_Command; + int m_SubmitIndex; }; #endif |