mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-06-01 12:48:48 +02:00
7ad2e11705
This commit adds the Services API and implements some services. It also changes the name of the application to Skyline and replaces the icon.
20 lines
856 B
C++
20 lines
856 B
C++
#include "appletOE.h"
|
|
|
|
namespace skyline::kernel::service::am {
|
|
appletOE::appletOE(const DeviceState &state, ServiceManager& manager) : BaseService(state, manager, false, Service::apm, {
|
|
{0x0, SFunc(appletOE::OpenApplicationProxy)}
|
|
}) {}
|
|
|
|
void appletOE::OpenApplicationProxy(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
|
manager.NewService(Service::am_IApplicationProxy, session, response);
|
|
}
|
|
|
|
IApplicationProxy::IApplicationProxy(const DeviceState &state, ServiceManager& manager) : BaseService(state, manager, false, Service::am_IApplicationProxy, {
|
|
{0x0, SFunc(IApplicationProxy::GetCommonStateGetter)}
|
|
}) {}
|
|
|
|
void IApplicationProxy::GetCommonStateGetter(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
|
// TODO: This
|
|
}
|
|
}
|