X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fquasselui.h;h=bcb512beb0411d2c8c437da10c663f9fbf7ddb4e;hp=c4280ba979962c280913bdf091cfa82e113954bd;hb=535f934ed8d2d991a83ad10f34669dbc909f1c84;hpb=70706ff642683d03ff091cab25d984ec7d9612de diff --git a/src/client/quasselui.h b/src/client/quasselui.h index c4280ba9..bcb512be 100644 --- a/src/client/quasselui.h +++ b/src/client/quasselui.h @@ -1,11 +1,11 @@ /*************************************************************************** - * Copyright (C) 2005-07 by The Quassel IRC Development Team * + * Copyright (C) 2005-08 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * + * (at your option) version 3. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * @@ -24,6 +24,8 @@ #include #include "message.h" +class MessageModel; + class AbstractUiMsg { public: @@ -42,6 +44,7 @@ class AbstractUi : public QObject { public: virtual void init() {}; // called after the client is initialized + virtual MessageModel *createMessageModel(QObject *parent = 0) = 0; virtual AbstractUiMsg *layoutMsg(const Message &) = 0; protected slots: