From 0894c989596feb8d97d582e87cca021339cc26cd Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Wed, 11 Oct 2006 14:52:41 +0000 Subject: Renamed 'vmime::platformDependant' to 'vmime::platform'. --- doc/book/net.tex | 2 +- doc/book/start.tex | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/book/net.tex b/doc/book/net.tex index 84f48c05..08b7df56 100644 --- a/doc/book/net.tex +++ b/doc/book/net.tex @@ -719,7 +719,7 @@ private: const unsigned int getTime() const { - return vmime::platformDependant::getHandler()->getUnixTime(); + return vmime::platform::getHandler()->getUnixTime(); } unsigned int m_last; diff --git a/doc/book/start.tex b/doc/book/start.tex index 26a9ed79..b37bdaad 100644 --- a/doc/book/start.tex +++ b/doc/book/start.tex @@ -60,13 +60,13 @@ version of the library. % ============================================================================ -\section{Platform-dependant code} +\section{Platform-dependent code} While the most part of VMime code is pure ANSI C++, there are some features that are platform-specific: file management (opening/reading/writing files), network code (socket, DNS resolution) and time management. All the non-portable stuff is done by a bridge object called a platform handler (see -{\vcode vmime::platformDependant}). +{\vcode vmime::platform}). If your platform is POSIX-compatible (eg. GNU/Linux, *BSD) or is Windows, then you are lucky: VMime has built-in support for these platforms. If not, @@ -85,7 +85,7 @@ So, if your platform is POSIX, your program should look like this: int main() { - vmime::platformDependant:: + vmime::platform:: setHandler (); // Now, you can use VMime @@ -98,7 +98,11 @@ $<$vmime/platforms/windows/windowsHandler.hpp$>$ and use the following line to initialize the platform handler: \begin{lstlisting} -vmime::platformDependant:: +vmime::platform:: setHandler (); \end{lstlisting} +\vnote{since version 0.8.1, {\vcode vmime::platformDependant} was renamed +to {\vcode vmime::platform}. The old name has been kept for compatibility +but it is recommended that you update your code, if needed.} + -- cgit v1.2.3