56ab608044
The only reason this include was necessary, was because the constructor wasn't defaulted in the cpp file and the compiler would inline it wherever it was used. However, given Controller is forward declared, all those inlined constructors would see an incomplete type, causing a compilation failure. So, we just place the constructor in the cpp file, where it can see the complete type definition, allowing us to remove this include.
23 lines
612 B
C++
23 lines
612 B
C++
// Copyright 2018 yuzu emulator team
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
namespace Service::SM {
|
|
|
|
class Controller final : public ServiceFramework<Controller> {
|
|
public:
|
|
Controller();
|
|
~Controller() override;
|
|
|
|
private:
|
|
void ConvertSessionToDomain(Kernel::HLERequestContext& ctx);
|
|
void DuplicateSession(Kernel::HLERequestContext& ctx);
|
|
void DuplicateSessionEx(Kernel::HLERequestContext& ctx);
|
|
void QueryPointerBufferSize(Kernel::HLERequestContext& ctx);
|
|
};
|
|
|
|
} // namespace Service::SM
|