2017-06-30 16:49:12 +02:00
|
|
|
#ifndef IMGPLUSUPLOADER_HPP
|
|
|
|
#define IMGPLUSUPLOADER_HPP
|
|
|
|
|
2017-07-29 17:22:17 +02:00
|
|
|
#include <QApplication>
|
2017-06-30 16:49:12 +02:00
|
|
|
#include <uploaders/uploader.hpp>
|
|
|
|
|
|
|
|
class ImgplusUploader : public Uploader {
|
2017-07-29 17:22:17 +02:00
|
|
|
Q_DECLARE_TR_FUNCTIONS(ImgplusUploader)
|
2017-06-30 16:49:12 +02:00
|
|
|
public:
|
|
|
|
QString name() override {
|
|
|
|
return "ImagePlus";
|
|
|
|
}
|
|
|
|
QString description() override {
|
|
|
|
return "imgpl.us uploader";
|
|
|
|
}
|
|
|
|
void doUpload(QByteArray byteArray, QString format) override;
|
|
|
|
void showSettings() override;
|
|
|
|
bool validate() override;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // IMGPLUSUPLOADER_HPP
|