diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-01-07 19:55:44 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-01-07 20:32:31 +0100 |
commit | a6ad68190fb02af9c89dc461f451bb75c8a10a94 (patch) | |
tree | a1fd04b7356286f49d1624d81be53af5b9609145 /src/core/hle/service/service.h | |
parent | Merge pull request #438 from lioncash/swp (diff) | |
download | yuzu-a6ad68190fb02af9c89dc461f451bb75c8a10a94.tar yuzu-a6ad68190fb02af9c89dc461f451bb75c8a10a94.tar.gz yuzu-a6ad68190fb02af9c89dc461f451bb75c8a10a94.tar.bz2 yuzu-a6ad68190fb02af9c89dc461f451bb75c8a10a94.tar.lz yuzu-a6ad68190fb02af9c89dc461f451bb75c8a10a94.tar.xz yuzu-a6ad68190fb02af9c89dc461f451bb75c8a10a94.tar.zst yuzu-a6ad68190fb02af9c89dc461f451bb75c8a10a94.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/service.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.h index 28b4ccd17..41ba1e554 100644 --- a/src/core/hle/service/service.h +++ b/src/core/hle/service/service.h @@ -114,29 +114,22 @@ private: /// Simple class to manage accessing services from ports and UID handles class Manager { - public: - Manager(); - - ~Manager(); - - /// Add a service to the manager (does not create it though) + /// Add a service to the manager void AddService(Interface* service); - /// Removes a service from the manager (does not delete it though) + /// Removes a service from the manager void DeleteService(const std::string& port_name); - /// Get a Service Interface from its UID - Interface* FetchFromHandle(u32 uid); + /// Get a Service Interface from its Handle + Interface* FetchFromHandle(Handle handle); /// Get a Service Interface from its port Interface* FetchFromPortName(const std::string& port_name); private: - std::vector<Interface*> m_services; std::map<std::string, u32> m_port_map; - }; /// Initialize ServiceManager |