summaryrefslogtreecommitdiff
path: root/Userland/Services
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-05-03 08:46:40 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-03 21:14:06 +0200
commit78803ce384d62c40958cc8191a036307f5d8bc9f (patch)
treee8ae0a6a50f307e92a2074967417c1bc845e6d31 /Userland/Services
parent065040872f62f608374da6709502033720442882 (diff)
downloadserenity-78803ce384d62c40958cc8191a036307f5d8bc9f.zip
Userland: Split IPC endpoints into proxies and stubs
This enables support for automatically generating client methods. With this added the user gets code completion support for all IPC methods which are available on a connection object.
Diffstat (limited to 'Userland/Services')
-rw-r--r--Userland/Services/AudioServer/ClientConnection.h2
-rw-r--r--Userland/Services/Clipboard/ClientConnection.h3
-rw-r--r--Userland/Services/ImageDecoder/ClientConnection.h2
-rw-r--r--Userland/Services/LaunchServer/ClientConnection.h2
-rw-r--r--Userland/Services/LookupServer/ClientConnection.h3
-rw-r--r--Userland/Services/NotificationServer/ClientConnection.h2
-rw-r--r--Userland/Services/RequestServer/ClientConnection.h2
-rw-r--r--Userland/Services/SymbolServer/ClientConnection.h2
-rw-r--r--Userland/Services/WebContent/ClientConnection.h2
-rw-r--r--Userland/Services/WebSocket/ClientConnection.h2
-rw-r--r--Userland/Services/WindowServer/ClientConnection.h2
-rw-r--r--Userland/Services/WindowServer/WMClientConnection.h2
12 files changed, 12 insertions, 14 deletions
diff --git a/Userland/Services/AudioServer/ClientConnection.h b/Userland/Services/AudioServer/ClientConnection.h
index 5d79155e25..1a66f4bf70 100644
--- a/Userland/Services/AudioServer/ClientConnection.h
+++ b/Userland/Services/AudioServer/ClientConnection.h
@@ -21,7 +21,7 @@ class BufferQueue;
class Mixer;
class ClientConnection final : public IPC::ClientConnection<AudioClientEndpoint, AudioServerEndpoint>
- , public AudioServerEndpoint {
+{
C_OBJECT(ClientConnection)
public:
explicit ClientConnection(NonnullRefPtr<Core::LocalSocket>, int client_id, Mixer& mixer);
diff --git a/Userland/Services/Clipboard/ClientConnection.h b/Userland/Services/Clipboard/ClientConnection.h
index 70d33da56d..1bf0055b2d 100644
--- a/Userland/Services/Clipboard/ClientConnection.h
+++ b/Userland/Services/Clipboard/ClientConnection.h
@@ -15,8 +15,7 @@ namespace Clipboard {
class ClientConnection final
: public IPC::ClientConnection<ClipboardClientEndpoint, ClipboardServerEndpoint>
- , public ClipboardServerEndpoint {
-
+{
C_OBJECT(ClientConnection);
public:
diff --git a/Userland/Services/ImageDecoder/ClientConnection.h b/Userland/Services/ImageDecoder/ClientConnection.h
index 950b799bac..89d6ef856d 100644
--- a/Userland/Services/ImageDecoder/ClientConnection.h
+++ b/Userland/Services/ImageDecoder/ClientConnection.h
@@ -17,7 +17,7 @@ namespace ImageDecoder {
class ClientConnection final
: public IPC::ClientConnection<ImageDecoderClientEndpoint, ImageDecoderServerEndpoint>
- , public ImageDecoderServerEndpoint {
+{
C_OBJECT(ClientConnection);
public:
diff --git a/Userland/Services/LaunchServer/ClientConnection.h b/Userland/Services/LaunchServer/ClientConnection.h
index e14c2a61b9..c4e7c6ad57 100644
--- a/Userland/Services/LaunchServer/ClientConnection.h
+++ b/Userland/Services/LaunchServer/ClientConnection.h
@@ -13,7 +13,7 @@
namespace LaunchServer {
class ClientConnection final : public IPC::ClientConnection<LaunchClientEndpoint, LaunchServerEndpoint>
- , public LaunchServerEndpoint {
+{
C_OBJECT(ClientConnection)
public:
~ClientConnection() override;
diff --git a/Userland/Services/LookupServer/ClientConnection.h b/Userland/Services/LookupServer/ClientConnection.h
index 3289e36be0..50f7316c50 100644
--- a/Userland/Services/LookupServer/ClientConnection.h
+++ b/Userland/Services/LookupServer/ClientConnection.h
@@ -15,8 +15,7 @@ namespace LookupServer {
class ClientConnection final
: public IPC::ClientConnection<LookupClientEndpoint, LookupServerEndpoint>
- , public LookupServerEndpoint {
-
+{
C_OBJECT(ClientConnection);
public:
diff --git a/Userland/Services/NotificationServer/ClientConnection.h b/Userland/Services/NotificationServer/ClientConnection.h
index faf2090737..2abe843cce 100644
--- a/Userland/Services/NotificationServer/ClientConnection.h
+++ b/Userland/Services/NotificationServer/ClientConnection.h
@@ -13,7 +13,7 @@
namespace NotificationServer {
class ClientConnection final : public IPC::ClientConnection<NotificationClientEndpoint, NotificationServerEndpoint>
- , public NotificationServerEndpoint {
+{
C_OBJECT(ClientConnection)
public:
~ClientConnection() override;
diff --git a/Userland/Services/RequestServer/ClientConnection.h b/Userland/Services/RequestServer/ClientConnection.h
index 877c92e628..6bfcd6e172 100644
--- a/Userland/Services/RequestServer/ClientConnection.h
+++ b/Userland/Services/RequestServer/ClientConnection.h
@@ -16,7 +16,7 @@ namespace RequestServer {
class ClientConnection final
: public IPC::ClientConnection<RequestClientEndpoint, RequestServerEndpoint>
- , public RequestServerEndpoint {
+{
C_OBJECT(ClientConnection);
public:
diff --git a/Userland/Services/SymbolServer/ClientConnection.h b/Userland/Services/SymbolServer/ClientConnection.h
index 900aaf3301..ea6132983c 100644
--- a/Userland/Services/SymbolServer/ClientConnection.h
+++ b/Userland/Services/SymbolServer/ClientConnection.h
@@ -17,7 +17,7 @@ namespace SymbolServer {
class ClientConnection final
: public IPC::ClientConnection<SymbolClientEndpoint, SymbolServerEndpoint>
- , public SymbolServerEndpoint {
+{
C_OBJECT(ClientConnection);
public:
diff --git a/Userland/Services/WebContent/ClientConnection.h b/Userland/Services/WebContent/ClientConnection.h
index f9cf68fb2c..cfc0ea691d 100644
--- a/Userland/Services/WebContent/ClientConnection.h
+++ b/Userland/Services/WebContent/ClientConnection.h
@@ -20,7 +20,7 @@ namespace WebContent {
class ClientConnection final
: public IPC::ClientConnection<WebContentClientEndpoint, WebContentServerEndpoint>
- , public WebContentServerEndpoint {
+{
C_OBJECT(ClientConnection);
public:
diff --git a/Userland/Services/WebSocket/ClientConnection.h b/Userland/Services/WebSocket/ClientConnection.h
index e9b6f327ac..65720e2f99 100644
--- a/Userland/Services/WebSocket/ClientConnection.h
+++ b/Userland/Services/WebSocket/ClientConnection.h
@@ -16,7 +16,7 @@ namespace WebSocket {
class ClientConnection final
: public IPC::ClientConnection<WebSocketClientEndpoint, WebSocketServerEndpoint>
- , public WebSocketServerEndpoint {
+{
C_OBJECT(ClientConnection);
public:
diff --git a/Userland/Services/WindowServer/ClientConnection.h b/Userland/Services/WindowServer/ClientConnection.h
index d04cf2f309..3d8a32a2a2 100644
--- a/Userland/Services/WindowServer/ClientConnection.h
+++ b/Userland/Services/WindowServer/ClientConnection.h
@@ -29,7 +29,7 @@ class WMClientConnection;
class ClientConnection final
: public IPC::ClientConnection<WindowClientEndpoint, WindowServerEndpoint>
- , public WindowServerEndpoint {
+{
C_OBJECT(ClientConnection)
public:
~ClientConnection() override;
diff --git a/Userland/Services/WindowServer/WMClientConnection.h b/Userland/Services/WindowServer/WMClientConnection.h
index 561acd6f77..1e7ff649fc 100644
--- a/Userland/Services/WindowServer/WMClientConnection.h
+++ b/Userland/Services/WindowServer/WMClientConnection.h
@@ -16,7 +16,7 @@ namespace WindowServer {
class WMClientConnection final
: public IPC::ClientConnection<WindowManagerClientEndpoint, WindowManagerServerEndpoint>
- , public WindowManagerServerEndpoint {
+{
C_OBJECT(WMClientConnection)
public: