/***************************************************************************
- * 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 NETWORKEVENT_H
-#define NETWORKEVENT_H
+#pragma once
#include <QStringList>
#include <QVariantList>
#include "event.h"
#include "network.h"
-class NetworkEvent : public Event
+class COMMON_EXPORT NetworkEvent : public Event
{
public:
explicit NetworkEvent(EventManager::EventType type, Network *network)
/*****************************************************************************/
-class NetworkConnectionEvent : public NetworkEvent
+class COMMON_EXPORT NetworkConnectionEvent : public NetworkEvent
{
public:
explicit NetworkConnectionEvent(EventManager::EventType type, Network *network, Network::ConnectionState state)
};
-class NetworkDataEvent : public NetworkEvent
+class COMMON_EXPORT NetworkDataEvent : public NetworkEvent
{
public:
explicit NetworkDataEvent(EventManager::EventType type, Network *network, const QByteArray &data)
};
-class NetworkSplitEvent : public NetworkEvent
+class COMMON_EXPORT NetworkSplitEvent : public NetworkEvent
{
public:
explicit NetworkSplitEvent(EventManager::EventType type,
friend class NetworkEvent;
};
-
-
-#endif