summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestVC.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-02-24 17:50:15 (GMT)
committerBrad King <brad.king@kitware.com>2009-02-24 17:50:15 (GMT)
commitfdd0d2a32bffc3742b5d40c066a61794135bd6f4 (patch)
tree6c2e02dfb74118bb869bee0daef1e049124bc836 /Source/CTest/cmCTestVC.h
parent4e4f2a3a10327978c8de493fe0f411e656b7d2f9 (diff)
downloadCMake-fdd0d2a32bffc3742b5d40c066a61794135bd6f4.zip
CMake-fdd0d2a32bffc3742b5d40c066a61794135bd6f4.tar.gz
CMake-fdd0d2a32bffc3742b5d40c066a61794135bd6f4.tar.bz2
ENH: Factor out svn work tree cleanup
This removes work tree cleanup from cmCTestUpdateHandler and adds an interface for it in cmCTestVC with an implementation in cmCTestSVN.
Diffstat (limited to 'Source/CTest/cmCTestVC.h')
-rw-r--r--Source/CTest/cmCTestVC.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestVC.h b/Source/CTest/cmCTestVC.h
index 1bc4277..4564e70 100644
--- a/Source/CTest/cmCTestVC.h
+++ b/Source/CTest/cmCTestVC.h
@@ -39,7 +39,12 @@ public:
/** Top-level source directory. */
void SetSourceDirectory(std::string const& dir);
+ /** Perform cleanup operations on the work tree. */
+ void Cleanup();
+
protected:
+ // Internal API to be implemented by subclasses.
+ virtual void CleanupImpl();
/** Convert a list of arguments to a human-readable command line. */
static std::string ComputeCommandLine(char const* const* cmd);