mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-17 20:32:45 +01:00
30 lines
1,016 B
C++
30 lines
1,016 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
// Namespace APT_U
|
|
|
|
namespace APT_U {
|
|
|
|
// Application and title launching service. These services handle signaling for home/power button as
|
|
// well. Only one session for either APT service can be open at a time, normally processes close the
|
|
// service handle immediately once finished using the service. The commands for APT:U and APT:S are
|
|
// exactly the same, however certain commands are only accessible with APT:S(NS module will call
|
|
// svcBreak when the command isn't accessible). See http://3dbrew.org/wiki/NS#APT_Services.
|
|
|
|
/// Interface to "APT:U" service
|
|
class Interface : public Service::Interface {
|
|
public:
|
|
Interface();
|
|
|
|
std::string GetPortName() const override {
|
|
return "APT:U";
|
|
}
|
|
};
|
|
|
|
} // namespace
|