diff options
author | Malte Brandy <malte.brandy@maralorn.de> | 2016-11-06 12:38:04 +0100 |
---|---|---|
committer | Malte Brandy <malte.brandy@maralorn.de> | 2016-11-06 12:38:04 +0100 |
commit | 3249179dda1a6e624c1ccbe98ed4503eebed60a0 (patch) | |
tree | 198aad0c4dd901dcc18614628200bf8ae04ecd3c /events/roommessageevent.h | |
parent | 9a1270dbf8cf6c2dc9337c33a3c59b437676548c (diff) | |
download | libquotient-3249179dda1a6e624c1ccbe98ed4503eebed60a0.tar.gz libquotient-3249179dda1a6e624c1ccbe98ed4503eebed60a0.zip |
Use #pragma once everywhere
Diffstat (limited to 'events/roommessageevent.h')
-rw-r--r-- | events/roommessageevent.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/events/roommessageevent.h b/events/roommessageevent.h index 591b2df9..67789ef7 100644 --- a/events/roommessageevent.h +++ b/events/roommessageevent.h @@ -16,8 +16,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef QMATRIXCLIENT_ROOMMESSAGEEVENT_H -#define QMATRIXCLIENT_ROOMMESSAGEEVENT_H +#pragma once #include <QtCore/QUrl> #include <QtCore/QMimeType> @@ -42,7 +41,7 @@ namespace QMatrixClient public: RoomMessageEvent(); virtual ~RoomMessageEvent(); - + QString userId() const; MessageEventType msgtype() const; @@ -57,9 +56,9 @@ namespace QMatrixClient QString body() const; MessageEventContent::Base* content() const; - + static RoomMessageEvent* fromJson( const QJsonObject& obj ); - + private: class Private; Private* d; @@ -145,5 +144,3 @@ namespace QMatrixClient using AudioContent = ThumbnailedContent<AudioInfo>; } } - -#endif // QMATRIXCLIENT_ROOMMESSAGEEVENT_H |