ReXGlue SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
device.h
Go to the documentation of this file.
1
17
18
#pragma once
19
20
#include <cstddef>
21
#include <memory>
22
#include <unordered_map>
23
#include <vector>
24
#include <format>
25
#include <string>
26
#include <filesystem>
27
#include <optional>
28
#include <string_view>
29
#include <functional>
30
#include <span>
31
32
#include <
rex/platform.h
>
33
#include <
rex/types.h
>
34
#include <
rex/memory.h
>
35
#include <
rex/kernel/types/status.h
>
36
#include <
rex/memory/stream.h
>
37
#include <
rex/kernel/types/content.h
>
38
#include <
rex/result.h
>
39
#include <
rex/filesystem/xdbf.h
>
40
#include <
rex/utility.h
>
41
#include <
rex/title.h
>
42
43
namespace
rex::xam {
44
45
enum class
DeviceType : u8 {
46
kHDD = 1,
47
kODD = 4,
48
};
49
50
enum class
DummyDeviceID : u8 {
51
kHDD = 1,
52
kODD = 2,
53
};
54
55
struct
PlaceholderDevice
{
56
DummyDeviceID device_id;
57
DeviceType device_type;
58
u64 total_bytes;
59
u64 free_bytes;
60
const
std::u16string_view name;
61
};
62
69
REX_XAM_API
const
PlaceholderDevice
*
GetPlaceholderDevice
(u32 device_id);
70
71
}
// namespace rex::xam
content.h
Content package and language IDs.
rex::xam::GetPlaceholderDevice
REX_XAM_API const PlaceholderDevice * GetPlaceholderDevice(u32 device_id)
memory.h
platform.h
Platform flags, packing macros and export markers.
REX_XAM_API
#define REX_XAM_API
Definition
platform.h:314
result.h
status.h
stream.h
Bit, byte and ring buffer streams over memory.
rex::xam::PlaceholderDevice
Definition
device.h:55
title.h
types.h
Integer types, byte order wrappers and size literals.
utility.h
Move only function, const propagating pointer and scope guard.
xdbf.h
rex
xam
device.h
Generated by
1.18.0