[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

hugin1/base_wx/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 <config.h>
00033 
00034 #ifdef __WXMSW__
00035 #define HUGIN_CONV_FILENAME (*wxConvCurrent)
00036 #else
00037 #define HUGIN_CONV_FILENAME (*wxConvFileName)
00038 #endif
00039 
00040 #define HUGIN_WX_FILE_IMG_FILTER _("All Image files|*.jpg;*.JPG;*jpeg;*JPEG;*.tif;*.TIF;*.tiff;*.TIFF;*.png;*.PNG;*.bmp;*.BMP;*.gif;*.GIF;*.pnm;*.PNM;*.sun;*.viff;*.hdr;*.HDR;*.exr;*.EXR|JPEG files (*.jpg,*.jpeg)|*.jpg;*.JPG;*.jpeg;*.JPEG|TIFF files (*.tif,*.tiff)|*.tif;*.TIF;*.tiff;*.TIFF|PNG files (*.png)|*.png;*.PNG|HDR files (*.hdr)|*.hdr;*.HDR|EXR files (*.exr)|*.exr;*.EXR|All files (*)|*")
00041 
00042 #if defined __WXMAC__ 
00043 
00044 #include <CoreFoundation/CFString.h>
00045 #include <wx/mac/private.h>
00046 
00047 CFStringRef MacCreateCFStringWithWxString(const wxString& string);
00048 
00049 wxString MacGetPathToMainExecutableFileOfBundle(CFStringRef bundlePath);
00050 
00051 #if defined MAC_SELF_CONTAINED_BUNDLE
00052 
00053 wxString MacGetPathToBundledResourceFile(CFStringRef filename);
00054 wxString MacGetPathToBundledExecutableFile(CFStringRef filename);
00055 wxString MacGetPathToBundledAppMainExecutableFile(CFStringRef appname);
00056 wxString MacGetPathToUserDomainTempDir();
00057 wxString MacGetPathToUserAppSupportAutoPanoFolder();
00058 
00059 #endif // MAC_SELF_CONTAINED_BUNDLE
00060 
00061 #endif //__WXMAC__
00062 
00064 WXIMPEX const wxString getInvalidCharacters();
00066 WXIMPEX bool containsInvalidCharacters(const wxString stringToTest);
00067 
00068 #endif

Generated on Mon Sep 20 01:01:25 2010 for Hugintrunk by doxygen 1.3.9.1