16#ifndef __sync_interprocesscommunicator_h__
17#define __sync_interprocesscommunicator_h__
19#include <qlocalsocket.h>
27#define MAX_NO_ALLOWED 32
52 void OnNewIncomingConnection();
53 void OnDataReceived(
vector<std::shared_ptr<QByteArray>> dat);
61 QLocalServer *receiver;
62 void TryConnectTo(
int connectToId);
static void Int32ToChar(char a[], int n)
bool SendData(QByteArray data)
void SyncDataReceived(vector< std::shared_ptr< QByteArray > > data)
InterprocessCommunicator()
static int CharTo32bitNum(char a[])