Hugin trunk 0.1
Loading...
Searching...
No Matches
platform.h
Go to the documentation of this file.
1// -*- c-basic-offset: 4 -*-
2
27#ifndef HUGIN1_BASE_PLATFORM_H
28#define HUGIN1_BASE_PLATFORM_H
29
30#include <hugin_shared.h>
31#include "panoinc_WX.h"
32#include "hugin_config.h"
33#if wxUSE_ON_FATAL_EXCEPTION
34#include <wx/debugrpt.h>
35#endif
36
37#ifdef __WXMSW__
38#define HUGIN_CONV_FILENAME (*wxConvCurrent)
39#else
40#define HUGIN_CONV_FILENAME (*wxConvFileName)
41#endif
42
52
53#if defined __WXMAC__ || defined __WXOSX_COCOA__
54
55#include <wx/osx/core/cfstring.h>
56#include <wx/osx/private.h>
57
59
62
63#if defined MAC_SELF_CONTAINED_BUNDLE
64
71
72#endif // MAC_SELF_CONTAINED_BUNDLE
73
74#endif //__WXMAC__
75
82
83#if wxUSE_ON_FATAL_EXCEPTION
85WXIMPEX void GenerateReport(wxDebugReport::Context ctx);
86#endif
87
88#endif
WXIMPEX bool IsRawExtension(const wxString &testExt)
return true, if given extension is in list of known raw extension (comparision is case insensitive
Definition platform.cpp:112
WXIMPEX const wxString getInvalidCharacters()
returns all invalid characters for the filename (mainly characters, which does not work with gnu make...
Definition platform.cpp:496
WXIMPEX wxString GetMainImageFilters()
return a filter for the main image files (JPG/TIFF/PNG) only
Definition platform.cpp:81
WXIMPEX wxString GetFileDialogImageFilters()
return filter for image files, needed by file open dialog it contains all image format vigra can read...
Definition platform.cpp:70
WXIMPEX wxString GetFileDialogImageAndRawFilters()
return filter for image and raw files, needed by file open dialog
Definition platform.cpp:90
WXIMPEX void ShowFilenameWarning(wxWindow *parent, const wxArrayString filelist)
shows a dialog about filename with invalid characters, all names in filelist will be show in list
Definition platform.cpp:524
WXIMPEX bool containsInvalidCharacters(const wxString stringToTest)
returns true, if the given strings contains invalid characters
Definition platform.cpp:511
#define WXIMPEX
include file for the hugin project
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.
Definition threshold.h:41