KShare/uploaders/default/imguruploader.hpp

21 lines
433 B
C++
Raw Normal View History

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 {
public:
QString name() {
return "imgur";
}
QString description() {
return "imgur.com uploader";
}
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