diff options
Diffstat (limited to 'Source/CTest/cmCTestHandlerCommand.h')
-rw-r--r-- | Source/CTest/cmCTestHandlerCommand.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestHandlerCommand.h b/Source/CTest/cmCTestHandlerCommand.h index 727437b..8c2e651 100644 --- a/Source/CTest/cmCTestHandlerCommand.h +++ b/Source/CTest/cmCTestHandlerCommand.h @@ -52,8 +52,19 @@ public: protected: virtual cmCTestGenericHandler* InitializeHandler() = 0; - bool ProcessArguments(std::vector<std::string> const& args, - int last, const char** strings, std::vector<const char*>& values); + + // Command argument handling. + virtual bool CheckArgumentKeyword(std::string const& arg); + virtual bool CheckArgumentValue(std::string const& arg); + enum + { + ArgumentDoingNone, + ArgumentDoingError, + ArgumentDoingKeyword, + ArgumentDoingLast1 + }; + int ArgumentDoing; + unsigned int ArgumentIndex; std::string ReturnVariable; std::vector<const char*> Arguments; |