KShare/uploaders/default/clipboarduploader.hpp
ArsenArsen 9f57a10bb8
Make the project translatable
Jeeeesh that's alot
2017-07-29 17:22:17 +02:00

22 lines
466 B
C++

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