mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 14:57:34 +00:00
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.
This commit is contained in:
parent
065040872f
commit
78803ce384
20 changed files with 175 additions and 53 deletions
|
@ -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);
|
||||
|
|
|
@ -15,8 +15,7 @@ namespace Clipboard {
|
|||
|
||||
class ClientConnection final
|
||||
: public IPC::ClientConnection<ClipboardClientEndpoint, ClipboardServerEndpoint>
|
||||
, public ClipboardServerEndpoint {
|
||||
|
||||
{
|
||||
C_OBJECT(ClientConnection);
|
||||
|
||||
public:
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace ImageDecoder {
|
|||
|
||||
class ClientConnection final
|
||||
: public IPC::ClientConnection<ImageDecoderClientEndpoint, ImageDecoderServerEndpoint>
|
||||
, public ImageDecoderServerEndpoint {
|
||||
{
|
||||
C_OBJECT(ClientConnection);
|
||||
|
||||
public:
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
namespace LaunchServer {
|
||||
|
||||
class ClientConnection final : public IPC::ClientConnection<LaunchClientEndpoint, LaunchServerEndpoint>
|
||||
, public LaunchServerEndpoint {
|
||||
{
|
||||
C_OBJECT(ClientConnection)
|
||||
public:
|
||||
~ClientConnection() override;
|
||||
|
|
|
@ -15,8 +15,7 @@ namespace LookupServer {
|
|||
|
||||
class ClientConnection final
|
||||
: public IPC::ClientConnection<LookupClientEndpoint, LookupServerEndpoint>
|
||||
, public LookupServerEndpoint {
|
||||
|
||||
{
|
||||
C_OBJECT(ClientConnection);
|
||||
|
||||
public:
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
namespace NotificationServer {
|
||||
|
||||
class ClientConnection final : public IPC::ClientConnection<NotificationClientEndpoint, NotificationServerEndpoint>
|
||||
, public NotificationServerEndpoint {
|
||||
{
|
||||
C_OBJECT(ClientConnection)
|
||||
public:
|
||||
~ClientConnection() override;
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace RequestServer {
|
|||
|
||||
class ClientConnection final
|
||||
: public IPC::ClientConnection<RequestClientEndpoint, RequestServerEndpoint>
|
||||
, public RequestServerEndpoint {
|
||||
{
|
||||
C_OBJECT(ClientConnection);
|
||||
|
||||
public:
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace SymbolServer {
|
|||
|
||||
class ClientConnection final
|
||||
: public IPC::ClientConnection<SymbolClientEndpoint, SymbolServerEndpoint>
|
||||
, public SymbolServerEndpoint {
|
||||
{
|
||||
C_OBJECT(ClientConnection);
|
||||
|
||||
public:
|
||||
|
|
|
@ -20,7 +20,7 @@ namespace WebContent {
|
|||
|
||||
class ClientConnection final
|
||||
: public IPC::ClientConnection<WebContentClientEndpoint, WebContentServerEndpoint>
|
||||
, public WebContentServerEndpoint {
|
||||
{
|
||||
C_OBJECT(ClientConnection);
|
||||
|
||||
public:
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace WebSocket {
|
|||
|
||||
class ClientConnection final
|
||||
: public IPC::ClientConnection<WebSocketClientEndpoint, WebSocketServerEndpoint>
|
||||
, public WebSocketServerEndpoint {
|
||||
{
|
||||
C_OBJECT(ClientConnection);
|
||||
|
||||
public:
|
||||
|
|
|
@ -29,7 +29,7 @@ class WMClientConnection;
|
|||
|
||||
class ClientConnection final
|
||||
: public IPC::ClientConnection<WindowClientEndpoint, WindowServerEndpoint>
|
||||
, public WindowServerEndpoint {
|
||||
{
|
||||
C_OBJECT(ClientConnection)
|
||||
public:
|
||||
~ClientConnection() override;
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace WindowServer {
|
|||
|
||||
class WMClientConnection final
|
||||
: public IPC::ClientConnection<WindowManagerClientEndpoint, WindowManagerServerEndpoint>
|
||||
, public WindowManagerServerEndpoint {
|
||||
{
|
||||
C_OBJECT(WMClientConnection)
|
||||
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue