27 #ifndef HUGIN1_BASE_PLATFORM_H
28 #define HUGIN1_BASE_PLATFORM_H
32 #include "hugin_config.h"
33 #if wxUSE_ON_FATAL_EXCEPTION
34 #include <wx/debugrpt.h>
38 #define HUGIN_CONV_FILENAME (*wxConvCurrent)
40 #define HUGIN_CONV_FILENAME (*wxConvFileName)
51 #if defined __WXMAC__ || defined __WXOSX_COCOA__
53 #include <wx/osx/core/cfstring.h>
54 #include <wx/osx/private.h>
56 CFStringRef MacCreateCFStringWithWxString(
const wxString&
string);
58 wxString MacGetPathToMainExecutableFileOfBundle(CFStringRef bundlePath);
59 wxString MacGetPathToMainExecutableFileOfRegisteredBundle(CFStringRef BundleIdentifier);
61 #if defined MAC_SELF_CONTAINED_BUNDLE
63 wxString MacGetPathToBundledResourceFile(CFStringRef filename);
64 wxString MacGetPathToBundledFrameworksDirectory();
65 wxString MacGetPathToBundledExecutableFile(CFStringRef filename);
66 wxString MacGetPathToBundledAppMainExecutableFile(CFStringRef appname);
67 wxString MacGetPathToUserDomainTempDir();
68 wxString MacGetPathToUserAppSupportAutoPanoFolder();
70 #endif // MAC_SELF_CONTAINED_BUNDLE
81 #if wxUSE_ON_FATAL_EXCEPTION
83 WXIMPEX void GenerateReport(wxDebugReport::Context ctx);
include file for the hugin project