diff options
author | Kevin Funk <kevin.funk.ford@kdab.com> | 2016-04-01 17:54:58 +0200 |
---|---|---|
committer | Kevin Funk <kevin.funk@kdab.com> | 2016-04-04 18:45:05 +0000 |
commit | 848c2c60ebf437fd8157cc51c7bc2ead9050995c (patch) | |
tree | 9ac8d30c0a06fd1ee945c18722d8e3772d77d435 /src/remoteobjects/qremoteobjectnode_p.h | |
parent | dee4415fc555581a62acb1e4c57c446a8d9ac555 (diff) |
Introduce QRemoteObjectNode::instances
Change-Id: Idc222afe132083f617fd9b424685a4ed8168974f
Reviewed-by: Continuous Integration (KDAB) <build@kdab.com>
Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
Diffstat (limited to 'src/remoteobjects/qremoteobjectnode_p.h')
-rw-r--r-- | src/remoteobjects/qremoteobjectnode_p.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/remoteobjects/qremoteobjectnode_p.h b/src/remoteobjects/qremoteobjectnode_p.h index 57a6635..0951081 100644 --- a/src/remoteobjects/qremoteobjectnode_p.h +++ b/src/remoteobjects/qremoteobjectnode_p.h @@ -91,11 +91,17 @@ public: void initialize(); public: + struct SourceInfo + { + ClientIoDevice* device; + QString typeName; + }; + QAtomicInt isInitialized; QMutex mutex; QUrl registryAddress; QHash<QString, QWeakPointer<QReplicaPrivateInterface> > replicas; - QMap<QString, ClientIoDevice*> connectedSources; + QMap<QString, SourceInfo> connectedSources; QSet<ClientIoDevice*> pendingReconnect; QSet<QUrl> requestedUrls; QSignalMapper clientRead; |