cmCTestSubmit.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*=========================================================================
  2. Program: CMake - Cross-Platform Makefile Generator
  3. Module: $RCSfile$
  4. Language: C++
  5. Date: $Date$
  6. Version: $Revision$
  7. Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
  8. See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
  9. This software is distributed WITHOUT ANY WARRANTY; without even
  10. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  11. PURPOSE. See the above copyright notices for more information.
  12. =========================================================================*/
  13. #ifndef cmCTestSubmit_h
  14. #define cmCTestSubmit_h
  15. #include "cmStandardIncludes.h"
  16. /** \class cmCTestSubmit
  17. * \brief Helper class for CTest
  18. *
  19. * Submit testing results
  20. *
  21. */
  22. class cmCTestSubmit
  23. {
  24. public:
  25. cmCTestSubmit() {}
  26. ~cmCTestSubmit() {}
  27. /**
  28. * Submit file using various ways
  29. */
  30. bool SubmitUsingFTP(const std::string& localprefix,
  31. const std::vector<std::string>& files,
  32. const std::string& remoteprefix,
  33. const std::string& url);
  34. bool SubmitUsingSCP(const std::string& localprefix,
  35. const std::vector<std::string>& files,
  36. const std::string& remoteprefix,
  37. const std::string& url);
  38. };
  39. #endif