X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fbuffer.h;fp=src%2Fclient%2Fbuffer.h;h=0000000000000000000000000000000000000000;hp=84f34a3994e9ab2ffcfde87010e108c484620ac7;hb=332069a1830ed3a055ac6f2d7661bae1cc83e40c;hpb=dbe74e993bcad57c15feb30d9bed30b6d43a3332 diff --git a/src/client/buffer.h b/src/client/buffer.h deleted file mode 100644 index 84f34a39..00000000 --- a/src/client/buffer.h +++ /dev/null @@ -1,59 +0,0 @@ -/*************************************************************************** - * 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) version 3. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - ***************************************************************************/ - -#ifndef _BUFFER_H_ -#define _BUFFER_H_ - -#include - -class AbstractUiMsg; -class IrcChannel; -class NickModel; - -struct BufferState; - -#include "message.h" -#include "bufferinfo.h" - -/** - */ -class Buffer : public QObject { - Q_OBJECT - -public: - enum Activity { - NoActivity = 0x00, - OtherActivity = 0x01, - NewMessage = 0x02, - Highlight = 0x40 - }; - Q_DECLARE_FLAGS(ActivityLevel, Activity) - - Buffer(BufferInfo, QObject *parent = 0); - - BufferInfo bufferInfo() const; - -private: - BufferInfo _bufferInfo; -}; - -Q_DECLARE_OPERATORS_FOR_FLAGS(Buffer::ActivityLevel) - -#endif