ReXGlue SDK
Loading...
Searching...
No Matches
kernel_settings.h
Go to the documentation of this file.
1
10
11#pragma once
12
13#include <string>
14
15#include <rex/platform.h>
16#include <rex/setting.h>
17#include <rex/types.h>
18
19namespace rex::kernel {
20
21class REX_KERNEL_API KernelSettings final : public SettingOwner {
22 public:
23 REX_SETTING(bool, headless, false, "System dialogs answer at once without showing");
24 REX_SETTING(u32, user_language, 1, "XLanguage ID, 0 follows the host language", kUntilLaunch);
25 REX_SETTING(u32, user_country, 103, "Console country code", kUntilLaunch);
26 REX_SETTING(u32, license_mask, 0, "Content license mask", kUntilLaunch);
27 REX_SETTING(std::string, command_line, "", "Arguments the title sees after default.xex",
28 kUntilLaunch);
29
30 KernelSettings();
31};
32
33} // namespace rex::kernel
SettingOwner(std::string_view scope)
Definition export.h:24
Platform flags, packing macros and export markers.
#define REX_KERNEL_API
Definition platform.h:297
Typed settings and the owners that declare them.
Integer types, byte order wrappers and size literals.