KShare/src/uploaders/uploader.hpp
Gurkengewuerz 8c0e961dc0 a bit more work
* added open screenshot folder button
* removed history dialog
* moved history dialog to main window
* added filename to history
* removed many actions from menu bar
2019-05-08 21:07:06 +02:00

20 lines
387 B
C++

#ifndef UPLOADER_HPP
#define UPLOADER_HPP
#include <QPixmap>
#include <QString>
class Uploader {
public:
virtual void doUpload(QByteArray imgData, QString format, QString filename) = 0;
virtual QString name() = 0;
virtual QString description() = 0;
virtual void showSettings() {
}
virtual bool validate() {
return true;
}
};
#endif // UPLOADER_HPP