Fix #endif. AGAIN. -.-
[quassel.git] / src / client / abstractmessageprocessor.h
index ecbca38..68db921 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
-*   Copyright (C) 2005-08 by the Quassel Project                          *
+*   Copyright (C) 2005-09 by the Quassel Project                          *
 *   devel@quassel-irc.org                                                 *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
@@ -21,7 +21,9 @@
 #ifndef ABSTRACTMESSAGEPROCESSOR_H_
 #define ABSTRACTMESSAGEPROCESSOR_H_
 
+#include "client.h"
 #include "message.h"
+#include "networkmodel.h"
 
 class AbstractMessageProcessor : public QObject {
   Q_OBJECT
@@ -38,7 +40,7 @@ class AbstractMessageProcessor : public QObject {
     void progressUpdated(int value, int maximum);
 
   protected:
-    void postProcess(Message &msg);
+    inline void postProcess(Message &msg) { Client::networkModel()->updateBufferActivity(msg); }
 
 };