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 IApplicationProxyService is used to open an application proxy (https://switchbrew.org/wiki/Applet_Manager_services#appletOE)
|
|
|
|
*/
|
|
|
|
class IApplicationProxyService : public BaseService {
|
|
|
|
public:
|
|
|
|
IApplicationProxyService(const DeviceState &state, ServiceManager &manager);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief This returns #IApplicationProxy (https://switchbrew.org/wiki/Applet_Manager_services#OpenApplicationProxy)
|
|
|
|
*/
|
|
|
|
void OpenApplicationProxy(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
|
|
|
};
|
|
|
|
}
|