![]() |
Limo
A simple mod manager
|
Manages a QLocalSocket used for communication with other Limo instances. More...
#include <ipcclient.h>
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. | |
Manages a QLocalSocket used for communication with other Limo instances.
bool IpcClient::connect | ( | ) |
Connects the socket to the IpcServer.
void IpcClient::sendString | ( | const std::string & | data | ) |
Sends the given string to the IpcServer.
data | String to send. |