cmake/Source/CTest/cmCTestUploadHandler.h

40 lines
848 B
C
Raw Normal View History

2016-10-30 18:24:19 +01:00
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
2011-06-19 15:41:06 +03:00
#ifndef cmCTestUploadHandler_h
#define cmCTestUploadHandler_h
2017-07-20 19:35:53 +02:00
#include "cmConfigure.h"
2016-10-30 18:24:19 +01:00
#include "cmCTest.h"
2011-06-19 15:41:06 +03:00
#include "cmCTestGenericHandler.h"
/** \class cmCTestUploadHandler
* \brief Helper class for CTest
*
* Submit arbitrary files
*
*/
class cmCTestUploadHandler : public cmCTestGenericHandler
{
public:
2017-04-14 19:02:05 +02:00
typedef cmCTestGenericHandler Superclass;
2011-06-19 15:41:06 +03:00
cmCTestUploadHandler();
2016-10-30 18:24:19 +01:00
~cmCTestUploadHandler() CM_OVERRIDE {}
2011-06-19 15:41:06 +03:00
/*
* The main entry point for this class
*/
2016-10-30 18:24:19 +01:00
int ProcessHandler() CM_OVERRIDE;
2011-06-19 15:41:06 +03:00
2016-10-30 18:24:19 +01:00
void Initialize() CM_OVERRIDE;
2011-06-19 15:41:06 +03:00
/** Specify a set of files to submit. */
void SetFiles(cmCTest::SetOfStrings const& files);
private:
cmCTest::SetOfStrings Files;
};
#endif