summaryrefslogtreecommitdiff
path: root/src/crypto-lib/cryptography.h
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@pelagicore.com>2016-09-20 21:43:33 +0200
committerRobert Griebl <robert.griebl@pelagicore.com>2016-09-23 12:46:59 +0000
commite5e76e61dc5054f606b9806d5ab7a00923cdc68d (patch)
tree0fecbdb144607351962d6d38c98b747bbd97cac1 /src/crypto-lib/cryptography.h
parent2ec52b37516ecb1c2ec355af09fe4c756abb1a9c (diff)
downloadqtapplicationmanager-e5e76e61dc5054f606b9806d5ab7a00923cdc68d.tar.gz
Moved all symbols to a private namespace
This was done to avoid conflicts with C++ plugins that get loaded into both the system-ui or the QML app runtime. Change-Id: I03fc222d806292f0f0734709568514862b6da56d Reviewed-by: Bernd Weimer <bernd.weimer@pelagicore.com> Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
Diffstat (limited to 'src/crypto-lib/cryptography.h')
-rw-r--r--src/crypto-lib/cryptography.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/crypto-lib/cryptography.h b/src/crypto-lib/cryptography.h
index 3c71a3cc..6f743415 100644
--- a/src/crypto-lib/cryptography.h
+++ b/src/crypto-lib/cryptography.h
@@ -43,6 +43,9 @@
#include <QByteArray>
#include <QString>
+#include "global.h"
+
+AM_BEGIN_NAMESPACE
namespace Cryptography {
@@ -53,3 +56,5 @@ void initialize();
QString errorString(qint64 osCryptoError, const char *errorDescription = nullptr);
}
+
+AM_END_NAMESPACE