maemo5defines.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #ifndef MAEMO5DEFINES_H
  2. #define MAEMO5DEFINES_H
  3. #define MAEMO5_PLATFORMNAME "maemo5"
  4. #define MAEMO5_SHORTDESC "Building for Maemo5 locally"
  5. enum Maemo5GeneratorPhase {
  6. M5_INITIAL,
  7. M5_UNZIP_WIDGET,
  8. M5_DPKG_BUILDPACKAGE,
  9. M5_ENDED_SUCCESSFULLY,
  10. M5_ENDED_WITH_ERRORS,
  11. };
  12. /**
  13. * This operator let's you treat GeneratorPhase as if it was
  14. * the same enum type as Maemo5GeneratorPhase.
  15. */
  16. bool operator==(const GeneratorPhase & left,
  17. Maemo5GeneratorPhase right);
  18. /**
  19. * Keys for filename substitutions
  20. */
  21. #define FNAMESUBST_HYBRIDAPP "hybridapp"
  22. /**
  23. * Keys for keyword substitutions (in text content)
  24. */
  25. // all keyword substitutions keys start with this character
  26. #define TXTSUBST_HYBRIDAPP "@hybridapp@"
  27. #define TXTSUBST_HYBRIDAPP_UC "@HYBRIDAPP@"
  28. #define TXTSUBST_HYBRIDAPPNAME "@hybridappname@"
  29. #define TXTSUBST_HYBRIDBINARY "@hybridbinary@"
  30. #define TXTSUBST_HYBRIDAUTHOR "@hybridauthor@"
  31. #define TXTSUBST_HYBRIDEMAIL "@hybridemail@"
  32. #define TXTSUBST_HYBRIDDATETIME "@hybriddatetime@"
  33. #define TXTSUBST_HYBRIDSHORTDESC "@hybridshortdesc@"
  34. #define TXTSUBST_HYBRIDLONGDESC "@hybridlongdesc@"
  35. #define TXTSUBST_HYBRIDYEAR "@hybridyear@"
  36. #define DEFAULTEX_SUFFIX ".default"
  37. #define DOCBASEEX_SUFFIX ".doc-base"
  38. #define DOCDOCS_SUFFIX "-doc"
  39. #define DOCINSTALL_SUFFIX "-doc"
  40. #endif // MAEMO5DEFINES_H