2017-10-14 19:18:42 -07:00
|
|
|
// Copyright 2017 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 Service {
|
|
|
|
namespace SM {
|
|
|
|
|
|
|
|
class Controller final : public ServiceFramework<Controller> {
|
|
|
|
public:
|
2017-12-28 12:27:30 -08:00
|
|
|
Controller();
|
|
|
|
~Controller() = default;
|
2017-10-14 19:18:42 -07:00
|
|
|
|
|
|
|
private:
|
2017-10-14 22:24:22 -07:00
|
|
|
void ConvertSessionToDomain(Kernel::HLERequestContext& ctx);
|
2017-12-28 21:39:34 -08:00
|
|
|
void DuplicateSession(Kernel::HLERequestContext& ctx);
|
2017-10-14 19:18:42 -07:00
|
|
|
void QueryPointerBufferSize(Kernel::HLERequestContext& ctx);
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace SM
|
|
|
|
} // namespace Service
|