X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fde6fcc9b551340a194ae4c726db5ab64b5c594..bf60426831535738b1b784629f08e9dd00bf9ecc:/src/mac/carbon/mimetmac.cpp?ds=sidebyside diff --git a/src/mac/carbon/mimetmac.cpp b/src/mac/carbon/mimetmac.cpp index 77e60cbc20..0306d07f2c 100644 --- a/src/mac/carbon/mimetmac.cpp +++ b/src/mac/carbon/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("wxFileTypeImpl::GetAllCommands() not yet implemented") ); + return 0; +} + +void +wxMimeTypesManagerImpl::Initialize(int mailcapStyles, const wxString& extraDir) +{ + wxFAIL_MSG( _T("wxMimeTypesManagerImpl::Initialize() not yet implemented") ); +} + +void +wxMimeTypesManagerImpl::ClearData() +{ + wxFAIL_MSG( _T("wxMimeTypesManagerImpl::ClearData() not yet implemented") ); +} + // extension -> file type wxFileType * wxMimeTypesManagerImpl::GetFileTypeFromExtension(const wxString& e) @@ -181,8 +206,23 @@ wxMimeTypesManagerImpl::GetFileTypeFromMimeType(const wxString& mimeType) size_t wxMimeTypesManagerImpl::EnumAllFileTypes(wxArrayString& mimetypes) { - wxFAIL_MSG( _T("TODO") ); // VZ: don't know anything about this for Mac + // VZ: don't know anything about this for Mac + wxFAIL_MSG( _T("wxMimeTypesManagerImpl::EnumAllFileTypes() not yet implemented") ); return 0; } +wxFileType * +wxMimeTypesManagerImpl::Associate(const wxFileTypeInfo& ftInfo) +{ + wxFAIL_MSG( _T("wxMimeTypesManagerImpl::Associate() not yet implemented") ); + + return NULL; +} + +bool +wxMimeTypesManagerImpl::Unassociate(wxFileType *ft) +{ + return FALSE; +} +