projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleaned up the checkbox creation code (~70 lines of code became 3)
[wxWidgets.git]
/
src
/
mac
/
carbon
/
mimetmac.cpp
diff --git
a/src/mac/carbon/mimetmac.cpp
b/src/mac/carbon/mimetmac.cpp
index 21b804c85b7c02d6e6df45b9f7dcc5fb8c888f75..ddf62412cc902cf8759abf2bacd00149f3dfce73 100644
(file)
--- a/
src/mac/carbon/mimetmac.cpp
+++ b/
src/mac/carbon/mimetmac.cpp
@@
-46,6
+46,15
@@
// in case we're compiling in non-GUI mode
class WXDLLEXPORT wxIcon;
// 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
{
bool wxFileTypeImpl::GetCommand(wxString *command, const char *verb) const
{
@@
-83,7
+92,7
@@
bool wxFileTypeImpl::GetMimeTypes(wxArrayString& mimeTypes) const
return FALSE;
}
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;
{
// no such file type or no value or incorrect icon entry
return FALSE;
@@
-94,9
+103,24
@@
bool wxFileTypeImpl::GetDescription(wxString *desc) const
return FALSE;
}
return FALSE;
}
-bool wxFileTypeImpl::Unassociate()
+size_t
+wxFileTypeImpl::GetAllCommands(wxArrayString * verbs, wxArrayString * commands,
+ const wxFileType::MessageParameters& params) const
{
{
- return FALSE;
+ 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
}
// extension -> file type
@@
-194,3
+218,10
@@
wxMimeTypesManagerImpl::Associate(const wxFileTypeInfo& ftInfo)
return NULL;
}
return NULL;
}
+
+bool
+wxMimeTypesManagerImpl::Unassociate(wxFileType *ft)
+{
+ return FALSE;
+}
+