Main Page   Class Hierarchy   Compound List   File List   Compound Members  

wxMimePart Class Reference

Public helper class for MIME encoding and type determining. More...

#include <mime.h>

List of all members.

Public Methods

 wxMimePart (const wxFileName &fileName)
 Constructs a MIME part and tries to determine the type from the filename extension. More...

void Encode (wxOutputStream &out)
 Writes the file MIME encoded (currently only base64) to the specified stream. More...


Detailed Description

Public helper class for MIME encoding and type determining.

Definition at line 17 of file mime.h.


Constructor & Destructor Documentation

wxMimePart::wxMimePart const wxFileName &    fileName
 

Constructs a MIME part and tries to determine the type from the filename extension.

If this doesn't work, it sets the default type application/octet-stream. The specified file will be read if Encode is called.

Parameters:
fileName  File to be encoded as a MIME part.

Definition at line 36 of file mime.cpp.


Member Function Documentation

void wxMimePart::Encode wxOutputStream &    out
 

Writes the file MIME encoded (currently only base64) to the specified stream.

Parameters:
out  The stream, to which the MIME part will be written.

Definition at line 54 of file mime.cpp.

References wxBase64::Encode().


Generated on Mon May 6 01:14:20 2002 for Wino by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001