wccconstants.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef WCCCONSTANTS_H
  2. #define WCCCONSTANTS_H
  3. namespace WccNameSpace {
  4. namespace Constants {
  5. // wccbuildmanager.cpp
  6. const char * const TEXT_NO_PROJECT = "-";
  7. const char * const RESOURCE_FILE = ".qrc";
  8. const char * const DEBIAN_DIR = "debian/";
  9. const char * const SERVER_URL = "https://build.forum.nokia.com";
  10. const char * const SSO_LOGIN_URL = "https://sso.forum.nokia.com/login?";
  11. // wcczipper.cpp
  12. const char * const DEFAULT_ZIPNAME = "zipfile.zip";
  13. const char * const ZIP_EXTENSION = ".zip";
  14. const char * const ZIPPING_ERROR = "Zipping failed: ";
  15. const char * const ERROR_EMPTY_FILELIST = "Nothing to do. The filelist is empty";
  16. // wccsigninrequest.cpp
  17. const char * const JS_MESSAGE_SEPARATOR = ":::";
  18. // wccnetworkaccessmanager.cpp
  19. const char * const BUILD_LOCATION = "build.forum.nokia.com";
  20. // timeouts
  21. // Source upload must complete within this time. 30 secs
  22. const int UPLOAD_TIMEOUT_MSEC = 30000;
  23. // 60 min (server should handle the timeout)
  24. const int BUILD_TIMEOUT_MSEC = 3600000;
  25. }
  26. }
  27. #endif // WCCCONSTANTS_H