29 #include <QStringList> 33 class MUTILS_API IPCChannel_Private;
38 static const quint32 MAX_PARAM_LEN = 4096;
39 static const quint32 MAX_PARAM_CNT = 4;
43 RET_SUCCESS_MASTER = 0,
44 RET_SUCCESS_SLAVE = 1,
45 RET_ALREADY_INITIALIZED = 2,
50 IPCChannel(
const QString &applicationId,
const quint32 &versionNo,
const QString &channelId);
55 bool send(
const quint32 &command,
const quint32 &flags,
const QStringList ¶ms = QStringList());
56 bool read(quint32 &command, quint32 &flags, QStringList ¶ms);
59 IPCChannel(
const IPCChannel&) : p(NULL), m_appVersionNo((
unsigned int)(-1)) {
throw "Constructor is disabled!"; }
62 const QString m_applicationId;
63 const QString m_channelId;
64 const unsigned int m_appVersionNo;
65 const QByteArray m_headerStr;
67 IPCChannel_Private *
const p;
Definition: IPCChannel.h:35
This file contains miscellaneous functions that are generally useful for Qt-based applications...
Global MUtils namespace.
Definition: CPUFeatures.h:37