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)
53 #if defined __WXMAC__ || defined __WXOSX_COCOA__
55 #include <wx/osx/core/cfstring.h>
56 #include <wx/osx/private.h>
58 CFStringRef MacCreateCFStringWithWxString(
const wxString&
string);
60 wxString MacGetPathToMainExecutableFileOfBundle(CFStringRef bundlePath);
61 wxString MacGetPathToMainExecutableFileOfRegisteredBundle(CFStringRef BundleIdentifier);
63 #if defined MAC_SELF_CONTAINED_BUNDLE
65 wxString MacGetPathToBundledResourceFile(CFStringRef filename);
66 wxString MacGetPathToBundledFrameworksDirectory();
67 wxString MacGetPathToBundledExecutableFile(CFStringRef filename);
68 wxString MacGetPathToBundledAppMainExecutableFile(CFStringRef appname);
69 wxString MacGetPathToUserDomainTempDir();
70 wxString MacGetPathToUserAppSupportAutoPanoFolder();
72 #endif // MAC_SELF_CONTAINED_BUNDLE
83 #if wxUSE_ON_FATAL_EXCEPTION
85 WXIMPEX void GenerateReport(wxDebugReport::Context ctx);
include file for the hugin project