kernel/server_session: Provide a GetName() override
Given server sessions can be given a name, we should allow retrieving it instead of using the default implementation of GetName(), which would just return "[UNKNOWN KERNEL OBJECT]".
This commit is contained in:
parent
e796351a0d
commit
a074363a5d
|
@ -41,6 +41,10 @@ public:
|
|||
return "ServerSession";
|
||||
}
|
||||
|
||||
std::string GetName() const override {
|
||||
return name;
|
||||
}
|
||||
|
||||
static const HandleType HANDLE_TYPE = HandleType::ServerSession;
|
||||
HandleType GetHandleType() const override {
|
||||
return HANDLE_TYPE;
|
||||
|
|
Loading…
Reference in New Issue