diff options
| author | 2021-06-28 14:41:24 -0700 | |
|---|---|---|
| committer | 2021-07-20 18:54:55 -0700 | |
| commit | 015058fadf8dbc72c186e833512e7189c625474b (patch) | |
| tree | bc8839ef4b46c86283fda20cf95e4b0c6ab18e54 /src/core/hle/service/service.h | |
| parent | hle: kernel: Provide methods for tracking dangling kernel objects. (diff) | |
| download | yuzu-015058fadf8dbc72c186e833512e7189c625474b.tar.gz yuzu-015058fadf8dbc72c186e833512e7189c625474b.tar.xz yuzu-015058fadf8dbc72c186e833512e7189c625474b.zip | |
hle: service: Add a helper module for managing kernel objects.
Diffstat (limited to 'src/core/hle/service/service.h')
| -rw-r--r-- | src/core/hle/service/service.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.h index e078ac176..632ce9252 100644 --- a/src/core/hle/service/service.h +++ b/src/core/hle/service/service.h | |||
| @@ -96,6 +96,9 @@ protected: | |||
| 96 | /// System context that the service operates under. | 96 | /// System context that the service operates under. |
| 97 | Core::System& system; | 97 | Core::System& system; |
| 98 | 98 | ||
| 99 | /// Identifier string used to connect to the service. | ||
| 100 | std::string service_name; | ||
| 101 | |||
| 99 | private: | 102 | private: |
| 100 | template <typename T> | 103 | template <typename T> |
| 101 | friend class ServiceFramework; | 104 | friend class ServiceFramework; |
| @@ -117,8 +120,6 @@ private: | |||
| 117 | void RegisterHandlersBaseTipc(const FunctionInfoBase* functions, std::size_t n); | 120 | void RegisterHandlersBaseTipc(const FunctionInfoBase* functions, std::size_t n); |
| 118 | void ReportUnimplementedFunction(Kernel::HLERequestContext& ctx, const FunctionInfoBase* info); | 121 | void ReportUnimplementedFunction(Kernel::HLERequestContext& ctx, const FunctionInfoBase* info); |
| 119 | 122 | ||
| 120 | /// Identifier string used to connect to the service. | ||
| 121 | std::string service_name; | ||
| 122 | /// Maximum number of concurrent sessions that this service can handle. | 123 | /// Maximum number of concurrent sessions that this service can handle. |
| 123 | u32 max_sessions; | 124 | u32 max_sessions; |
| 124 | 125 | ||