2017-04-23 15:05:48 +02:00
|
|
|
#ifndef IMGURUPLOADER_HPP
|
|
|
|
#define IMGURUPLOADER_HPP
|
|
|
|
|
|
|
|
#include "../uploader.hpp"
|
|
|
|
|
2017-05-06 13:21:12 +02:00
|
|
|
class ImgurUploader : public Uploader {
|
2017-06-04 22:58:29 +02:00
|
|
|
public:
|
2017-05-09 17:26:00 +02:00
|
|
|
QString name() {
|
|
|
|
return "imgur";
|
|
|
|
}
|
|
|
|
QString description() {
|
|
|
|
return "imgur.com uploader";
|
|
|
|
}
|
2017-06-04 22:58:29 +02:00
|
|
|
std::tuple<QString, QString> format() {
|
|
|
|
return std::tuple<QString, QString>("PNG", "MP4");
|
|
|
|
}
|
|
|
|
void doUpload(QByteArray byteArray);
|
2017-04-23 15:05:48 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // IMGURUPLOADER_HPP
|