From a9580df150d799246eaecbf3c1fb5cecf9f8ab49 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Mon, 23 Jul 2012 13:49:28 +0000 Subject: SecureIM, SeenPlugin, SendSS, Sessions: changed folder structure git-svn-id: http://svn.miranda-ng.org/main/trunk@1122 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SecureIM/src/rtfconv.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 plugins/SecureIM/src/rtfconv.h (limited to 'plugins/SecureIM/src/rtfconv.h') diff --git a/plugins/SecureIM/src/rtfconv.h b/plugins/SecureIM/src/rtfconv.h new file mode 100644 index 0000000000..2a3e75089b --- /dev/null +++ b/plugins/SecureIM/src/rtfconv.h @@ -0,0 +1,23 @@ +#ifndef __RTFCONV_H__ +#define __RTFCONV_H__ + +#include + +#ifndef _INTPTR_T_DEFINED +#define intptr_t int +#endif + +#define CONVMODE_USE_SYSTEM_TABLE 0x800000 /* Use OS's table only */ + +typedef intptr_t (WINAPI *RTFCONVSTRING) ( const void *pSrcBuffer, void *pDstBuffer, + int nSrcCodePage, int nDstCodePage, unsigned long dwFlags, + size_t nMaxLen ); + +extern RTFCONVSTRING pRtfconvString; + +BOOL load_rtfconv (); +void free_rtfconv (); +void rtfconvA(LPCSTR rtf, LPWSTR plain); +void rtfconvW(LPCWSTR rtf, LPWSTR plain); + +#endif -- cgit v1.2.3