X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fde6fcc9b551340a194ae4c726db5ab64b5c594..16d38102e8ad5534d185cc532b9aa8077a75e0a4:/src/mac/mimetmac.cpp diff --git a/src/mac/mimetmac.cpp b/src/mac/mimetmac.cpp index 77e60cbc20..ddf62412cc 100644 --- a/src/mac/mimetmac.cpp +++ b/src/mac/mimetmac.cpp @@ -46,10 +46,15 @@ // in case we're compiling in non-GUI mode class WXDLLEXPORT wxIcon; +bool wxFileTypeImpl::SetCommand(const wxString& cmd, const wxString& verb, bool overwriteprompt) +{ + return FALSE; +} - - - +bool wxFileTypeImpl::SetDefaultIcon(const wxString& strIcon, int index) +{ + return FALSE; +} bool wxFileTypeImpl::GetCommand(wxString *command, const char *verb) const { @@ -87,7 +92,7 @@ bool wxFileTypeImpl::GetMimeTypes(wxArrayString& mimeTypes) const return FALSE; } -bool wxFileTypeImpl::GetIcon(wxIcon *icon) const +bool wxFileTypeImpl::GetIcon(wxIcon *icon, wxString *sCommand, int *iIndex) const { // no such file type or no value or incorrect icon entry return FALSE; @@ -98,6 +103,26 @@ bool wxFileTypeImpl::GetDescription(wxString *desc) const return FALSE; } +size_t +wxFileTypeImpl::GetAllCommands(wxArrayString * verbs, wxArrayString * commands, + const wxFileType::MessageParameters& params) const +{ + wxFAIL_MSG( _T("TODO") ); + return 0; +} + +void +wxMimeTypesManagerImpl::Initialize(int mailcapStyles, const wxString& extraDir) +{ + wxFAIL_MSG( _T("TODO") ); +} + +void +wxMimeTypesManagerImpl::ClearData() +{ + wxFAIL_MSG( _T("TODO") ); +} + // extension -> file type wxFileType * wxMimeTypesManagerImpl::GetFileTypeFromExtension(const wxString& e) @@ -186,3 +211,17 @@ size_t wxMimeTypesManagerImpl::EnumAllFileTypes(wxArrayString& mimetypes) return 0; } +wxFileType * +wxMimeTypesManagerImpl::Associate(const wxFileTypeInfo& ftInfo) +{ + wxFAIL_MSG( _T("TODO") ); + + return NULL; +} + +bool +wxMimeTypesManagerImpl::Unassociate(wxFileType *ft) +{ + return FALSE; +} +