summaryrefslogtreecommitdiff
path: root/src/websockets/qcorsauthenticator_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/websockets/qcorsauthenticator_p.h')
-rw-r--r--src/websockets/qcorsauthenticator_p.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/websockets/qcorsauthenticator_p.h b/src/websockets/qcorsauthenticator_p.h
new file mode 100644
index 0000000..ee218dc
--- /dev/null
+++ b/src/websockets/qcorsauthenticator_p.h
@@ -0,0 +1,29 @@
+#ifndef QCORSAUTHENTICATOR_P_H
+#define QCORSAUTHENTICATOR_P_H
+
+#include <qglobal.h> //for QT_BEGIN_NAMESPACE
+#include <QString>
+
+//
+// W A R N I N G
+// -------------
+//
+// This file is not part of the Qt API. It exists purely as an
+// implementation detail. This header file may change from version to
+// version without notice, or even be removed.
+//
+// We mean it.
+//
+QT_BEGIN_NAMESPACE
+
+class QCorsAuthenticatorPrivate
+{
+public:
+ QCorsAuthenticatorPrivate(const QString &origin, bool allowed);
+ ~QCorsAuthenticatorPrivate();
+
+ QString m_origin;
+ bool m_isAllowed;
+};
+
+#endif // QCORSAUTHENTICATOR_P_H