41 #include "PropertyFile.h"
42
43 #include <map>
44 #include <list>
45
46 class PackageBootFields {
47 public:
48 enum MemoryState {msManual, msAuto};
49
50 public:
51 OrderedMap<TString, TString> FJVMArgs;
52 std::list<TString> FArgs;
53
54 TString FPackageRootDirectory;
55 TString FPackageAppDirectory;
56 TString FPackageLauncherDirectory;
57 TString FAppDataDirectory;
58 TString FAppID;
59 TString FPackageAppDataDirectory;
60 TString FClassPath;
61 TString FMainJar;
62 TString FMainClassName;
63 bool FIsRuntimeBundled;
64 TString FJVMRuntimeDirectory;
65 TString FJVMLibraryFileName;
66 TString FSplashScreenFileName;
67 bool FUseJavaPreferences;
68 TString FCommandName;
69
70 TString FAppCDSCacheFileName;
71
72 TPlatformNumber FMemorySize;
73 MemoryState FMemoryState;
74 };
75
76
77 class Package {
78 private:
79 Package(Package const&); // Don't Implement.
80 void operator=(Package const&); // Don't implement
114 OrderedMap<TString, TString> GetJVMArgs();
115 OrderedMap<TString, TString> GetDefaultJVMUserArgs();
116 OrderedMap<TString, TString> GetJVMUserArgOverrides();
117 void SetJVMUserArgOverrides(OrderedMap<TString, TString> Value);
118 OrderedMap<TString, TString> GetJVMUserArgs();
119
120 std::list<TString> GetArgs();
121
122 TString GetPackageRootDirectory();
123 TString GetPackageAppDirectory();
124 TString GetPackageLauncherDirectory();
125 TString GetAppDataDirectory();
126
127 TString GetJVMUserArgsConfigFileName();
128 TString GetAppCDSCacheDirectory();
129 TString GetAppCDSCacheFileName();
130
131 TString GetAppID();
132 TString GetPackageAppDataDirectory();
133 TString GetClassPath();
134 TString GetMainClassName();
135 bool IsRuntimeBundled();
136 TString GetJVMLibraryFileName();
137 TString GetJVMRuntimeDirectory();
138 TString GetSplashScreenFileName();
139 bool HasSplashScreen();
140 TString GetCommandName();
141
142 TPlatformNumber GetMemorySize();
143 PackageBootFields::MemoryState GetMemoryState();
144
145 DebugState Debugging();
146 };
147
148 #endif //PACKAGE_H
|
41 #include "PropertyFile.h"
42
43 #include <map>
44 #include <list>
45
46 class PackageBootFields {
47 public:
48 enum MemoryState {msManual, msAuto};
49
50 public:
51 OrderedMap<TString, TString> FJVMArgs;
52 std::list<TString> FArgs;
53
54 TString FPackageRootDirectory;
55 TString FPackageAppDirectory;
56 TString FPackageLauncherDirectory;
57 TString FAppDataDirectory;
58 TString FAppID;
59 TString FPackageAppDataDirectory;
60 TString FClassPath;
61 TString FModulePath;
62 TString FMainJar;
63 TString FMainClassName;
64 bool FIsRuntimeBundled;
65 TString FJVMRuntimeDirectory;
66 TString FJVMLibraryFileName;
67 TString FSplashScreenFileName;
68 bool FUseJavaPreferences;
69 TString FCommandName;
70
71 TString FAppCDSCacheFileName;
72
73 TPlatformNumber FMemorySize;
74 MemoryState FMemoryState;
75 };
76
77
78 class Package {
79 private:
80 Package(Package const&); // Don't Implement.
81 void operator=(Package const&); // Don't implement
115 OrderedMap<TString, TString> GetJVMArgs();
116 OrderedMap<TString, TString> GetDefaultJVMUserArgs();
117 OrderedMap<TString, TString> GetJVMUserArgOverrides();
118 void SetJVMUserArgOverrides(OrderedMap<TString, TString> Value);
119 OrderedMap<TString, TString> GetJVMUserArgs();
120
121 std::list<TString> GetArgs();
122
123 TString GetPackageRootDirectory();
124 TString GetPackageAppDirectory();
125 TString GetPackageLauncherDirectory();
126 TString GetAppDataDirectory();
127
128 TString GetJVMUserArgsConfigFileName();
129 TString GetAppCDSCacheDirectory();
130 TString GetAppCDSCacheFileName();
131
132 TString GetAppID();
133 TString GetPackageAppDataDirectory();
134 TString GetClassPath();
135 TString GetModulePath();
136 TString GetMainClassName();
137 bool IsRuntimeBundled();
138 TString GetJVMLibraryFileName();
139 TString GetJVMRuntimeDirectory();
140 TString GetSplashScreenFileName();
141 bool HasSplashScreen();
142 TString GetCommandName();
143
144 TPlatformNumber GetMemorySize();
145 PackageBootFields::MemoryState GetMemoryState();
146
147 DebugState Debugging();
148 };
149
150 #endif //PACKAGE_H
|