// Licence: wxWindows license (part of wxExtra library)
/////////////////////////////////////////////////////////////////////////////
-#ifndef _MIMETYPE_H
-#define _MIMETYPE_H
+#ifndef _MIMETYPE_H
+#define _MIMETYPE_H
// fwd decls
class wxIcon;
class wxFileTypeImpl;
class wxMimeTypesManagerImpl;
+#include "wx/defs.h"
+
+#if wxUSE_FILE
+
// the things we really need
#include "wx/string.h"
// file type). This object may be created in many different ways and depending
// on how it was created some fields may be unknown so the return value of all
// the accessors *must* be checked!
-class wxFileType
+class WXDLLEXPORT wxFileType
{
friend wxMimeTypesManagerImpl; // it has access to m_impl
// given type) about them.
//
// NB: currently it doesn't support modifying MIME database (read-only access).
-class wxMimeTypesManager
+class WXDLLEXPORT wxMimeTypesManager
{
public:
// static helper functions
wxMimeTypesManagerImpl *m_impl;
};
-#endif //_MIMETYPE_H
+#endif
+ // wxUSE_FILE
+
+#endif
+ //_MIMETYPE_H
/* vi: set cin tw=80 ts=4 sw=4: */