summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestSubmit.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-04-01 20:30:32 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-04-01 20:30:32 (GMT)
commita783fcb25a04122a0173b6fba51b7d86a2ae8cd6 (patch)
tree6bcc1babf7fe6c0d14d2a2fd4f6a909420a22189 /Source/CTest/cmCTestSubmit.h
parent0aeb0b88929988c6346ec0516e504f2090f1a79b (diff)
downloadCMake-a783fcb25a04122a0173b6fba51b7d86a2ae8cd6.zip
CMake-a783fcb25a04122a0173b6fba51b7d86a2ae8cd6.tar.gz
CMake-a783fcb25a04122a0173b6fba51b7d86a2ae8cd6.tar.bz2
Controle verbosity
Diffstat (limited to 'Source/CTest/cmCTestSubmit.h')
-rw-r--r--Source/CTest/cmCTestSubmit.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestSubmit.h b/Source/CTest/cmCTestSubmit.h
index 87e9add..c888b67 100644
--- a/Source/CTest/cmCTestSubmit.h
+++ b/Source/CTest/cmCTestSubmit.h
@@ -30,6 +30,13 @@ class cmCTestSubmit
public:
cmCTestSubmit();
~cmCTestSubmit() {}
+
+ /**
+ * Set verbosity of send
+ */
+ void SetVerbose(bool i) { m_Verbose = i; }
+ void VerboseOn() { this->SetVerbose(1); }
+ void VerboseOff() { this->SetVerbose(0); }
/**
* Submit file using various ways
@@ -56,6 +63,7 @@ private:
int m_HTTPProxyType;
std::string m_FTPProxy;
int m_FTPProxyType;
+ bool m_Verbose;
};
#endif