#ifndef _MIMETYPE_IMPL_H
#define _MIMETYPE_IMPL_H
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "mimetype.h"
-#endif
-
#include "wx/defs.h"
#if wxUSE_MIMETYPE
private:
// helper function: reads the command corresponding to the specified verb
// from the registry (returns an empty string if not found)
- wxString GetCommand(const wxChar *verb) const;
+ wxString GetCommand(const wxString& verb) const;
// get the registry path for the given verb
wxString GetVerbPath(const wxString& verb) const;
size_t EnumAllFileTypes(wxArrayString& mimetypes);
- // this are NOPs under Windows
- bool ReadMailcap(const wxString& WXUNUSED(filename), bool WXUNUSED(fallback) = true)
- { return true; }
- bool ReadMimeTypes(const wxString& WXUNUSED(filename))
- { return true; }
-
// create a new filetype association
wxFileType *Associate(const wxFileTypeInfo& ftInfo);