// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#ifndef QOHOSWANTUTILS_H
#define QOHOSWANTUTILS_H

#include <QtCore/private/qohosqpafunctions_p.h>
#include <QtCore/qjsonobject.h>
#include <QtCore/qsharedpointer.h>
#include <QtOhosExtras/qohoswant.h>

QT_BEGIN_NAMESPACE

namespace QtOhosExtras {

QJsonObject convertWantToJsonObject(const QOhosWant &want);

QOhosWant convertWantFromJsonObject(const QJsonObject &jsonWant);

QSharedPointer<QOhosWantInfo> convertToOhosExtrasWantInfo(
    QSharedPointer<QtOhos::QOhosQpaFunctions::WantInfo> wantInfo);

QSharedPointer<QtOhos::QOhosQpaFunctions::WantInfo> convertToQpaWantInfo(
    QSharedPointer<QOhosWantInfo> wantInfo);

}

QT_END_NAMESPACE

#endif // QOHOSWANTUTILS_H
