X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b850ae1a514c83cbd4c5a36d38d0c9c2a5347b7..852b6c3ce7baa055da25f5254f6ee2eee0cd79b7:/src/common/mimecmn.cpp diff --git a/src/common/mimecmn.cpp b/src/common/mimecmn.cpp index 104285eac5..27d4b8d429 100644 --- a/src/common/mimecmn.cpp +++ b/src/common/mimecmn.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: common/mimecmn.cpp +// Name: src/common/mimecmn.cpp // Purpose: classes and functions to manage MIME types // Author: Vadim Zeitlin // Modified by: @@ -27,20 +27,20 @@ #if wxUSE_MIMETYPE +#include "wx/mimetype.h" + #ifndef WX_PRECOMP - #include "wx/string.h" + #include "wx/dynarray.h" + #include "wx/string.h" + #include "wx/intl.h" + #include "wx/log.h" #endif //WX_PRECOMP #include "wx/module.h" -#include "wx/log.h" #include "wx/file.h" #include "wx/iconloc.h" -#include "wx/intl.h" -#include "wx/dynarray.h" #include "wx/confbase.h" -#include "wx/mimetype.h" - // other standard headers #include @@ -459,7 +459,7 @@ bool wxFileType::SetDefaultIcon(const wxString& cmd, int index) wxMimeTypesManagerFactory *wxMimeTypesManagerFactory::m_factory = NULL; -/* static */ +/* static */ void wxMimeTypesManagerFactory::SetFactory( wxMimeTypesManagerFactory *factory ) { if (wxMimeTypesManagerFactory::m_factory) @@ -468,7 +468,7 @@ void wxMimeTypesManagerFactory::SetFactory( wxMimeTypesManagerFactory *factory ) wxMimeTypesManagerFactory::m_factory = factory; } -/* static */ +/* static */ wxMimeTypesManagerFactory *wxMimeTypesManagerFactory::GetFactory() { if (!wxMimeTypesManagerFactory::m_factory)