KShare/uploaders/default/clipboarduploader.hpp

20 lines
396 B
C++

#ifndef CLIPBOARDUPLOADER_HPP
#define CLIPBOARDUPLOADER_HPP
#include <QPixmap>
#include <uploaders/uploader.hpp>
class ClipboardUploader : public Uploader {
public:
QString name() {
return "clipboard";
}
QString description() {
return "Copies the image to clipboard";
}
void doUpload(QByteArray imgData, QString format);
};
#endif // CLIPBOARDUPLOADER_HPP