From 3249179dda1a6e624c1ccbe98ed4503eebed60a0 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Sun, 6 Nov 2016 12:38:04 +0100 Subject: Use #pragma once everywhere --- connection.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'connection.h') diff --git a/connection.h b/connection.h index c5dad246..a1b0d97b 100644 --- a/connection.h +++ b/connection.h @@ -16,8 +16,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef QMATRIXCLIENT_CONNECTION_H -#define QMATRIXCLIENT_CONNECTION_H +#pragma once #include #include @@ -83,13 +82,13 @@ namespace QMatrixClient void connectionError(QString error); void resolveError(QString error); //void jobError(BaseJob* job); - + protected: /** * @brief Access the underlying ConnectionData class */ ConnectionData* connectionData(); - + /** * @brief Find a (possibly new) Room object for the specified id * Use this method whenever you need to find a Room object in @@ -105,7 +104,7 @@ namespace QMatrixClient * makes it possible for derived classes to have its own User class */ virtual User* createUser(QString userId); - + /** * makes it possible for derived classes to have its own Room class */ @@ -116,5 +115,3 @@ namespace QMatrixClient Private* d; }; } - -#endif // QMATRIXCLIENT_CONNECTION_H -- cgit v1.2.3