summaryrefslogtreecommitdiffstats
path: root/mimelib/doc/util.html
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit460c52653ab0dcca6f19a4f492ed2c5e4e963ab0 (patch)
tree67208f7c145782a7e90b123b982ca78d88cc2c87 /mimelib/doc/util.html
downloadtdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.tar.gz
tdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.zip
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
Diffstat (limited to 'mimelib/doc/util.html')
-rw-r--r--mimelib/doc/util.html111
1 files changed, 111 insertions, 0 deletions
diff --git a/mimelib/doc/util.html b/mimelib/doc/util.html
new file mode 100644
index 000000000..1ae75acf1
--- /dev/null
+++ b/mimelib/doc/util.html
@@ -0,0 +1,111 @@
+<!-- $Revision$ -->
+<!-- $Date$ -->
+<HTML>
+<HEAD>
+ <TITLE> MIME++ Utility Functions </TITLE>
+</HEAD>
+<BODY BGCOLOR="#FFFFFF">
+<H2>
+ <FONT COLOR="navy"> NAME </FONT>
+</H2>
+<P>
+MIME++ Utilities
+<H2>
+ <FONT COLOR="navy"> SYNOPSIS </FONT>
+</H2>
+<PRE>#include &amp;ltmimepp/mimepp.h&gt;
+
+void <A HREF="#DwInitialize">DwInitialize</A>();
+int <A HREF="#DwToCrLfEol">DwToCrLfEol</A>(const DwString&amp; aSrcStr, DwString&amp; aDestStr);
+int <A HREF="#DwToLfEol">DwToLfEol</A>(const DwString&amp; aSrcStr, DwString&amp; aDestStr);
+int <A HREF="#DwToCrEol">DwToCrEol</A>(const DwString&amp; aSrcStr, DwString&amp; aDestStr);
+int <A HREF="#DwToLocalEol">DwToLocalEol</A>(const DwString&amp; aSrcStr, DwString&amp; aDestStr);
+int <A HREF="#DwEncodeBase64">DwEncodeBase64</A>(const DwString&amp; aSrcStr, DwString&amp; aDestStr);
+int <A HREF="#DwDecodeBase64">DwDecodeBase64</A>(const DwString&amp; aSrcStr, DwString&amp; aDestStr);
+int <A HREF="#DwEncodeQuotedPrintable">DwEncodeQuotedPrintable</A>(const DwString&amp; aSrcStr, DwString&amp; aDestStr);
+int <A HREF="#DwDecodeQuotedPrintable">DwEncodeQuotedPrintable</A>(const DwString&amp; aSrcStr, DwString&amp; aDestStr);
+</PRE>
+<H2>
+ <FONT COLOR="navy"> DESCRIPTION </FONT>
+</H2>
+<P>
+<FONT COLOR="teal"><B> void <A NAME="DwInitialize">DwInitialize</A>();
+</B></FONT>
+<P>
+Initializes the class library. Call this member function before creating
+any objects from MIME++ classes.
+<P>
+<FONT COLOR="teal"><B> int <A NAME="DwToCrLfEol">DwToCrLfEol</A>(const
+DwString&amp; aSrcStr, DwString&amp; aDestStr); </B></FONT>
+<P>
+Converts all end-of-line markers in <B><TT>aSrcStr</TT></B> to CR LF and
+puts the result in <B><TT>aDestStr</TT></B>. The contract explicitly allows
+<B><TT>aSrcStr</TT></B> and <B><TT>aDestStr</TT></B> to be references to
+the same string.
+<P>
+<FONT COLOR="teal"><B> int <A NAME="DwToLfEol">DwToLfEol</A>(const
+DwString&amp; aSrcStr, DwString&amp; aDestStr); </B></FONT>
+<P>
+Converts all end-of-line markers in <B><TT>aSrcStr</TT></B> to LF ('\n')
+and puts the result in <B><TT>aDestStr</TT></B>. The contract explicitly
+allows <B><TT>aSrcStr</TT></B> and <B><TT>aDestStr</TT></B> to be references
+to the same string.
+<P>
+<FONT COLOR="teal"><B> int <A NAME="DwToCrEol">DwToCrEol</A>(const
+DwString&amp; aSrcStr, DwString&amp; aDestStr); </B></FONT>
+<P>
+Converts all end-of-line markers in <B><TT>aSrcStr</TT></B> to CR ('\r')
+and puts the result in <B><TT>aDestStr</TT></B>. The contract explicitly
+allows <B><TT>aSrcStr</TT></B> and <B><TT>aDestStr</TT></B> to be references
+to the same string.
+<P>
+<FONT COLOR="teal"><B> int <A NAME="DwToLocalEol">DwToLocalEol</A>(const
+DwString&amp; aSrcStr, DwString&amp; aDestStr); </B></FONT>
+<P>
+Converts all end-of-line markers in <B><TT>aSrcStr</TT></B> to the end-of-line
+marker native to the operating system and puts the result in
+<B><TT>aDestStr</TT></B>. The contract explicitly allows
+<B><TT>aSrcStr</TT></B> and <B><TT>aDestStr</TT></B> to be references to
+the same string.
+<P>
+The end-of-line markers for various operating systems are the following:
+<PRE>
+ MS-DOS, WIN32 CR LF
+ UNIX LF
+ Macintosh CR
+</PRE>
+<P>
+<FONT COLOR="teal"><B> int <A NAME="DwEncodeBase64">DwEncodeBase64</A>(const
+DwString&amp; aSrcStr, DwString&amp; aDestStr); </B></FONT>
+<P>
+Encodes the characters in <B><TT>aSrcStr</TT></B> using the base64 encoding
+and puts the result into <B><TT>aDestStr</TT></B>. The contract explicitly
+allows <B><TT>aSrcStr</TT></B> and <B><TT>aDestStr</TT></B> to be references
+to the same string.
+<P>
+<FONT COLOR="teal"><B> int <A NAME="DwDecodeBase64">DwDecodeBase64</A>(const
+DwString&amp; aSrcStr, DwString&amp; aDestStr); </B></FONT>
+<P>
+Decodes the characters in <B><TT>aSrcStr</TT></B> from the base64 encoding
+and puts the result into <B><TT>aDestStr</TT></B>. The contract explicitly
+allows <B><TT>aSrcStr</TT></B> and <B><TT>aDestStr</TT></B> to be references
+to the same string.
+<P>
+<FONT COLOR="teal"><B> int
+<A NAME="DwEncodeQuotedPrintable">DwEncodeQuotedPrintable</A>(const
+DwString&amp; aSrcStr, DwString&amp; aDestStr); </B></FONT>
+<P>
+Encodes the characters in <B><TT>aSrcStr</TT></B> using the quoted-printable
+encoding and puts the result into <B><TT>aDestStr</TT></B>. The contract
+explicitly allows <B><TT>aSrcStr</TT></B> and <B><TT>aDestStr</TT></B> to
+be references to the same string.
+<P>
+<FONT COLOR="teal"><B> int
+<A NAME="DwDecodeQuotedPrintable">DwDecodeQuotedPrintable</A>(const
+DwString&amp; aSrcStr, DwString&amp; aDestStr); </B></FONT>
+<P>
+Decodes the characters in <B><TT>aSrcStr</TT></B> from the quoted-printable
+encoding and puts the result into <B><TT>aDestStr</TT></B>. The contract
+explicitly allows <B><TT>aSrcStr</TT></B> and <B><TT>aDestStr</TT></B> to
+be references to the same string.
+</BODY></HTML>