summaryrefslogtreecommitdiffstats
path: root/src/nfc/qnfcglobal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nfc/qnfcglobal.h')
-rw-r--r--src/nfc/qnfcglobal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nfc/qnfcglobal.h b/src/nfc/qnfcglobal.h
index f282bb19..4252a7bb 100644
--- a/src/nfc/qnfcglobal.h
+++ b/src/nfc/qnfcglobal.h
@@ -43,6 +43,11 @@
#include <QtCore/qglobal.h>
+#define QTNFC_PREPEND_NAMESPACE(name) ::QtNfc::name
+#define QTNFC_BEGIN_NAMESPACE namespace QtNfc {
+#define QTNFC_END_NAMESPACE }
+#define QTNFC_USE_NAMESPACE using namespace QtNfc;
+
#if defined(Q_OS_WIN)
# if defined(QT_NODLL)
# undef QT_MAKEDLL