// Copyright (C) 2016 Intel Corporation.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
// Qt-Security score:significant reason:default

#ifndef QMACHPARSER_P_H
#define QMACHPARSER_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 "qlibrary_p.h"

QT_REQUIRE_CONFIG(library);

#if defined(Q_OF_MACH_O)

QT_BEGIN_NAMESPACE

class QString;
class QLibraryPrivate;

class Q_AUTOTEST_EXPORT QMachOParser
{
public:
    static QLibraryScanResult parse(const char *m_s, ulong fdlen, QString *errorString);
};

QT_END_NAMESPACE

#endif // defined(Q_OF_MACH_O)

#endif // QMACHPARSER_P_H
