X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fnetworkevent.h;h=fcae0b4592652b44a3aeb9c8625fc1f03634ec78;hb=d4b81a6d777de45611034b26bd89973d19e60c96;hp=3ef1bd3a9fe7d325c0a8edaa861d9265fc8ecdb4;hpb=b65b9f7615165e8700a44d59b7275a55558dd45b;p=quassel.git diff --git a/src/common/networkevent.h b/src/common/networkevent.h index 3ef1bd3a..fcae0b45 100644 --- a/src/common/networkevent.h +++ b/src/common/networkevent.h @@ -1,5 +1,5 @@ /*************************************************************************** - * 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 * @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef NETWORKEVENT_H -#define NETWORKEVENT_H +#pragma once #include #include @@ -27,7 +26,7 @@ #include "event.h" #include "network.h" -class NetworkEvent : public Event +class COMMON_EXPORT NetworkEvent : public Event { public: explicit NetworkEvent(EventManager::EventType type, Network *network) @@ -54,7 +53,7 @@ private: /*****************************************************************************/ -class NetworkConnectionEvent : public NetworkEvent +class COMMON_EXPORT NetworkConnectionEvent : public NetworkEvent { public: explicit NetworkConnectionEvent(EventManager::EventType type, Network *network, Network::ConnectionState state) @@ -84,7 +83,7 @@ private: }; -class NetworkDataEvent : public NetworkEvent +class COMMON_EXPORT NetworkDataEvent : public NetworkEvent { public: explicit NetworkDataEvent(EventManager::EventType type, Network *network, const QByteArray &data) @@ -114,7 +113,7 @@ private: }; -class NetworkSplitEvent : public NetworkEvent +class COMMON_EXPORT NetworkSplitEvent : public NetworkEvent { public: explicit NetworkSplitEvent(EventManager::EventType type, @@ -153,6 +152,3 @@ private: friend class NetworkEvent; }; - - -#endif