2020-04-19 23:04:05 +02:00
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
2020-03-27 20:36:02 +01:00
|
|
|
// Copyright © 2020 Skyline Team and Contributors (https://github.com/skyline-emu/)
|
|
|
|
|
2020-02-19 21:35:54 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <services/base_service.h>
|
|
|
|
#include <services/serviceman.h>
|
|
|
|
|
|
|
|
namespace skyline::service::am {
|
|
|
|
/**
|
|
|
|
* @brief IAllSystemAppletProxiesService is used to open proxies (https://switchbrew.org/wiki/Applet_Manager_services#appletAE)
|
|
|
|
*/
|
|
|
|
class IAllSystemAppletProxiesService : public BaseService {
|
|
|
|
public:
|
|
|
|
IAllSystemAppletProxiesService(const DeviceState &state, ServiceManager &manager);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief This returns #ILibraryAppletProxy (https://switchbrew.org/wiki/Applet_Manager_services#OpenLibraryAppletProxy)
|
|
|
|
*/
|
|
|
|
void OpenLibraryAppletProxy(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief This returns #IApplicationProxy (https://switchbrew.org/wiki/Applet_Manager_services#OpenApplicationProxy)
|
|
|
|
*/
|
|
|
|
void OpenApplicationProxy(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief This returns #IOverlayAppletProxy (https://switchbrew.org/wiki/Applet_Manager_services#OpenOverlayAppletProxy)
|
|
|
|
*/
|
|
|
|
void OpenOverlayAppletProxy(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief This returns #ISystemAppletProxy (https://switchbrew.org/wiki/Applet_Manager_services#OpenSystemAppletProxy)
|
|
|
|
*/
|
|
|
|
void OpenSystemAppletProxy(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
|
|
|
};
|
|
|
|
}
|