cmCTestUploadHandler.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef cmCTestUploadHandler_h
  11. #define cmCTestUploadHandler_h
  12. #include "cmCTestGenericHandler.h"
  13. /** \class cmCTestUploadHandler
  14. * \brief Helper class for CTest
  15. *
  16. * Submit arbitrary files
  17. *
  18. */
  19. class cmCTestUploadHandler : public cmCTestGenericHandler
  20. {
  21. public:
  22. cmTypeMacro(cmCTestUploadHandler, cmCTestGenericHandler);
  23. cmCTestUploadHandler();
  24. ~cmCTestUploadHandler() {}
  25. /*
  26. * The main entry point for this class
  27. */
  28. int ProcessHandler();
  29. void Initialize();
  30. /** Specify a set of files to submit. */
  31. void SetFiles(cmCTest::SetOfStrings const& files);
  32. private:
  33. cmCTest::SetOfStrings Files;
  34. };
  35. #endif