2017-04-23 15:05:48 +02:00
|
|
|
#ifndef UPLOADER_HPP
|
|
|
|
#define UPLOADER_HPP
|
|
|
|
|
|
|
|
#include <QPixmap>
|
|
|
|
#include <QString>
|
|
|
|
|
2017-05-06 13:21:12 +02:00
|
|
|
class Uploader {
|
2017-06-04 22:58:29 +02:00
|
|
|
public:
|
|
|
|
virtual void doUpload(QByteArray imgData) = 0;
|
2017-05-09 17:26:00 +02:00
|
|
|
virtual QString name() = 0;
|
|
|
|
virtual QString description() = 0;
|
2017-06-04 22:58:29 +02:00
|
|
|
virtual std::tuple<QString, QString> format() = 0;
|
2017-04-23 15:05:48 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // UPLOADER_HPP
|