diff options
Diffstat (limited to 'common/resourceaccess.h')
-rw-r--r-- | common/resourceaccess.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/resourceaccess.h b/common/resourceaccess.h index dc7640d..c16a9d2 100644 --- a/common/resourceaccess.h +++ b/common/resourceaccess.h | |||
@@ -46,6 +46,10 @@ public: | |||
46 | Async::Job<void> sendCommand(int commandId); | 46 | Async::Job<void> sendCommand(int commandId); |
47 | Async::Job<void> sendCommand(int commandId, flatbuffers::FlatBufferBuilder &fbb); | 47 | Async::Job<void> sendCommand(int commandId, flatbuffers::FlatBufferBuilder &fbb); |
48 | Async::Job<void> synchronizeResource(bool remoteSync, bool localSync); | 48 | Async::Job<void> synchronizeResource(bool remoteSync, bool localSync); |
49 | /** | ||
50 | * Tries to connect to server, and returns a connected socket on success. | ||
51 | */ | ||
52 | static Async::Job<QSharedPointer<QLocalSocket> > connectToServer(const QByteArray &identifier); | ||
49 | 53 | ||
50 | public Q_SLOTS: | 54 | public Q_SLOTS: |
51 | void open(); | 55 | void open(); |