resource.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /*
  2. Launch4j (http://launch4j.sourceforge.net/)
  3. Cross-platform Java application wrapper for creating Windows native executables.
  4. Copyright (c) 2004, 2014 Grzegorz Kowal
  5. Ian Roberts (jdk preference patch)
  6. Permission is hereby granted, free of charge, to any person obtaining a copy
  7. of this software and associated documentation files (the "Software"), to deal
  8. in the Software without restriction, including without limitation the rights
  9. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  10. copies of the Software, and to permit persons to whom the Software is
  11. furnished to do so, subject to the following conditions:
  12. The above copyright notice and this permission notice shall be included in
  13. all copies or substantial portions of the Software.
  14. Except as contained in this notice, the name(s) of the above copyright holders
  15. shall not be used in advertising or otherwise to promote the sale, use or other
  16. dealings in this Software without prior written authorization.
  17. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  18. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  19. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  20. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  21. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  22. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  23. THE SOFTWARE.
  24. */
  25. // ICON
  26. #define APP_ICON 1
  27. // BITMAP
  28. #define SPLASH_BITMAP 1
  29. // RCDATA
  30. #define JRE_PATH 1
  31. #define JAVA_MIN_VER 2
  32. #define JAVA_MAX_VER 3
  33. #define SHOW_SPLASH 4
  34. #define SPLASH_WAITS_FOR_WINDOW 5
  35. #define SPLASH_TIMEOUT 6
  36. #define SPLASH_TIMEOUT_ERR 7
  37. #define CHDIR 8
  38. #define ERR_TITLE 10
  39. #define GUI_HEADER_STAYS_ALIVE 11
  40. #define JVM_OPTIONS 12
  41. #define CMD_LINE 13
  42. #define JAR 14
  43. #define MAIN_CLASS 15
  44. #define CLASSPATH 16
  45. #define WRAPPER 17
  46. #define REQUIRES_JDK 18
  47. #define ENV_VARIABLES 19
  48. #define PRIORITY_CLASS 20
  49. #define DOWNLOAD_URL 21
  50. #define SUPPORT_URL 22
  51. #define MUTEX_NAME 23
  52. #define INSTANCE_WINDOW_TITLE 24
  53. #define INITIAL_HEAP_SIZE 25
  54. #define INITIAL_HEAP_PERCENT 26
  55. #define MAX_HEAP_SIZE 27
  56. #define MAX_HEAP_PERCENT 28
  57. #define REQUIRES_64_BIT 29
  58. #define RESTART_ON_CRASH 31
  59. #define STARTUP_ERR 101
  60. #define JRE_NOT_FOUND_ERR 102
  61. #define JRE_VERSION_ERR 103
  62. #define LAUNCHER_ERR 104
  63. #define INSTANCE_ALREADY_EXISTS_MSG 105