// Created: 01.21.99
// RCS-ID: $Id$
// Copyright: adopted from msw port -- (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence: wxWidgets licence (part of wxExtra library)
+// Licence: wxWindows licence (part of wxExtra library)
/////////////////////////////////////////////////////////////////////////////
#ifndef _MIMETYPE_IMPL_H
#define _MIMETYPE_IMPL_H
-#ifdef __GNUG__
- #pragma interface "mimetype.h"
-#endif
-
#include "wx/defs.h"
#if wxUSE_MIMETYPE
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);
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; }
+ bool ReadMailcap(const wxString& WXUNUSED(filename), bool WXUNUSED(fallback) = true)
+ { return true; }
+ bool ReadMimeTypes(const wxString& WXUNUSED(filename))
+ { return true; }
void AddFallback(const wxFileTypeInfo& ft) { m_fallbacks.Add(ft); }
#endif
//_MIMETYPE_IMPL_H
-