22 lines
388 B
C++
22 lines
388 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(QPixmap *pixmap);
|
||
|
};
|
||
|
|
||
|
#endif // CLIPBOARDUPLOADER_HPP
|