/////////////////////////////////////////////////////////////////////////////
-// Name: common/mimecmn.cpp
+// Name: src/common/mimecmn.cpp
// Purpose: classes and functions to manage MIME types
// Author: Vadim Zeitlin
// Modified by:
#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 <ctype.h>
wxMimeTypesManagerFactory *wxMimeTypesManagerFactory::m_factory = NULL;
-/* static */
+/* static */
void wxMimeTypesManagerFactory::SetFactory( wxMimeTypesManagerFactory *factory )
{
if (wxMimeTypesManagerFactory::m_factory)
wxMimeTypesManagerFactory::m_factory = factory;
}
-/* static */
+/* static */
wxMimeTypesManagerFactory *wxMimeTypesManagerFactory::GetFactory()
{
if (!wxMimeTypesManagerFactory::m_factory)