diff options
author | Itay Grudev <itay+github.com@grudev.com> | 2020-12-17 11:47:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-17 11:47:01 +0200 |
commit | dc8042b5db58f36e06ba54f16f38b16c5eea9053 (patch) | |
tree | 1025557f8196116bf4c262c5ec4eecaf5707094e /singleapplication_p.h | |
parent | Update CHANGELOG.md (diff) | |
parent | Allow adding unique userdata to instances (diff) | |
download | singleapplication-dc8042b5db58f36e06ba54f16f38b16c5eea9053.tar.xz |
Merge pull request #122 from LorenDB/master
Allow adding unique userdata to instances
Diffstat (limited to 'singleapplication_p.h')
-rw-r--r-- | singleapplication_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/singleapplication_p.h b/singleapplication_p.h index d0703e3..c49a46d 100644 --- a/singleapplication_p.h +++ b/singleapplication_p.h @@ -82,6 +82,8 @@ public: void readInitMessageHeader(QLocalSocket *socket); void readInitMessageBody(QLocalSocket *socket); static void randomSleep(); + void addAppData(const QString &data); + QStringList appData() const; SingleApplication *q_ptr; QSharedMemory *memory; @@ -91,6 +93,7 @@ public: QString blockServerName; SingleApplication::Options options; QMap<QLocalSocket*, ConnectionInfo> connectionMap; + QStringList appDataList; public Q_SLOTS: void slotConnectionEstablished(); |