X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fbufferinfo.h;h=6e77e636de94f35e728d9d4136585cea2dbeceec;hb=3a3e844f9fcfd12235a0086af75ecd503b621ef4;hp=c816a8b2c54397ae6af736201dd6e12d4b98736a;hpb=9fc57dc2c000e80fb8bd746a090e2e8210e1278e;p=quassel.git diff --git a/src/common/bufferinfo.h b/src/common/bufferinfo.h index c816a8b2..6e77e636 100644 --- a/src/common/bufferinfo.h +++ b/src/common/bufferinfo.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 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 * @@ -18,15 +18,16 @@ * 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 { @@ -59,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; } @@ -83,5 +85,3 @@ Q_DECLARE_METATYPE(BufferInfo) Q_DECLARE_OPERATORS_FOR_FLAGS(BufferInfo::ActivityLevel) uint qHash(const BufferInfo &); - -#endif