/* ============================================================
*
* This file is a part of digiKam project
* https://www.digikam.org
*
* Date : 2018-05-20
* Description : a tool to export images to Onedrive web service
*
* SPDX-FileCopyrightText: 2018 by Tarek Talaat <tarektalaat93 at gmail dot com>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* ============================================================ */
#pragma once
// Qt includes
#include <QByteArray>
namespace DigikamGenericOneDrivePlugin
{
class ODMPForm
{
public:
ODMPForm() = default;
~ODMPForm() = default;
bool addFile(const QString& imgPath);
QByteArray formData() const;<--- Function 'formData()' should return member 'm_buffer' by const reference.
private:
QByteArray m_buffer;
};
} // namespace DigikamGenericOneDrivePlugin