mirror of https://git.suyu.dev/suyu/suyu
Merge pull request #1251 from lioncash/core-inc
core/core: Remove unnecessary sm/controller include
This commit is contained in:
commit
b89dda2b98
|
@ -24,7 +24,6 @@
|
||||||
#include "core/hle/kernel/scheduler.h"
|
#include "core/hle/kernel/scheduler.h"
|
||||||
#include "core/hle/kernel/thread.h"
|
#include "core/hle/kernel/thread.h"
|
||||||
#include "core/hle/service/service.h"
|
#include "core/hle/service/service.h"
|
||||||
#include "core/hle/service/sm/controller.h"
|
|
||||||
#include "core/hle/service/sm/sm.h"
|
#include "core/hle/service/sm/sm.h"
|
||||||
#include "core/loader/loader.h"
|
#include "core/loader/loader.h"
|
||||||
#include "core/perf_stats.h"
|
#include "core/perf_stats.h"
|
||||||
|
|
|
@ -57,4 +57,6 @@ Controller::Controller() : ServiceFramework("IpcController") {
|
||||||
RegisterHandlers(functions);
|
RegisterHandlers(functions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Controller::~Controller() = default;
|
||||||
|
|
||||||
} // namespace Service::SM
|
} // namespace Service::SM
|
||||||
|
|
|
@ -11,7 +11,7 @@ namespace Service::SM {
|
||||||
class Controller final : public ServiceFramework<Controller> {
|
class Controller final : public ServiceFramework<Controller> {
|
||||||
public:
|
public:
|
||||||
Controller();
|
Controller();
|
||||||
~Controller() = default;
|
~Controller() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void ConvertSessionToDomain(Kernel::HLERequestContext& ctx);
|
void ConvertSessionToDomain(Kernel::HLERequestContext& ctx);
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
namespace Service::SM {
|
namespace Service::SM {
|
||||||
|
|
||||||
|
ServiceManager::ServiceManager() = default;
|
||||||
ServiceManager::~ServiceManager() = default;
|
ServiceManager::~ServiceManager() = default;
|
||||||
|
|
||||||
void ServiceManager::InvokeControlRequest(Kernel::HLERequestContext& context) {
|
void ServiceManager::InvokeControlRequest(Kernel::HLERequestContext& context) {
|
||||||
|
|
|
@ -46,6 +46,7 @@ class ServiceManager {
|
||||||
public:
|
public:
|
||||||
static void InstallInterfaces(std::shared_ptr<ServiceManager> self);
|
static void InstallInterfaces(std::shared_ptr<ServiceManager> self);
|
||||||
|
|
||||||
|
ServiceManager();
|
||||||
~ServiceManager();
|
~ServiceManager();
|
||||||
|
|
||||||
ResultVal<Kernel::SharedPtr<Kernel::ServerPort>> RegisterService(std::string name,
|
ResultVal<Kernel::SharedPtr<Kernel::ServerPort>> RegisterService(std::string name,
|
||||||
|
|
Loading…
Reference in New Issue