X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/678ebfcdaecdf8db7c5d8ba0bb71ca6f60b4d719..ef094fa075bc56bcbc33b12159c395ea28afda3b:/include/wx/unix/mimetype.h diff --git a/include/wx/unix/mimetype.h b/include/wx/unix/mimetype.h index 8d094010c6..a15f76f881 100644 --- a/include/wx/unix/mimetype.h +++ b/include/wx/unix/mimetype.h @@ -6,13 +6,13 @@ // Created: 23.09.98 // RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin -// Licence: wxWindows license (part of wxExtra library) +// Licence: wxWindows licence (part of wxExtra library) ///////////////////////////////////////////////////////////////////////////// #ifndef _MIMETYPE_IMPL_H #define _MIMETYPE_IMPL_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "mimetype.h" #endif @@ -33,7 +33,7 @@ public: ~wxMimeTypesManagerImpl(); // load all data into memory - done when it is needed for the first time - void Initialize(int mailcapStyles = wxMAILCAP_STANDARD, + void Initialize(int mailcapStyles = wxMAILCAP_ALL, const wxString& extraDir = wxEmptyString); // and delete the data here @@ -98,9 +98,11 @@ private: wxString GetCommand(const wxString &verb, size_t nIndex) const; // read Gnome files - void LoadGnomeDataFromKeyFile(const wxString& filename); + void LoadGnomeDataFromKeyFile(const wxString& filename, + const wxArrayString& dirs); void LoadGnomeMimeTypesFromMimeFile(const wxString& filename); - void LoadGnomeMimeFilesFromDir(const wxString& dirbase); + void LoadGnomeMimeFilesFromDir(const wxString& dirbase, + const wxArrayString& dirs); void GetGnomeMimeInfo(const wxString& sExtraDir); // write gnome files