summaryrefslogtreecommitdiff
path: root/secureim/rtfconv.cpp
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-26 15:41:10 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-26 15:41:10 +0000
commitf04d64869f3b1de54fb343f28f955584780001b8 (patch)
tree5453dc10de3d980de79ffe019fa0b5fcb692a27d /secureim/rtfconv.cpp
parent7aff1e4cb053394db57c2814d5fe1e6493e0cc75 (diff)
Project folders rename part 3
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@215 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'secureim/rtfconv.cpp')
-rw-r--r--secureim/rtfconv.cpp46
1 files changed, 0 insertions, 46 deletions
diff --git a/secureim/rtfconv.cpp b/secureim/rtfconv.cpp
deleted file mode 100644
index 271e62a..0000000
--- a/secureim/rtfconv.cpp
+++ /dev/null
@@ -1,46 +0,0 @@
-#include "commonheaders.h"
-
-
-HINSTANCE hRtfconv = NULL;
-RTFCONVSTRING pRtfconvString = NULL;
-
-
-BOOL load_rtfconv () {
-
- hRtfconv = LoadLibrary( "rtfconv.dll" ) ;
- if ( hRtfconv == NULL ) {
- hRtfconv = LoadLibrary( "plugins\\rtfconv.dll" ) ;
- if ( hRtfconv == NULL )
- return FALSE;
- }
-
- pRtfconvString = (RTFCONVSTRING) GetProcAddress( hRtfconv, "RtfconvString" ) ;
- if ( pRtfconvString == NULL ) {
- FreeLibrary( hRtfconv ) ;
- return FALSE;
- }
-
- return TRUE;
-}
-
-void free_rtfconv () {
-
- if ( hRtfconv )
- FreeLibrary( hRtfconv ) ;
- pRtfconvString = NULL;
- hRtfconv = NULL;
-}
-
-
-void rtfconvA(LPCSTR rtf, LPWSTR plain) {
-
- pRtfconvString( rtf, plain, 0, 1200, CONVMODE_USE_SYSTEM_TABLE, (strlen(rtf)+1)*sizeof(WCHAR) );
-}
-
-
-void rtfconvW(LPCWSTR rtf, LPWSTR plain) {
-
- pRtfconvString( rtf, plain, 0, 1200, CONVMODE_USE_SYSTEM_TABLE, (wcslen(rtf)+1)*sizeof(WCHAR) );
-}
-
-// EOF