X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fmessage.h;h=1088b09d34f65e3b0fe5dff864a09966870b672b;hb=d4b81a6d777de45611034b26bd89973d19e60c96;hp=45a8286f5e65767ccb9c3cd17776edeb0825764e;hpb=20f446a492d8e681156423f0dc3637db78c45bae;p=quassel.git diff --git a/src/common/message.h b/src/common/message.h index 45a8286f..1088b09d 100644 --- a/src/common/message.h +++ b/src/common/message.h @@ -18,8 +18,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef MESSAGE_H_ -#define MESSAGE_H_ +#pragma once + +#include "common-export.h" #include #include @@ -27,7 +28,7 @@ #include "bufferinfo.h" #include "types.h" -class Message +class COMMON_EXPORT Message { Q_DECLARE_TR_FUNCTIONS(Message) @@ -120,5 +121,3 @@ QDebug operator<<(QDebug dbg, const Message &msg); Q_DECLARE_METATYPE(Message) Q_DECLARE_OPERATORS_FOR_FLAGS(Message::Types) Q_DECLARE_OPERATORS_FOR_FLAGS(Message::Flags) - -#endif