summaryrefslogtreecommitdiff
path: root/src/websockets/qwebsockets_global.h
diff options
context:
space:
mode:
authorSteven Ceuppens <steven.ceuppens@icloud.com>2013-09-29 19:56:37 +0200
committerSteven Ceuppens <steven.ceuppens@icloud.com>2013-09-29 20:06:07 +0200
commit9292fa44f4c8d58aa365b4389be040584a17c893 (patch)
tree0a6394f00b022bd291d15b5879f04fac8ec19611 /src/websockets/qwebsockets_global.h
parent8d8ac2451556df63746898aafeac61301642d0c5 (diff)
downloadqtwebsockets-9292fa44f4c8d58aa365b4389be040584a17c893.tar.gz
update _global file, to match Qt default
Change-Id: I4bbf6bd60abd93bd18947b8d2a9d42784aaea10b Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src/websockets/qwebsockets_global.h')
-rw-r--r--src/websockets/qwebsockets_global.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/websockets/qwebsockets_global.h b/src/websockets/qwebsockets_global.h
new file mode 100644
index 0000000..8b902af
--- /dev/null
+++ b/src/websockets/qwebsockets_global.h
@@ -0,0 +1,38 @@
+/*
+QWebSockets implements the WebSocket protocol as defined in RFC 6455.
+Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com)
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation; either
+version 2.1 of the License, or (at your option) any later version.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this library; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
+
+#ifndef QWEBSOCKETSGLOBAL_H
+#define QWEBSOCKETSGLOBAL_H
+
+#include <QtCore/qglobal.h>
+
+QT_BEGIN_NAMESPACE
+
+#ifndef QT_STATIC
+# if defined(QT_BUILD_WEBSOCKETS_LIB)
+# define Q_WEBSOCKETS_EXPORT Q_DECL_EXPORT
+# else
+# define Q_WEBSOCKETS_EXPORT Q_DECL_IMPORT
+# endif
+#else
+# define Q_WEBSOCKETS_EXPORT
+#endif
+
+QT_END_NAMESPACE
+#endif // QWEBSOCKETSGLOBAL_H