File indexing completed on 2025-01-19 03:53:09
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2018-05-20 0007 * Description : a tool to export images to Onedrive web service 0008 * 0009 * SPDX-FileCopyrightText: 2018 by Tarek Talaat <tarektalaat93 at gmail dot com> 0010 * 0011 * SPDX-License-Identifier: GPL-2.0-or-later 0012 * 0013 * ============================================================ */ 0014 0015 #ifndef DIGIKAM_OD_MPFORM_H 0016 #define DIGIKAM_OD_MPFORM_H 0017 0018 // Qt includes 0019 0020 #include <QByteArray> 0021 0022 namespace DigikamGenericOneDrivePlugin 0023 { 0024 0025 class ODMPForm 0026 { 0027 0028 public: 0029 0030 explicit ODMPForm(); 0031 ~ODMPForm(); 0032 0033 bool addFile(const QString& imgPath); 0034 QByteArray formData() const; 0035 0036 private: 0037 0038 QByteArray m_buffer; 0039 }; 0040 0041 } // namespace DigikamGenericOneDrivePlugin 0042 0043 #endif // DIGIKAM_OD_MPFORM_H