From 460c52653ab0dcca6f19a4f492ed2c5e4e963ab0 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- mimelib/doc/util.html | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 mimelib/doc/util.html (limited to 'mimelib/doc/util.html') diff --git a/mimelib/doc/util.html b/mimelib/doc/util.html new file mode 100644 index 00000000..1ae75acf --- /dev/null +++ b/mimelib/doc/util.html @@ -0,0 +1,111 @@ + + + + + MIME++ Utility Functions + + +

+ NAME +

+

+MIME++ Utilities +

+ SYNOPSIS +

+
#include &ltmimepp/mimepp.h>
+
+void DwInitialize();
+int DwToCrLfEol(const DwString& aSrcStr, DwString& aDestStr);
+int DwToLfEol(const DwString& aSrcStr, DwString& aDestStr);
+int DwToCrEol(const DwString& aSrcStr, DwString& aDestStr);
+int DwToLocalEol(const DwString& aSrcStr, DwString& aDestStr);
+int DwEncodeBase64(const DwString& aSrcStr, DwString& aDestStr);
+int DwDecodeBase64(const DwString& aSrcStr, DwString& aDestStr);
+int DwEncodeQuotedPrintable(const DwString& aSrcStr, DwString& aDestStr);
+int DwEncodeQuotedPrintable(const DwString& aSrcStr, DwString& aDestStr);
+
+

+ DESCRIPTION +

+

+ void DwInitialize(); + +

+Initializes the class library. Call this member function before creating +any objects from MIME++ classes. +

+ int DwToCrLfEol(const +DwString& aSrcStr, DwString& aDestStr); +

+Converts all end-of-line markers in aSrcStr to CR LF and +puts the result in aDestStr. The contract explicitly allows +aSrcStr and aDestStr to be references to +the same string. +

+ int DwToLfEol(const +DwString& aSrcStr, DwString& aDestStr); +

+Converts all end-of-line markers in aSrcStr to LF ('\n') +and puts the result in aDestStr. The contract explicitly +allows aSrcStr and aDestStr to be references +to the same string. +

+ int DwToCrEol(const +DwString& aSrcStr, DwString& aDestStr); +

+Converts all end-of-line markers in aSrcStr to CR ('\r') +and puts the result in aDestStr. The contract explicitly +allows aSrcStr and aDestStr to be references +to the same string. +

+ int DwToLocalEol(const +DwString& aSrcStr, DwString& aDestStr); +

+Converts all end-of-line markers in aSrcStr to the end-of-line +marker native to the operating system and puts the result in +aDestStr. The contract explicitly allows +aSrcStr and aDestStr to be references to +the same string. +

+The end-of-line markers for various operating systems are the following: +

+   MS-DOS, WIN32     CR LF
+   UNIX              LF
+   Macintosh         CR
+
+

+ int DwEncodeBase64(const +DwString& aSrcStr, DwString& aDestStr); +

+Encodes the characters in aSrcStr using the base64 encoding +and puts the result into aDestStr. The contract explicitly +allows aSrcStr and aDestStr to be references +to the same string. +

+ int DwDecodeBase64(const +DwString& aSrcStr, DwString& aDestStr); +

+Decodes the characters in aSrcStr from the base64 encoding +and puts the result into aDestStr. The contract explicitly +allows aSrcStr and aDestStr to be references +to the same string. +

+ int +DwEncodeQuotedPrintable(const +DwString& aSrcStr, DwString& aDestStr); +

+Encodes the characters in aSrcStr using the quoted-printable +encoding and puts the result into aDestStr. The contract +explicitly allows aSrcStr and aDestStr to +be references to the same string. +

+ int +DwDecodeQuotedPrintable(const +DwString& aSrcStr, DwString& aDestStr); +

+Decodes the characters in aSrcStr from the quoted-printable +encoding and puts the result into aDestStr. The contract +explicitly allows aSrcStr and aDestStr to +be references to the same string. + -- cgit v1.2.3