X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/os2/mimetype.h diff --git a/include/wx/os2/mimetype.h b/include/wx/os2/mimetype.h index 475fb05288..6429e98776 100644 --- a/include/wx/os2/mimetype.h +++ b/include/wx/os2/mimetype.h @@ -4,7 +4,6 @@ // Author: David Webster // Modified by: // Created: 01.21.99 -// RCS-ID: $Id$ // Copyright: adopted from msw port -- (c) 1998 Vadim Zeitlin // Licence: wxWindows licence (part of wxExtra library) ///////////////////////////////////////////////////////////////////////////// @@ -12,10 +11,6 @@ #ifndef _MIMETYPE_IMPL_H #define _MIMETYPE_IMPL_H -#ifdef __GNUG__ - #pragma interface "mimetype.h" -#endif - #include "wx/defs.h" #if wxUSE_MIMETYPE @@ -63,10 +58,10 @@ public: bool Unassociate(); // set an arbitrary command, ask confirmation if it already exists and - // overwriteprompt is TRUE + // overwriteprompt is true bool SetCommand(const wxString& cmd, const wxString& verb, - bool overwriteprompt = TRUE); + bool overwriteprompt = true); bool SetDefaultIcon(const wxString& cmd = wxEmptyString, int index = 0); @@ -100,12 +95,6 @@ public: size_t EnumAllFileTypes(wxArrayString& mimetypes); - // these are NOPs under OS/2 - bool ReadMailcap(const wxString& filename, bool fallback = TRUE) - { return TRUE; } - bool ReadMimeTypes(const wxString& filename) - { return TRUE; } - void AddFallback(const wxFileTypeInfo& ft) { m_fallbacks.Add(ft); } private: @@ -116,4 +105,3 @@ private: #endif //_MIMETYPE_IMPL_H -