diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-04-01 19:11:17 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-04-01 19:11:17 (GMT) |
commit | dd9241121d4b270564174f67672c31c0bf07cde8 (patch) | |
tree | f7385b8f2c906e481d5330448b66f1bf17fdd517 /Source/CTest/cmCTestSubmit.h | |
parent | 3e0817eb55f087a60d0676b5bb95fa0a0be62196 (diff) | |
download | CMake-dd9241121d4b270564174f67672c31c0bf07cde8.zip CMake-dd9241121d4b270564174f67672c31c0bf07cde8.tar.gz CMake-dd9241121d4b270564174f67672c31c0bf07cde8.tar.bz2 |
ENH: Add logging of submitting
Diffstat (limited to 'Source/CTest/cmCTestSubmit.h')
-rw-r--r-- | Source/CTest/cmCTestSubmit.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/Source/CTest/cmCTestSubmit.h b/Source/CTest/cmCTestSubmit.h index 65dcd64..5513adc 100644 --- a/Source/CTest/cmCTestSubmit.h +++ b/Source/CTest/cmCTestSubmit.h @@ -29,7 +29,7 @@ class cmCTestSubmit { public: cmCTestSubmit(); - ~cmCTestSubmit() {} + ~cmCTestSubmit() { m_LogFile = 0; } /** * Set verbosity of send @@ -37,6 +37,8 @@ public: void SetVerbose(bool i) { m_Verbose = i; } void VerboseOn() { this->SetVerbose(1); } void VerboseOff() { this->SetVerbose(0); } + + void SetLogFile(std::ostream* ost) { m_LogFile = ost; } /** * Submit file using various ways @@ -59,11 +61,12 @@ public: const cmStdString& url); private: - cmStdString m_HTTPProxy; - int m_HTTPProxyType; - cmStdString m_FTPProxy; - int m_FTPProxyType; - bool m_Verbose; + cmStdString m_HTTPProxy; + int m_HTTPProxyType; + cmStdString m_FTPProxy; + int m_FTPProxyType; + bool m_Verbose; + std::ostream* m_LogFile; }; #endif |