summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestUpdateHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/cmCTestUpdateHandler.h')
-rw-r--r--Source/CTest/cmCTestUpdateHandler.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestUpdateHandler.h b/Source/CTest/cmCTestUpdateHandler.h
index c8bb304..02116ac 100644
--- a/Source/CTest/cmCTestUpdateHandler.h
+++ b/Source/CTest/cmCTestUpdateHandler.h
@@ -36,14 +36,22 @@ public:
int ProcessHandler();
cmCTestUpdateHandler();
+
+ enum {
+ e_CVS,
+ e_SVN,
+ };
private:
- // Some structures needed for cvs update
+ // Some structures needed for update
struct StringPair :
public std::pair<std::string, std::string>{};
struct UpdateFiles : public std::vector<StringPair>{};
struct AuthorsToUpdatesMap :
public std::map<std::string, UpdateFiles>{};
+
+ // Determine the type of version control
+ int DetermineType(const char* cmd, const char* type);
};
#endif