@library{wxbase}
- @category{misc}
+ @category{cfg}
@see wxFileType
*/
@library{wxbase}
- @category{misc}
+ @category{data}
@see wxMimeTypesManager
*/
function.
*/
static wxString ExpandCommand(const wxString& command,
- MessageParameters& params);
+ const MessageParameters& params);
/**
If the function returns @true, the string pointed to by @a desc is filled
This happens when one file extension is mapped to different MIME types
by KDE, mailcap and mime.types.
*/
- bool GetMimeType(wxArrayString& mimeTypes);
+ bool GetMimeTypes(wxArrayString& mimeTypes) const;
//@{
/**
indicate that an error occurred (typically meaning that there is no standard way
to open this kind of files).
*/
- bool GetOpenCommand(wxString* command, MessageParameters& params);
- wxString GetOpenCommand(const wxString& filename);
+ bool GetOpenCommand(wxString* command, const MessageParameters& params);
+ wxString GetOpenCommand(const wxString& filename) const;
//@}
/**
The name of the file is retrieved from the MessageParameters class.
*/
- bool GetPrintCommand(wxString* command, MessageParameters& params);
+ bool GetPrintCommand(wxString* command,
+ const MessageParameters& params) const;
};