#ifndef ABSTRACTMESSAGEPROCESSOR_H_
#define ABSTRACTMESSAGEPROCESSOR_H_
+#include "client.h"
#include "message.h"
+#include "networkmodel.h"
class AbstractMessageProcessor : public QObject {
Q_OBJECT
void progressUpdated(int value, int maximum);
protected:
- void postProcess(Message &msg);
+ inline void postProcess(Message &msg) { Client::networkModel()->updateBufferActivity(msg); }
};