mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-06-02 11:28:48 +02:00
20 lines
560 B
C
20 lines
560 B
C
|
#pragma once
|
||
|
|
||
|
#include <services/base_service.h>
|
||
|
#include <services/serviceman.h>
|
||
|
|
||
|
namespace skyline::service::apm {
|
||
|
/**
|
||
|
* @brief IManager is mostly only used to open an ISession (https://switchbrew.org/wiki/PPC_services#apm)
|
||
|
*/
|
||
|
class IManager : public BaseService {
|
||
|
public:
|
||
|
IManager(const DeviceState &state, ServiceManager &manager);
|
||
|
|
||
|
/**
|
||
|
* @brief This returns an handle to ISession
|
||
|
*/
|
||
|
void OpenSession(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||
|
};
|
||
|
}
|