X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc385968c4b81d0cee98c164cb870a8759d927bc..29ea4a290850e9ae79c258774fa22153a951ff7f:/include/wx/mimetype.h diff --git a/include/wx/mimetype.h b/include/wx/mimetype.h index d30eb3c70d..fb8e884cf3 100644 --- a/include/wx/mimetype.h +++ b/include/wx/mimetype.h @@ -9,14 +9,18 @@ // 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" @@ -26,7 +30,7 @@ class wxMimeTypesManagerImpl; // 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 @@ -107,7 +111,7 @@ private: // 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 @@ -155,6 +159,10 @@ private: wxMimeTypesManagerImpl *m_impl; }; -#endif //_MIMETYPE_H +#endif + // wxUSE_FILE + +#endif + //_MIMETYPE_H /* vi: set cin tw=80 ts=4 sw=4: */