Version: 3.0.2
wxFileType::MessageParameters Class Reference

#include <wx/mimetype.h>

Detailed Description

Class representing message parameters.

An object of this class may be passed to wxFileType::GetOpenCommand() and GetPrintCommand() if more than the file name needs to be specified.

Public Member Functions

 MessageParameters ()
 Trivial default constructor.
 
 MessageParameters (const wxString &filename, const wxString &mimetype=wxEmptyString)
 Constructor taking a filename and a mime type.
 
const wxStringGetFileName () const
 Return the filename.
 
const wxStringGetMimeType () const
 Return the MIME type.
 
virtual wxString GetParamValue (const wxString &name) const
 Overridable method for derived classes. Returns empty string by default.
 
virtual ~MessageParameters ()
 Trivial but virtual dtor as this class can be inherited from.
 

Constructor & Destructor Documentation

wxFileType::MessageParameters::MessageParameters ( )

Trivial default constructor.

wxFileType::MessageParameters::MessageParameters ( const wxString filename,
const wxString mimetype = wxEmptyString 
)

Constructor taking a filename and a mime type.

virtual wxFileType::MessageParameters::~MessageParameters ( )
virtual

Trivial but virtual dtor as this class can be inherited from.

Member Function Documentation

const wxString& wxFileType::MessageParameters::GetFileName ( ) const

Return the filename.

const wxString& wxFileType::MessageParameters::GetMimeType ( ) const

Return the MIME type.

virtual wxString wxFileType::MessageParameters::GetParamValue ( const wxString name) const
virtual

Overridable method for derived classes. Returns empty string by default.