diff options
Diffstat (limited to 'saltoqd/storagemanager.cpp')
-rw-r--r-- | saltoqd/storagemanager.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/saltoqd/storagemanager.cpp b/saltoqd/storagemanager.cpp new file mode 100644 index 0000000..c2b9808 --- /dev/null +++ b/saltoqd/storagemanager.cpp @@ -0,0 +1,17 @@ +#include "storagemanager.h" + +StorageManager::StorageManager(ToqManager *toq) : + QObject(toq), _toq(toq) +{ + _toq->setEndpointListener(ToqConnection::StorageServiceEndpoint, this); +} + +void StorageManager::handleMessage(const ToqConnection::Message &msg) +{ + Q_ASSERT(msg.destination == ToqConnection::StorageServiceEndpoint); + switch (msg.type) { // TODO + default: + qWarning() << "Unknown message" << msg.type; + break; + } +} |