1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-04 20:32:04 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Apm/IManager.cs
Ac_K a0720b5681 Refactoring HOS folder structure (#771)
* Refactoring HOS folder structure

Refactoring HOS folder structure:

- Added some subfolders when needed (Following structure decided in private).
- Added some `Types` folders when needed.
- Little cleanup here and there.
- Add services placeholders for every HOS services (close #766 and #753).

* Remove Types namespaces
2019-09-19 10:45:11 +10:00

17 lines
No EOL
408 B
C#

namespace Ryujinx.HLE.HOS.Services.Apm
{
[Service("apm")] // 8.0.0+
class IManager : IpcService
{
public IManager(ServiceCtx context) { }
[Command(0)]
// OpenSession() -> object<nn::apm::ISession>
public ResultCode OpenSession(ServiceCtx context)
{
MakeObject(context, new ISession());
return ResultCode.Success;
}
}
}