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