diff options
author | George Hazan <george.hazan@gmail.com> | 2023-10-19 18:15:45 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-10-19 18:15:45 +0300 |
commit | ec9b7581909991cacbcd291becdf17ccbf6194b8 (patch) | |
tree | 9a017a6f8f60b80b8a573a3706da4ddb0a96de1a /plugins/ExternalAPI | |
parent | b6f4df821380405c6bfa4a53f9db3874173e4b32 (diff) |
mTextControl: RTF code redesign
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r-- | plugins/ExternalAPI/m_text.h | 7 |
1 files changed, 7 insertions, 0 deletions
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);
|