ENH: Add a superclass to all handlers

This commit is contained in:
Andy Cedilnik
2005-01-27 11:43:22 -05:00
parent bf3d774645
commit dc0ce24cc6
16 changed files with 137 additions and 114 deletions
+3 -13
View File
@@ -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>{};