X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8067ee1174ded3b3ab4127ed2e00e586b855a828..730b772b41ad9df76e5226290bb9eb917ea161f0:/interface/wx/mimetype.h diff --git a/interface/wx/mimetype.h b/interface/wx/mimetype.h index 4546827df8..05c0f1aee7 100644 --- a/interface/wx/mimetype.h +++ b/interface/wx/mimetype.h @@ -271,7 +271,7 @@ public: 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 @@ -324,7 +324,7 @@ public: 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; //@{ /** @@ -340,8 +340,8 @@ public: 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; //@} /** @@ -351,6 +351,7 @@ public: 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; };