X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fbufferinfo.h;h=6e77e636de94f35e728d9d4136585cea2dbeceec;hb=d4b81a6d777de45611034b26bd89973d19e60c96;hp=2956af651c5dd23dc16b75fd27b654c5ccb80207;hpb=694f9bfbf7f1af19108461c7e00d133e55082bce;p=quassel.git diff --git a/src/common/bufferinfo.h b/src/common/bufferinfo.h index 2956af65..6e77e636 100644 --- a/src/common/bufferinfo.h +++ b/src/common/bufferinfo.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,17 +15,19 @@ * 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. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef BUFFERINFO_H -#define BUFFERINFO_H + +#pragma once + +#include "common-export.h" #include "types.h" class QString; class QDataStream; -class BufferInfo +class COMMON_EXPORT BufferInfo { public: enum Type { @@ -58,6 +60,7 @@ public: void setGroupId(uint gid) { _groupId = gid; } QString bufferName() const; + bool acceptsRegularMessages() const; inline bool operator==(const BufferInfo &other) const { return _bufferId == other._bufferId; } @@ -82,5 +85,3 @@ Q_DECLARE_METATYPE(BufferInfo) Q_DECLARE_OPERATORS_FOR_FLAGS(BufferInfo::ActivityLevel) uint qHash(const BufferInfo &); - -#endif