platform.h

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00002 
00027 #ifndef HUGIN1_BASE_PLATFORM_H
00028 #define HUGIN1_BASE_PLATFORM_H
00029 
00030 #include <hugin_shared.h>
00031 #include "panoinc_WX.h"
00032 #include "hugin_config.h"
00033 #if wxUSE_ON_FATAL_EXCEPTION
00034 #include <wx/debugrpt.h>
00035 #endif
00036 
00037 #ifdef __WXMSW__
00038 #define HUGIN_CONV_FILENAME (*wxConvCurrent)
00039 #else
00040 #define HUGIN_CONV_FILENAME (*wxConvFileName)
00041 #endif
00042 
00045 WXIMPEX wxString GetFileDialogImageFilters();
00046 
00047 #if defined __WXMAC__ || defined __WXOSX_COCOA__
00048 
00049 #include "wx/osx/core/cfstring.h"
00050 #include <wx/osx/private.h>
00051 
00052 CFStringRef MacCreateCFStringWithWxString(const wxString& string);
00053 
00054 wxString MacGetPathToMainExecutableFileOfBundle(CFStringRef bundlePath);
00055 wxString MacGetPathToMainExecutableFileOfRegisteredBundle(CFStringRef BundleIdentifier);
00056 
00057 #if defined MAC_SELF_CONTAINED_BUNDLE
00058 
00059 wxString MacGetPathToBundledResourceFile(CFStringRef filename);
00060 wxString MacGetPathToBundledFrameworksDirectory();
00061 wxString MacGetPathToBundledExecutableFile(CFStringRef filename);
00062 wxString MacGetPathToBundledAppMainExecutableFile(CFStringRef appname);
00063 wxString MacGetPathToUserDomainTempDir();
00064 wxString MacGetPathToUserAppSupportAutoPanoFolder();
00065 
00066 #endif // MAC_SELF_CONTAINED_BUNDLE
00067 
00068 #endif //__WXMAC__
00069 
00071 WXIMPEX const wxString getInvalidCharacters();
00073 WXIMPEX bool containsInvalidCharacters(const wxString stringToTest);
00075 WXIMPEX void ShowFilenameWarning(wxWindow* parent, const wxArrayString filelist);
00076 
00077 #if wxUSE_ON_FATAL_EXCEPTION
00078 
00079 WXIMPEX void GenerateReport(wxDebugReport::Context ctx);
00080 #endif
00081 
00082 #endif

Generated on 24 Feb 2018 for Hugintrunk by  doxygen 1.4.7