2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

service: Clean up apm/lm/applet_oe/controller/sm ctor/dtor.

This commit is contained in:
bunnei 2017-12-28 15:27:30 -05:00
parent 16fb1c8fe7
commit ad073846bc
10 changed files with 10 additions and 20 deletions

View file

@ -16,7 +16,5 @@ AppletOE::AppletOE() : ServiceFramework("appletOE") {
RegisterHandlers(functions); RegisterHandlers(functions);
} }
AppletOE::~AppletOE() = default;
} // namespace AM } // namespace AM
} // namespace Service } // namespace Service

View file

@ -11,8 +11,8 @@ namespace AM {
class AppletOE final : public ServiceFramework<AppletOE> { class AppletOE final : public ServiceFramework<AppletOE> {
public: public:
explicit AppletOE(); AppletOE();
~AppletOE(); ~AppletOE() = default;
}; };
} // namespace AM } // namespace AM

View file

@ -21,7 +21,5 @@ APM::APM() : ServiceFramework("apm") {
RegisterHandlers(functions); RegisterHandlers(functions);
} }
APM::~APM() = default;
} // namespace APM } // namespace APM
} // namespace Service } // namespace Service

View file

@ -11,8 +11,8 @@ namespace APM {
class APM final : public ServiceFramework<APM> { class APM final : public ServiceFramework<APM> {
public: public:
explicit APM(); APM();
~APM(); ~APM() = default;
}; };
/// Registers all AM services with the specified service manager. /// Registers all AM services with the specified service manager.

View file

@ -92,7 +92,5 @@ LM::LM() : ServiceFramework("lm") {
RegisterHandlers(functions); RegisterHandlers(functions);
} }
LM::~LM() = default;
} // namespace LM } // namespace LM
} // namespace Service } // namespace Service

View file

@ -14,8 +14,8 @@ namespace LM {
class LM final : public ServiceFramework<LM> { class LM final : public ServiceFramework<LM> {
public: public:
explicit LM(); LM();
~LM(); ~LM() = default;
private: private:
void Initialize(Kernel::HLERequestContext& ctx); void Initialize(Kernel::HLERequestContext& ctx);

View file

@ -54,7 +54,5 @@ Controller::Controller() : ServiceFramework("IpcController") {
RegisterHandlers(functions); RegisterHandlers(functions);
} }
Controller::~Controller() = default;
} // namespace SM } // namespace SM
} // namespace Service } // namespace Service

View file

@ -11,8 +11,8 @@ namespace SM {
class Controller final : public ServiceFramework<Controller> { class Controller final : public ServiceFramework<Controller> {
public: public:
explicit Controller(); Controller();
~Controller(); ~Controller() = default;
private: private:
void ConvertSessionToDomain(Kernel::HLERequestContext& ctx); void ConvertSessionToDomain(Kernel::HLERequestContext& ctx);

View file

@ -147,7 +147,5 @@ SM::SM(std::shared_ptr<ServiceManager> service_manager)
RegisterHandlers(functions); RegisterHandlers(functions);
} }
SM::~SM() = default;
} // namespace SM } // namespace SM
} // namespace Service } // namespace Service

View file

@ -23,8 +23,8 @@ namespace SM {
/// Interface to "sm:" service /// Interface to "sm:" service
class SM final : public ServiceFramework<SM> { class SM final : public ServiceFramework<SM> {
public: public:
explicit SM(std::shared_ptr<ServiceManager> service_manager); SM(std::shared_ptr<ServiceManager> service_manager);
~SM(); ~SM() = default;
private: private:
void Initialize(Kernel::HLERequestContext& ctx); void Initialize(Kernel::HLERequestContext& ctx);