diff --git a/Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h b/Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h index f702788dfa7..9f88ae8acc6 100644 --- a/Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h +++ b/Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h @@ -14,7 +14,7 @@ #define LANGUAGE_CLIENT(language_name_, socket_name) \ namespace language_name_ { \ - class ServerConnection : public HackStudio::ServerConnection { \ + class ServerConnection final : public HackStudio::ServerConnection { \ C_OBJECT(ServerConnection) \ public: \ static const char* language_name() { return #language_name_; } \ diff --git a/Userland/DevTools/HackStudio/LanguageServers/ClientConnection.h b/Userland/DevTools/HackStudio/LanguageServers/ClientConnection.h index de1f4398fc3..b227923dd38 100644 --- a/Userland/DevTools/HackStudio/LanguageServers/ClientConnection.h +++ b/Userland/DevTools/HackStudio/LanguageServers/ClientConnection.h @@ -18,8 +18,7 @@ namespace LanguageServers { -class ClientConnection - : public IPC::ClientConnection { +class ClientConnection : public IPC::ClientConnection { public: explicit ClientConnection(NonnullRefPtr, int client_id); ~ClientConnection() override; diff --git a/Userland/Libraries/LibAudio/ClientConnection.h b/Userland/Libraries/LibAudio/ClientConnection.h index 7fe5e58af7e..f9c0a1dca34 100644 --- a/Userland/Libraries/LibAudio/ClientConnection.h +++ b/Userland/Libraries/LibAudio/ClientConnection.h @@ -14,7 +14,8 @@ namespace Audio { class Buffer; -class ClientConnection : public IPC::ServerConnection +class ClientConnection final + : public IPC::ServerConnection , public AudioClientEndpoint { C_OBJECT(ClientConnection) public: diff --git a/Userland/Libraries/LibDesktop/Launcher.cpp b/Userland/Libraries/LibDesktop/Launcher.cpp index 3186cdb0133..3ab43c60205 100644 --- a/Userland/Libraries/LibDesktop/Launcher.cpp +++ b/Userland/Libraries/LibDesktop/Launcher.cpp @@ -34,7 +34,8 @@ auto Launcher::Details::from_details_str(const String& details_str) -> NonnullRe return details; } -class LaunchServerConnection : public IPC::ServerConnection +class LaunchServerConnection final + : public IPC::ServerConnection , public LaunchClientEndpoint { C_OBJECT(LaunchServerConnection) private: diff --git a/Userland/Libraries/LibGUI/Clipboard.cpp b/Userland/Libraries/LibGUI/Clipboard.cpp index 5b44a1cd330..7a15d72b771 100644 --- a/Userland/Libraries/LibGUI/Clipboard.cpp +++ b/Userland/Libraries/LibGUI/Clipboard.cpp @@ -12,7 +12,8 @@ namespace GUI { -class ClipboardServerConnection : public IPC::ServerConnection +class ClipboardServerConnection final + : public IPC::ServerConnection , public ClipboardClientEndpoint { C_OBJECT(ClipboardServerConnection); diff --git a/Userland/Libraries/LibGUI/Notification.cpp b/Userland/Libraries/LibGUI/Notification.cpp index 445237768f7..1af051f23ec 100644 --- a/Userland/Libraries/LibGUI/Notification.cpp +++ b/Userland/Libraries/LibGUI/Notification.cpp @@ -11,7 +11,8 @@ namespace GUI { -class NotificationServerConnection : public IPC::ServerConnection +class NotificationServerConnection final + : public IPC::ServerConnection , public NotificationClientEndpoint { C_OBJECT(NotificationServerConnection) diff --git a/Userland/Libraries/LibGUI/WindowManagerServerConnection.h b/Userland/Libraries/LibGUI/WindowManagerServerConnection.h index 8efd9225032..8898448c1c3 100644 --- a/Userland/Libraries/LibGUI/WindowManagerServerConnection.h +++ b/Userland/Libraries/LibGUI/WindowManagerServerConnection.h @@ -12,7 +12,7 @@ namespace GUI { -class WindowManagerServerConnection +class WindowManagerServerConnection final : public IPC::ServerConnection , public WindowManagerClientEndpoint { C_OBJECT(WindowManagerServerConnection) diff --git a/Userland/Libraries/LibGUI/WindowServerConnection.h b/Userland/Libraries/LibGUI/WindowServerConnection.h index d5aef15cc6e..ee1a032752e 100644 --- a/Userland/Libraries/LibGUI/WindowServerConnection.h +++ b/Userland/Libraries/LibGUI/WindowServerConnection.h @@ -12,7 +12,7 @@ namespace GUI { -class WindowServerConnection +class WindowServerConnection final : public IPC::ServerConnection , public WindowClientEndpoint { C_OBJECT(WindowServerConnection) diff --git a/Userland/Libraries/LibProtocol/RequestClient.h b/Userland/Libraries/LibProtocol/RequestClient.h index d9b31787a00..0bb02567ab0 100644 --- a/Userland/Libraries/LibProtocol/RequestClient.h +++ b/Userland/Libraries/LibProtocol/RequestClient.h @@ -15,7 +15,7 @@ namespace Protocol { class Request; -class RequestClient +class RequestClient final : public IPC::ServerConnection , public RequestClientEndpoint { C_OBJECT(RequestClient); diff --git a/Userland/Libraries/LibProtocol/WebSocketClient.h b/Userland/Libraries/LibProtocol/WebSocketClient.h index ac6a2d0a981..c2f8a70ce6a 100644 --- a/Userland/Libraries/LibProtocol/WebSocketClient.h +++ b/Userland/Libraries/LibProtocol/WebSocketClient.h @@ -15,7 +15,7 @@ namespace Protocol { class WebSocket; -class WebSocketClient +class WebSocketClient final : public IPC::ServerConnection , public WebSocketClientEndpoint { C_OBJECT(WebSocketClient);