KShare/uploaders/default/clipboarduploader.hpp

23 lines
489 B
C++
Raw Normal View History

2017-04-23 15:05:48 +02:00
#ifndef CLIPBOARDUPLOADER_HPP
#define CLIPBOARDUPLOADER_HPP
#include <QPixmap>
#include <uploaders/uploader.hpp>
2017-05-06 13:21:12 +02:00
class ClipboardUploader : public Uploader {
public:
QString name() {
return "clipboard";
}
QString description() {
return "Copies the image to clipboard";
}
std::tuple<QString, QString> format() {
return std::tuple<QString, QString>("PNG", "MP4");
}
void doUpload(QByteArray imgData);
2017-04-23 15:05:48 +02:00
};
#endif // CLIPBOARDUPLOADER_HPP