enumerating all MIME types (half finished, doesn't work yet)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-12-06 17:54:50 +00:00
parent 4314ec480e
commit 1b986aef6e
2 changed files with 130 additions and 84 deletions

View File

@@ -190,6 +190,12 @@ public:
// read in additional file in mime.types format
bool ReadMimeTypes(const wxString& filename);
// enumerate all known file types: the caller is responsible for freeing
// both the array and its elements! The previous value of filetypes is lost
//
// returns the number of retrieved file types
size_t EnumAllFileTypes(wxFileType **filetypes);
// these functions can be used to provide default values for some of the
// MIME types inside the program itself (you may also use
// ReadMailcap(filenameWithDefaultTypes, TRUE /* use as fallback */) to