/////////////////////////////////////////////////////////////////////////////
-// Name: src/mac/carbon/mimetype.cpp
+// Name: src/osx/carbon/mimetmac.cpp
// Purpose: Mac Carbon implementation for wx MIME-related classes
// Author: Ryan Norton
// Modified by:
#if wxUSE_MIMETYPE
-#include "wx/mac/mimetype.h"
+#include "wx/osx/mimetype.h"
#ifndef WX_PRECOMP
#include "wx/dynarray.h"
#include "wx/file.h"
#include "wx/confbase.h"
-#include "wx/mac/private.h"
+#include "wx/osx/private.h"
// other standard headers
#include <ctype.h>
//
// Q) Iterating through the map - why does it use if (err == noErr) instead of just asserting?
-// A) Some intermediate indexes are bad while subsequent ones may be good. Its wierd, I know.
+// A) Some intermediate indexes are bad while subsequent ones may be good. Its weird, I know.
//
// extension -> file type
//
//
-#include "wx/mac/corefoundation/cfstring.h"
+#include "wx/osx/core/cfstring.h"
#define wxCF_RELEASE true
#define wxCF_RETAIN false
wxString sError;
bInfoOpenSuccess = cfdInfo.ReadAsXML(cfdaInDict, &sError);
if (!bInfoOpenSuccess)
+ {
wxLogDebug(sError);
+ }
indictfile.Close();
}
wxString sError;
bInfoOpenSuccess = cfdInfo.ReadAsXML(cfdaInDict, &sError);
if (!bInfoOpenSuccess)
+ {
wxLogDebug(sError);
+ }
indictfile.Close();
}
wxLogDebug(sPrintOut);
for (size_t i = 0; i < asExtensions.GetCount(); ++i)
+ {
wxLogDebug(asExtensions[i]);
+ }
}
}
else