Removed most of the pre-XDG MIME code from the Unix implementation, many speed-ups by simplification

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-06-30 11:58:41 +00:00
parent c268eb3272
commit 29886d1bf8
6 changed files with 77 additions and 1974 deletions

View File

@@ -667,18 +667,6 @@ wxMimeTypesManager::GetFileTypeFromMimeType(const wxString& mimeType)
return ft;
}
bool wxMimeTypesManager::ReadMailcap(const wxString& filename, bool fallback)
{
EnsureImpl();
return m_impl->ReadMailcap(filename, fallback);
}
bool wxMimeTypesManager::ReadMimeTypes(const wxString& filename)
{
EnsureImpl();
return m_impl->ReadMimeTypes(filename);
}
void wxMimeTypesManager::AddFallbacks(const wxFileTypeInfo *filetypes)
{
EnsureImpl();