From ec9b7581909991cacbcd291becdf17ccbf6194b8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 19 Oct 2023 18:15:45 +0300 Subject: mTextControl: RTF code redesign --- plugins/ExternalAPI/m_text.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/m_text.h b/plugins/ExternalAPI/m_text.h index 1c231c2fd2..bc3fc25237 100644 --- a/plugins/ExternalAPI/m_text.h +++ b/plugins/ExternalAPI/m_text.h @@ -46,6 +46,13 @@ enum MTEXT_FLG_RTF = 0x00000004, }; +struct MRtfProvider +{ + virtual CMStringA CreateRtfHeader() = 0; + virtual CMStringA CreateRtfBody() = 0; + virtual CMStringA CreateRtfFooter() = 0; +}; + // subscribe to MText services MTEXTCONTROL_DLL(HANDLE) MTextRegister(const char *userTitle, uint32_t options); -- cgit v1.2.3