9e048495ba
(waitForReadyConnected, waitForAuthenticated, waitForMailSent) synchronous waiting. Added writeToDevice() function to MimeMessage and MimePart (and subclasses), now these are used in SmtpClient instead of toString(). Added some unit tests.
17 lines
263 B
C++
17 lines
263 B
C++
#ifndef MIMEENCODER_H
|
|
#define MIMEENCODER_H
|
|
|
|
#include <QObject>
|
|
#include <QByteArray>
|
|
|
|
class MimeContentEncoder : public QObject
|
|
{
|
|
public:
|
|
virtual QByteArray encode(const QByteArray &data) =0;
|
|
|
|
protected:
|
|
MimeContentEncoder();
|
|
};
|
|
|
|
#endif // MIMEENCODER_H
|