#ifndef _WX_MIMETYPE_H_
#define _WX_MIMETYPE_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "mimetypebase.h"
-#endif // __GNUG__
-
// ----------------------------------------------------------------------------
// headers and such
// ----------------------------------------------------------------------------
wxFileTypeInfo() { }
// test if this object can be used
- bool IsValid() const { return !m_mimeType.IsEmpty(); }
+ bool IsValid() const { return !m_mimeType.empty(); }
// setters
// set the icon info
wxFileType *GetFileTypeFromMimeType(const wxString& mimeType);
// other operations: return true if there were no errors or false if there
- // were some unreckognized entries (the good entries are always read anyhow)
+ // were some unrecognized entries (the good entries are always read anyhow)
//
// FIXME: These ought to be private ??
// ----------------------------------------------------------------------------
// the default mime manager for wxWidgets programs
-WXDLLIMPEXP_DATA_BASE(extern wxMimeTypesManager *) wxTheMimeTypesManager;
+extern WXDLLIMPEXP_DATA_BASE(wxMimeTypesManager *) wxTheMimeTypesManager;
#endif // wxUSE_MIMETYPE