KShare/uploaders/default/imgplusuploader.hpp

22 lines
517 B
C++
Raw Normal View History

2017-06-30 16:49:12 +02:00
#ifndef IMGPLUSUPLOADER_HPP
#define IMGPLUSUPLOADER_HPP
#include <QApplication>
2017-06-30 16:49:12 +02:00
#include <uploaders/uploader.hpp>
class ImgplusUploader : public Uploader {
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