mirror of
https://github.com/Takiiiiiiii/strato.git
synced 2025-07-17 08:46:39 +00:00
Refactor am services
Use the new service naming scheme. Remove redundant casts and template specifiers in response.Push.
This commit is contained in:
@ -0,0 +1,11 @@
|
||||
#include "IApplicationFunctions.h"
|
||||
|
||||
namespace skyline::service::am {
|
||||
IApplicationFunctions::IApplicationFunctions(const DeviceState &state, ServiceManager &manager) : BaseService(state, manager, Service::am_IApplicationFunctions, "am:IApplicationFunctions", {
|
||||
{0x28, SFUNC(IApplicationFunctions::NotifyRunning)}
|
||||
}) {}
|
||||
|
||||
void IApplicationFunctions::NotifyRunning(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||
response.Push<u8>(1);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user