Limo
A simple mod manager
Loading...
Searching...
No Matches
IpcClient Class Reference

Manages a QLocalSocket used for communication with other Limo instances. More...

#include <ipcclient.h>

Inheritance diagram for IpcClient:
Collaboration diagram for IpcClient:

Public Member Functions

 IpcClient ()
 Initializes the socket.
 
 ~IpcClient ()
 Deletes the socket.
 
bool connect ()
 Connects the socket to the IpcServer.
 
void sendString (const std::string &data)
 Sends the given string to the IpcServer.
 

Private Attributes

QLocalSocket * socket_
 The socket used for IPC.
 

Detailed Description

Manages a QLocalSocket used for communication with other Limo instances.

Member Function Documentation

◆ connect()

bool IpcClient::connect ( )

Connects the socket to the IpcServer.

Returns
True if the connection was successful.

◆ sendString()

void IpcClient::sendString ( const std::string & data)

Sends the given string to the IpcServer.

Parameters
dataString to send.

The documentation for this class was generated from the following files: