2018-01-13 21:22:39 +00:00
|
|
|
// Copyright 2018 yuzu emulator team
|
2017-10-15 02:18:42 +00:00
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
|
|
|
|
namespace Service {
|
|
|
|
namespace SM {
|
|
|
|
|
|
|
|
class Controller final : public ServiceFramework<Controller> {
|
|
|
|
public:
|
2017-12-28 20:27:30 +00:00
|
|
|
Controller();
|
|
|
|
~Controller() = default;
|
2017-10-15 02:18:42 +00:00
|
|
|
|
|
|
|
private:
|
2017-10-15 05:24:22 +00:00
|
|
|
void ConvertSessionToDomain(Kernel::HLERequestContext& ctx);
|
2017-12-29 05:39:34 +00:00
|
|
|
void DuplicateSession(Kernel::HLERequestContext& ctx);
|
2018-01-17 19:41:43 +00:00
|
|
|
void DuplicateSessionEx(Kernel::HLERequestContext& ctx);
|
2017-10-15 02:18:42 +00:00
|
|
|
void QueryPointerBufferSize(Kernel::HLERequestContext& ctx);
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace SM
|
|
|
|
} // namespace Service
|