digiKam
odmpform.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2018-05-20
7  * Description : a tool to export images to Onedrive web service
8  *
9  * Copyright (C) 2018 by Tarek Talaat <tarektalaat93 at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * ============================================================ */
22 
23 #ifndef DIGIKAM_OD_MPFORM_H
24 #define DIGIKAM_OD_MPFORM_H
25 
26 // Qt includes
27 
28 #include <QByteArray>
29 
31 {
32 
33 class ODMPForm
34 {
35 
36 public:
37 
38  explicit ODMPForm();
39  ~ODMPForm();
40 
41  bool addFile(const QString& imgPath);
42  QByteArray formData() const;
43 
44 private:
45 
46  QByteArray m_buffer;
47 };
48 
49 } // namespace DigikamGenericOneDrivePlugin
50 
51 #endif // DIGIKAM_OD_MPFORM_H
bool addFile(const QString &imgPath)
Definition: odmpform.cpp:44
~ODMPForm()
Definition: odmpform.cpp:40
QByteArray formData() const
Definition: odmpform.cpp:59
ODMPForm()
Definition: odmpform.cpp:36
Definition: oditem.h:31