X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fircevent.h;h=e5a2313df21b7e1f785c22cd2bf0772db1c1aa63;hb=92fc8c5b119111a35ab8423c3cbde5b2a022badf;hp=a9d7880c2af3912bd3926701a1e7c9e7ab8c56b2;hpb=4a5065255e652dd0c301bac0db41b7afb777ef49;p=quassel.git diff --git a/src/common/ircevent.h b/src/common/ircevent.h index a9d7880c..e5a2313d 100644 --- a/src/common/ircevent.h +++ b/src/common/ircevent.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,13 +18,14 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef IRCEVENT_H -#define IRCEVENT_H +#pragma once + +#include "common-export.h" #include "networkevent.h" #include "util.h" -class IrcEvent : public NetworkEvent +class COMMON_EXPORT IrcEvent : public NetworkEvent { public: explicit IrcEvent(EventManager::EventType type, Network *network, const QString &prefix, const QStringList ¶ms = QStringList()) @@ -62,7 +63,7 @@ private: }; -class IrcEventNumeric : public IrcEvent +class COMMON_EXPORT IrcEventNumeric : public IrcEvent { public: explicit IrcEventNumeric(uint number, Network *network, const QString &prefix, const QString &target, const QStringList ¶ms = QStringList()) @@ -99,7 +100,7 @@ private: }; -class IrcEventRawMessage : public IrcEvent +class COMMON_EXPORT IrcEventRawMessage : public IrcEvent { public: explicit inline IrcEventRawMessage(EventManager::EventType type, Network *network, @@ -137,6 +138,3 @@ private: friend class IrcEvent; }; - - -#endif