X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Feventmanager.h;h=246c58a76f9d2b48723c2792e98c008e3ad56fc2;hb=d4b81a6d777de45611034b26bd89973d19e60c96;hp=16b83bc4e5ac0afbf85ccdd3ad4695e22f6801ab;hpb=de8cb8bb24c3bfd5600726e99acccb080a5beb87;p=quassel.git diff --git a/src/common/eventmanager.h b/src/common/eventmanager.h index 16b83bc4..246c58a7 100644 --- a/src/common/eventmanager.h +++ b/src/common/eventmanager.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,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef EVENTMANAGER_H -#define EVENTMANAGER_H +#pragma once + +#include "common-export.h" #include @@ -28,7 +29,7 @@ class Event; class Network; -class EventManager : public QObject +class COMMON_EXPORT EventManager : public QObject { Q_OBJECT Q_FLAGS(EventFlag EventFlags) @@ -91,6 +92,7 @@ public : IrcEventAccount, IrcEventAway, IrcEventCap, + IrcEventChghost, IrcEventInvite, IrcEventJoin, IrcEventKick, @@ -103,6 +105,7 @@ public : IrcEventPrivmsg, IrcEventQuit, IrcEventTopic, + IrcEventError, /// ERROR message from server IrcEventWallops, IrcEventRawPrivmsg, ///< Undecoded privmsg (still needs CTCP parsing) IrcEventRawNotice, ///< Undecoded notice (still needs CTCP parsing) @@ -193,6 +196,4 @@ private: }; -Q_DECLARE_OPERATORS_FOR_FLAGS(EventManager::EventFlags); - -#endif +Q_DECLARE_OPERATORS_FOR_FLAGS(EventManager::EventFlags)