#ifndef _MIMETYPE_IMPL_H
#define _MIMETYPE_IMPL_H
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "mimetype.h"
#endif
~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
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