/***************************************************************************
- * Copyright (C) 2005-2015 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 *
* 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 {
private:
BufferId _bufferId;
NetworkId _netid;
- Type _type;
- uint _groupId;
+ Type _type{InvalidBuffer};
+ uint _groupId{0};
QString _bufferName;
friend uint qHash(const BufferInfo &);
Q_DECLARE_OPERATORS_FOR_FLAGS(BufferInfo::ActivityLevel)
uint qHash(const BufferInfo &);
-
-#endif