X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7b0786bfbb9c8149368c8f1a79ae861dd1472d97..b6fd0b424573e09ae7e83a28b225bbba008157b7:/include/wx/msdos/mimetype.h diff --git a/include/wx/msdos/mimetype.h b/include/wx/msdos/mimetype.h index cd2d763f6e..9b08462139 100644 --- a/include/wx/msdos/mimetype.h +++ b/include/wx/msdos/mimetype.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/mac/mimetype.h +// Name: wx/msdos/mimetype.h // Purpose: classes and functions to manage MIME types // Author: Vadim Zeitlin // Modified by: @@ -12,10 +12,6 @@ #ifndef _MIMETYPE_IMPL_H #define _MIMETYPE_IMPL_H -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "mimetype.h" -#endif - #include "wx/defs.h" #include "wx/mimetype.h" @@ -24,7 +20,7 @@ class wxMimeTypesManagerImpl { public : wxMimeTypesManagerImpl() { } - + // load all data into memory - done when it is needed for the first time void Initialize(int mailcapStyles = wxMAILCAP_STANDARD, const wxString& extraDir = wxEmptyString); @@ -66,7 +62,7 @@ public: // index 1 the type / * match // if built with GetFileTypeFromExtension, index 0 has the mimetype for // the first extension found, index 1 for the second and so on - + void Init(wxMimeTypesManagerImpl *manager, size_t index) { m_manager = manager; m_index.Add(index); } @@ -107,7 +103,7 @@ public: private: // helper function bool GetCommand(wxString *command, const char *verb) const; - + wxMimeTypesManagerImpl *m_manager; wxArrayInt m_index; // in the wxMimeTypesManagerImpl arrays wxString m_strFileType, m_ext;