diff options
author | Arvid Ephraim Picciani <arvid.picciani@nokia.com> | 2010-08-30 15:21:45 (GMT) |
---|---|---|
committer | Arvid Ephraim Picciani <arvid.picciani@nokia.com> | 2010-08-30 15:24:22 (GMT) |
commit | 768157866b60e465357effb98d5c4e291b0467b6 (patch) | |
tree | c94ce2d3b42ccf91d5aed45c98988f02e040fda5 | |
parent | c6623b6a7305f78375b8075b4edd3dfc03c5ec9e (diff) | |
download | Qt-768157866b60e465357effb98d5c4e291b0467b6.zip Qt-768157866b60e465357effb98d5c4e291b0467b6.tar.gz Qt-768157866b60e465357effb98d5c4e291b0467b6.tar.bz2 |
Add missing QT_BEGIN_NAMESPACE
Reviewed-by: Olivier Goffart
-rw-r--r-- | src/corelib/plugin/qelfparser_p.cpp | 5 | ||||
-rw-r--r-- | src/corelib/plugin/qelfparser_p.h | 21 |
2 files changed, 26 insertions, 0 deletions
diff --git a/src/corelib/plugin/qelfparser_p.cpp b/src/corelib/plugin/qelfparser_p.cpp index f815a77..571022f 100644 --- a/src/corelib/plugin/qelfparser_p.cpp +++ b/src/corelib/plugin/qelfparser_p.cpp @@ -38,9 +38,12 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ + #include "qlibrary_p.h" #include "qelfparser_p.h" +QT_BEGIN_NAMESPACE + // #define QELFPARSER_DEBUG 1 #include <qdebug.h> @@ -228,3 +231,5 @@ int QElfParser::parse(const char *dataStart, ulong fdlen, const QString &library return NoQtSection; } +QT_END_NAMESPACE + diff --git a/src/corelib/plugin/qelfparser_p.h b/src/corelib/plugin/qelfparser_p.h index 16c6a72..672122a 100644 --- a/src/corelib/plugin/qelfparser_p.h +++ b/src/corelib/plugin/qelfparser_p.h @@ -38,9 +38,26 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ + +#ifndef QELFPARSER_P_H +#define QELFPARSER_P_H + +// +// 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. +// + #include <qendian.h> #include <qglobal.h> +QT_BEGIN_NAMESPACE + typedef quint16 qelfhalf_t; typedef quint32 qelfword_t; typedef quintptr qelfoff_t; @@ -77,3 +94,7 @@ public: int parse(const char *m_s, ulong fdlen, const QString &library, QLibraryPrivate *lib, long *pos, ulong *sectionlen); }; +QT_END_NAMESPACE + +#endif // QELFPARSER_P_H + |