diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-03 06:28:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-03 06:28:43 +0200 |
commit | 4c3c608d59b8c8d8a9bbccc1b55efcab346e650f (patch) | |
tree | 90f6325f37efcb09c79cfa2f84eb82157d4592a7 /src/core/hle/service/sm/sm.h | |
parent | Merge pull request #904 from lioncash/static (diff) | |
parent | kernel: Move object class to its own source files (diff) | |
download | yuzu-4c3c608d59b8c8d8a9bbccc1b55efcab346e650f.tar yuzu-4c3c608d59b8c8d8a9bbccc1b55efcab346e650f.tar.gz yuzu-4c3c608d59b8c8d8a9bbccc1b55efcab346e650f.tar.bz2 yuzu-4c3c608d59b8c8d8a9bbccc1b55efcab346e650f.tar.lz yuzu-4c3c608d59b8c8d8a9bbccc1b55efcab346e650f.tar.xz yuzu-4c3c608d59b8c8d8a9bbccc1b55efcab346e650f.tar.zst yuzu-4c3c608d59b8c8d8a9bbccc1b55efcab346e650f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/sm/sm.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/hle/service/sm/sm.h b/src/core/hle/service/sm/sm.h index e2a00e4f6..e8ea62f08 100644 --- a/src/core/hle/service/sm/sm.h +++ b/src/core/hle/service/sm/sm.h @@ -4,9 +4,11 @@ #pragma once +#include <memory> #include <string> #include <unordered_map> -#include "core/hle/kernel/kernel.h" + +#include "core/hle/kernel/object.h" #include "core/hle/result.h" #include "core/hle/service/service.h" @@ -19,6 +21,8 @@ class SessionRequestHandler; namespace Service::SM { +class Controller; + /// Interface to "sm:" service class SM final : public ServiceFramework<SM> { public: @@ -32,8 +36,6 @@ private: std::shared_ptr<ServiceManager> service_manager; }; -class Controller; - constexpr ResultCode ERR_SERVICE_NOT_REGISTERED(-1); constexpr ResultCode ERR_MAX_CONNECTIONS_REACHED(-1); constexpr ResultCode ERR_INVALID_NAME_SIZE(-1); |