mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 18:51:05 -05:00
ENH: Add a superclass to all handlers
This commit is contained in:
@@ -19,35 +19,25 @@
|
||||
#define cmCTestUpdateHandler_h
|
||||
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include "cmCTestGenericHandler.h"
|
||||
#include "cmListFileCache.h"
|
||||
|
||||
class cmCTest;
|
||||
|
||||
/** \class cmCTestUpdateHandler
|
||||
* \brief A class that handles ctest -S invocations
|
||||
*
|
||||
*/
|
||||
class cmCTestUpdateHandler
|
||||
class cmCTestUpdateHandler : public cmCTestGenericHandler
|
||||
{
|
||||
public:
|
||||
|
||||
/*
|
||||
* The main entry point for this class
|
||||
*/
|
||||
int UpdateDirectory(cmCTest *);
|
||||
|
||||
/*
|
||||
* If verbose then more informaiton is printed out
|
||||
*/
|
||||
void SetVerbose(bool val) { m_Verbose = val; }
|
||||
int UpdateDirectory();
|
||||
|
||||
cmCTestUpdateHandler();
|
||||
|
||||
private:
|
||||
bool m_Verbose;
|
||||
cmCTest *m_CTest;
|
||||
|
||||
// Some structures needed for cvs update
|
||||
struct StringPair :
|
||||
public std::pair<std::string, std::string>{};
|
||||
|
||||
Reference in New Issue
Block a user