mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 00:56:39 +00:00
SQLServer: Add a hook to inform owners of disconnected SQL clients
This commit is contained in:
parent
fbf9cb3387
commit
5ece0a13c4
Notes:
sideshowbarker
2024-07-17 03:35:40 +09:00
Author: https://github.com/trflynn89
Commit: 5ece0a13c4
Pull-request: https://github.com/SerenityOS/serenity/pull/16401
Reviewed-by: https://github.com/awesomekling ✅
2 changed files with 5 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/DeprecatedString.h>
|
||||
#include <AK/Function.h>
|
||||
#include <AK/HashMap.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibIPC/ConnectionFromClient.h>
|
||||
|
@ -28,6 +29,7 @@ public:
|
|||
static RefPtr<ConnectionFromClient> client_connection_for(int client_id);
|
||||
|
||||
void set_database_path(DeprecatedString);
|
||||
Function<void()> on_disconnect;
|
||||
|
||||
private:
|
||||
explicit ConnectionFromClient(NonnullOwnPtr<Core::Stream::LocalSocket>, int client_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue