summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2017-08-28 11:08:16 (GMT)
committerKai Koehne <kai.koehne@qt.io>2017-08-29 09:36:30 (GMT)
commit6cb578ca9f8759de06c8bac0ecc69f4e9b8cffc6 (patch)
tree1b662c68f84e4248f010a6445c50e29235f6ee64
parent022b4392f6ea5586101f68173b0f8b7868e63586 (diff)
downloadqtwebchannel-6cb578ca9f8759de06c8bac0ecc69f4e9b8cffc6.tar.gz
Examples: Use canonical include guards
Change-Id: I0806cb50a46da19e3538855b348cbdaa2c4f96e1 Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
-rw-r--r--examples/webchannel/chatserver-cpp/chatserver.h6
-rw-r--r--examples/webchannel/shared/websocketclientwrapper.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/webchannel/chatserver-cpp/chatserver.h b/examples/webchannel/chatserver-cpp/chatserver.h
index b34188b..c53a8aa 100644
--- a/examples/webchannel/chatserver-cpp/chatserver.h
+++ b/examples/webchannel/chatserver-cpp/chatserver.h
@@ -48,8 +48,8 @@
**
****************************************************************************/
-#ifndef ChatServer_H
-#define ChatServer_H
+#ifndef CHATSERVER_H
+#define CHATSERVER_H
#include <QObject>
#include <QStringList>
@@ -100,4 +100,4 @@ private:
QTimer* m_keepAliveCheckTimer;
};
-#endif // ChatServer_H
+#endif // CHATSERVER_H
diff --git a/examples/webchannel/shared/websocketclientwrapper.h b/examples/webchannel/shared/websocketclientwrapper.h
index 9c8184c..e4922d9 100644
--- a/examples/webchannel/shared/websocketclientwrapper.h
+++ b/examples/webchannel/shared/websocketclientwrapper.h
@@ -48,8 +48,8 @@
**
****************************************************************************/
-#ifndef WEBSOCKETTRANSPORTSERVER_H
-#define WEBSOCKETTRANSPORTSERVER_H
+#ifndef WEBSOCKETCLIENTWRAPPER_H
+#define WEBSOCKETCLIENTWRAPPER_H
#include <QObject>
@@ -76,4 +76,4 @@ private:
QWebSocketServer *m_server;
};
-#endif // WEBSOCKETTRANSPORTSERVER_H
+#endif // WEBSOCKETCLIENTWRAPPER_H