libtransistor
A userland library for the Nintendo Switch
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
include
libtransistor
cpp
ipc
sm.hpp
Go to the documentation of this file.
1
6
#pragma once
7
8
#include<libtransistor/cpp/types.hpp>
9
#include<
libtransistor/cpp/ipc.hpp
>
10
#include<
libtransistor/cpp/ipcclient.hpp
>
11
#include<expected.hpp>
12
13
namespace
trn {
14
namespace
service {
15
16
class
SM
{
17
public
:
18
static
Result<SM> Initialize();
19
SM
(
const
SM
& other);
20
SM
(
SM
&& other);
21
~
SM
();
22
23
Result<ipc::client::Object> GetService(
const
char
*name);
24
Result<KPort> RegisterService(
const
char
*name, uint32_t max_sessions);
25
26
private
:
27
SM
();
// use SM::Initialize
28
};
29
30
}
31
}
ipc.hpp
IPC (C++ header)
trn::service::SM
Definition:
sm.hpp:16
ipcclient.hpp
IPC client template library (C++ header)
Generated on Thu Oct 3 2019 01:41:37 for libtransistor by
1.8.6