Renamed TypedBytes to RawImageData, type to format.

FeelsGoodMan Clap
This commit is contained in:
Mm2PL
2019-10-22 17:21:46 +02:00
parent 736df48788
commit 6c261459cf
2 changed files with 9 additions and 10 deletions
+3 -3
View File
@@ -5,13 +5,13 @@
#include <QString>
namespace chatterino {
struct TypedBytes {
struct RawImageData {
QByteArray data;
QString type;
QString format;
};
void upload(QByteArray imageData, ChannelPtr channel,
ResizingTextEdit &textEdit, std::string format);
void upload(TypedBytes imageData, ChannelPtr channel,
void upload(RawImageData imageData, ChannelPtr channel,
ResizingTextEdit &textEdit);
void upload(const QMimeData *source, ChannelPtr channel,
ResizingTextEdit &outputTextEdit);