aboutsummaryrefslogtreecommitdiff
path: root/connection.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2016-11-14 08:10:26 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2016-11-14 08:10:26 +0900
commitf84b3afb1e7c4662bdda55b9cf8e871083350937 (patch)
tree1dc47a05e0bce933ecb6fde9ae29545388063761 /connection.h
parent2a9caefa6bdce4a6c3a8847f166de16a69dd95dd (diff)
parentbc3ab9fdd3efc1fc40d6cef919e68246afb1ac83 (diff)
downloadlibquotient-f84b3afb1e7c4662bdda55b9cf8e871083350937.tar.gz
libquotient-f84b3afb1e7c4662bdda55b9cf8e871083350937.zip
Merge branch 'pragma-once'
Diffstat (limited to 'connection.h')
-rw-r--r--connection.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/connection.h b/connection.h
index 27c8fde1..0e25d695 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 <QtCore/QObject>
#include <QtCore/QUrl>
@@ -84,13 +83,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
@@ -106,7 +105,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
*/
@@ -117,5 +116,3 @@ namespace QMatrixClient
Private* d;
};
}
-
-#endif // QMATRIXCLIENT_CONNECTION_H