diff options
Diffstat (limited to 'installerbuilder/libinstaller/qtpatch.h')
-rw-r--r-- | installerbuilder/libinstaller/qtpatch.h | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/installerbuilder/libinstaller/qtpatch.h b/installerbuilder/libinstaller/qtpatch.h index 73170917e..d38c4dc8d 100644 --- a/installerbuilder/libinstaller/qtpatch.h +++ b/installerbuilder/libinstaller/qtpatch.h @@ -32,21 +32,22 @@ #include <QHash> #include <QFile> -namespace QtPatch -{ - QHash<QString, QByteArray> INSTALLER_EXPORT qmakeValues(const QString &qmakePath, QByteArray * qmakeOutput); - - bool INSTALLER_EXPORT patchBinaryFile( const QString &fileName, - const QByteArray &oldQtPath, - const QByteArray &newQtPath ); - - bool INSTALLER_EXPORT patchBinaryFile( QIODevice* device, - const QByteArray &oldQtPath, - const QByteArray &newQtPath ); - - bool INSTALLER_EXPORT patchTextFile( const QString &fileName, - const QHash<QByteArray, QByteArray> &searchReplacePairs); - bool INSTALLER_EXPORT openFileForPatching(QFile* file); -}; +namespace QtPatch { + +QHash<QString, QByteArray> INSTALLER_EXPORT qmakeValues(const QString &qmakePath, QByteArray *qmakeOutput); + +bool INSTALLER_EXPORT patchBinaryFile(const QString &fileName, + const QByteArray &oldQtPath, + const QByteArray &newQtPath ); + +bool INSTALLER_EXPORT patchBinaryFile(QIODevice *device, + const QByteArray &oldQtPath, + const QByteArray &newQtPath ); + +bool INSTALLER_EXPORT patchTextFile(const QString &fileName, + const QHash<QByteArray, QByteArray> &searchReplacePairs); +bool INSTALLER_EXPORT openFileForPatching(QFile *file); + +} #endif // QTPATCH_H |