26#include <config_options.h>
30class UNLESS_MERGELIBS(TOOLS_DLLPUBLIC) INetMIMEMessageStream
32 INetMIMEMessage *pSourceMsg;
33 bool bHeaderGenerated;
35 std::vector<char> mvBuffer;
39 std::unique_ptr<SvStream>
47 sal_uInt32 nChildIndex;
48 std::unique_ptr<INetMIMEMessageStream> pChildStrm;
50 INetMIMEMessageStream (
const INetMIMEMessageStream& rStrm) =
delete;
51 INetMIMEMessageStream& operator= (
const INetMIMEMessageStream& rStrm) =
delete;
53 int GetHeaderLine(
char *pData, sal_uInt32 nSize);
54 int GetBodyLine(
char *pData, sal_uInt32 nSize);
55 int GetMsgLine(
char *pData, sal_uInt32 nSize);
58 explicit INetMIMEMessageStream(INetMIMEMessage *pMsg,
bool headerGenerated);
59 ~INetMIMEMessageStream();
61 int Read (
char *pData, sal_uInt32 nSize);