X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ecf23aa6269c155f66f5a37d00bb8b11ad01f383..94799627ee0ad217b2fc41df5bd5bccf59494e00:/include/wx/mimetype.h diff --git a/include/wx/mimetype.h b/include/wx/mimetype.h index 0626bba4d4..dcd26cafa4 100644 --- a/include/wx/mimetype.h +++ b/include/wx/mimetype.h @@ -30,6 +30,8 @@ class wxMimeTypesManagerImpl; #include "wx/string.h" #include "wx/dynarray.h" +class wxMimeTypeCmnModule; + // This class holds information about a given "file type". File type is the // same as MIME type under Unix, but under Windows it corresponds more to an // extension than to MIME type (in fact, several extensions may correspond to a @@ -75,6 +77,7 @@ public: // parameters are unchanged) // return the MIME type for this file type bool GetMimeType(wxString *mimeType) const; + bool GetMimeTypes(wxArrayString& mimeTypes) const; // fill passed in array with all extensions associated with this file // type bool GetExtensions(wxArrayString& extensions); @@ -227,6 +230,8 @@ private: // if m_impl is NULL, create one void EnsureImpl(); + + friend class wxMimeTypeCmnModule; };