X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba1d7a6cec8d9569ce2e380d4a39ddcd4450c9b5..0c61ab6f66b526747d23b8b77d67712e070ca6d5:/interface/wx/mimetype.h diff --git a/interface/wx/mimetype.h b/interface/wx/mimetype.h index ae5abb790e..c5e7b48100 100644 --- a/interface/wx/mimetype.h +++ b/interface/wx/mimetype.h @@ -234,13 +234,19 @@ wxMimeTypesManager* wxTheMimeTypesManager; */ class wxFileType { -public: +private: /** The default constructor is private because you should never create objects of this type: they are only returned by wxMimeTypesManager methods. */ wxFileType(); +public: + /** + Copy ctor. + */ + wxFileType(const wxFileTypeInfo& ftInfo); + /** The destructor of this class is not virtual, so it should not be derived from. */ @@ -318,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; //@{ /** @@ -345,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; };