wxMimeTypesManager::AddFallbacks() added, also corrected a minor bug/incompatible
behaviour in wxFileType and added a MIME database query demo to typetest sample git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -70,7 +70,8 @@ default ones which are loaded automatically) containing MIME
|
||||
information in either mailcap(5) or mime.types(5) format.
|
||||
|
||||
\helpref{ReadMailcap}{wxmimetypesmanagerreadmailcap}\\
|
||||
\helpref{ReadMimeTypes}{wxmimetypesmanagerreadmimetypes}
|
||||
\helpref{ReadMimeTypes}{wxmimetypesmanagerreadmimetypes}\\
|
||||
\helpref{AddFallbacks}{wxmimetypesmanageraddfallbacks}
|
||||
|
||||
%%%%% MEMBERS HERE %%%%%
|
||||
\helponly{\insertatlevel{2}{
|
||||
@@ -93,6 +94,17 @@ additional mailcap/mime.types files.
|
||||
|
||||
Destructor is not virtual, so this class should not be derived from.
|
||||
|
||||
\membersection{wxMimeTypesManager::AddFallbacks}\label{wxmimetypesmanageraddfallbacks}
|
||||
|
||||
\func{void}{AddFallbacks}{\param{const wxFileTypeInfo *}{fallbacks}}
|
||||
|
||||
This function may be used to provdie hard-wired fallbacks for the MIME types
|
||||
and extensions that might not be present in the system MIME database.
|
||||
|
||||
% TODO
|
||||
|
||||
Please see the typetest sample for an example of using it.
|
||||
|
||||
\membersection{wxMimeTypesManager::GetFileTypeFromExtension}\label{wxmimetypesmanagergetfiletypefromextension}
|
||||
|
||||
\func{wxFileType*}{GetFileTypeFromExtension}{\param{const wxString\&}{ extension}}
|
||||
|
Reference in New Issue
Block a user