diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-04-29 01:11:40 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-04-29 01:11:40 +0200 |
commit | b0e7af2972b82364f8ca95fef8031cbd018d54e0 (patch) | |
tree | 3f6f1aad825e1b02aa5d9a882730c1be85ba5023 /common/resourceaccess.h | |
parent | 3c0e79b1e9088e3b55f65fe5cc440ffb08dfde0a (diff) | |
download | sink-b0e7af2972b82364f8ca95fef8031cbd018d54e0.tar.gz sink-b0e7af2972b82364f8ca95fef8031cbd018d54e0.zip |
Avoid starting the resource for shutdown.
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(); |