diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2020-12-10 19:18:00 -0500 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2020-12-16 22:17:24 -0500 |
commit | f236032cf988950c12ebd8ff5e3cd3f9778ea55a (patch) | |
tree | 1025557f8196116bf4c262c5ec4eecaf5707094e /singleapplication_p.h | |
parent | Update CHANGELOG.md (diff) | |
download | singleapplication-f236032cf988950c12ebd8ff5e3cd3f9778ea55a.tar.xz |
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(); |