summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestVC.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-02-24 17:50:48 (GMT)
committerBrad King <brad.king@kitware.com>2009-02-24 17:50:48 (GMT)
commitd76bc78a1247d0ac5d151a510b8d6ba231daa043 (patch)
tree6b14d3f30b1049b2440a7b064bfd2b2262f9ebe4 /Source/CTest/cmCTestVC.h
parentfdd0d2a32bffc3742b5d40c066a61794135bd6f4 (diff)
downloadCMake-d76bc78a1247d0ac5d151a510b8d6ba231daa043.zip
CMake-d76bc78a1247d0ac5d151a510b8d6ba231daa043.tar.gz
CMake-d76bc78a1247d0ac5d151a510b8d6ba231daa043.tar.bz2
ENH: Factor out nightly start time computation
Move generation of the nightly start time string from cmCTestUpdateHandler::ProcessHandler into cmCTestVC.
Diffstat (limited to 'Source/CTest/cmCTestVC.h')
-rw-r--r--Source/CTest/cmCTestVC.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestVC.h b/Source/CTest/cmCTestVC.h
index 4564e70..e1228e0 100644
--- a/Source/CTest/cmCTestVC.h
+++ b/Source/CTest/cmCTestVC.h
@@ -39,6 +39,9 @@ public:
/** Top-level source directory. */
void SetSourceDirectory(std::string const& dir);
+ /** Get the date/time specification for the current nightly start time. */
+ std::string GetNightlyTime();
+
/** Perform cleanup operations on the work tree. */
void Cleanup();