summaryrefslogtreecommitdiff
path: root/saltoqd/storagemanager.cpp
blob: c2b9808efd59fc7a2cf2a8a8063a11f09d5a3365 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
	}
}