diff options
Diffstat (limited to 'common/resourceaccess.h')
-rw-r--r-- | common/resourceaccess.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/resourceaccess.h b/common/resourceaccess.h index 0a333f6..a9e8c47 100644 --- a/common/resourceaccess.h +++ b/common/resourceaccess.h | |||
@@ -41,9 +41,8 @@ public: | |||
41 | QString resourceName() const; | 41 | QString resourceName() const; |
42 | bool isReady() const; | 42 | bool isReady() const; |
43 | 43 | ||
44 | //TODO use jobs | 44 | Async::Job<void> sendCommand(int commandId); |
45 | void sendCommand(int commandId, const std::function<void()> &callback = std::function<void()>()); | 45 | Async::Job<void> sendCommand(int commandId, flatbuffers::FlatBufferBuilder &fbb); |
46 | void sendCommand(int commandId, flatbuffers::FlatBufferBuilder &fbb, const std::function<void()> &callback = std::function<void()>()); | ||
47 | Async::Job<void> synchronizeResource(); | 46 | Async::Job<void> synchronizeResource(); |
48 | 47 | ||
49 | public Q_SLOTS: | 48 | public Q_SLOTS: |