28 Add(
_(
"Code::Blocks workspace files"),
_T(
"*.workspace"));
29 Add(
_(
"Code::Blocks project files"),
_T(
"*.cbp"));
30 Add(
_(
"Code::Blocks project/workspace files"),
_T(
"*.workspace;*.cbp"));
31 Add(
_(
"Bloodshed Dev-C++ project files"),
_T(
"*.dev"));
32 Add(
_(
"MS Visual C++ 6.0 project files"),
_T(
"*.dsp"));
33 Add(
_(
"MS Visual Studio 7.0+ project files"),
_T(
"*.vcproj"));
34 Add(
_(
"MS Visual C++ 6.0 workspace files"),
_T(
"*.dsw"));
35 Add(
_(
"MS Visual Studio 7.0+ solution files"),
_T(
"*.sln"));
36 Add(
_(
"Apple Xcode 1.x project bundles"),
_T(
"*.xcode"));
37 Add(
_(
"Apple Xcode 2.x project bundles"),
_T(
"*.xcodeproj"));
38 Add(
_(
"MS Visual Studio 10.0+ project files"),
_T(
"*.vcxproj"));
71 for (
size_t i = 0; i < array.
GetCount(); ++i)
85 ret << it->first <<
_T(
'|') << it->second;
101 if (platform::windows)
102 return _(
"All files (*.*)|*.*");
104 return _(
"All files (*)|*");
117 int LoopEnd =
static_cast<int>(List.
GetCount());
118 for(
int idxList = 0; idxList < LoopEnd; idxList+=2)
120 if (List[idxList] == FilterName)
135 int LoopEnd =
static_cast<int>(List.
GetCount());
136 if (2*Index < LoopEnd)
138 FilterName = List[2*Index];
190 #if defined(__WXMSW__) 194 #elif defined(__WXMAC__) 195 const wxString FileFilters::DYNAMICLIB_EXT =
_T(
"dylib");
196 const wxString FileFilters::EXECUTABLE_EXT =
_T(
"");
197 const wxString FileFilters::NATIVE_EXT =
_T(
"");
199 const wxString FileFilters::DYNAMICLIB_EXT =
_T(
"so");
200 const wxString FileFilters::EXECUTABLE_EXT =
_T(
"");
201 const wxString FileFilters::NATIVE_EXT =
_T(
"");
DLLIMPORT wxArrayString GetArrayFromString(const wxString &text, const wxString &separator=DEFAULT_ARRAY_SEP, bool trimSpaces=true)
DLLIMPORT bool Add(const wxString &name, const wxString &mask)
Add a new extension filter.
bool Matches(const wxString &mask) const
const DLLIMPORT wxString TCC_EXT
const DLLIMPORT wxString FPP_EXT
const DLLIMPORT wxString CODEBLOCKS_EXT
const DLLIMPORT wxString F95_EXT
const DLLIMPORT wxString SCRIPT_EXT
const DLLIMPORT wxString MSVC10_EXT
const DLLIMPORT wxString H_EXT
const DLLIMPORT wxString INL_EXT
const DLLIMPORT wxString XCODE1_EXT
const DLLIMPORT wxString DEVCPP_EXT
const DLLIMPORT wxString HPP_EXT
const DLLIMPORT wxString JAVA_EXT
DLLIMPORT bool GetFilterIndexFromName(const wxString &FiltersList, const wxString &FilterName, int &Index)
Get the index of the filter 'FilterName' in the FiltersList.
const DLLIMPORT wxString S62_EXT
const DLLIMPORT wxString RESOURCEBIN_EXT
const DLLIMPORT wxString HXX_EXT
const DLLIMPORT wxString C_EXT
const DLLIMPORT wxString MSVC6_EXT
DLLIMPORT wxString GetFilterAll()
Generates a simple special filter "All files".
const DLLIMPORT wxString F77_EXT
const DLLIMPORT wxString TPP_EXT
const DLLIMPORT wxString CPLPL_EXT
const DLLIMPORT wxString F_EXT
DLLIMPORT bool GetFilterNameFromIndex(const wxString &FiltersList, int Index, wxString &FilterName)
Get the Filter name for the Index-th filter in the FiltersList.
const DLLIMPORT wxString DYNAMICLIB_EXT
const DLLIMPORT wxString D_EXT
const DLLIMPORT wxString MSVC6_WORKSPACE_EXT
const DLLIMPORT wxString SS_EXT
const DLLIMPORT wxString XML_EXT
const DLLIMPORT wxString F90_EXT
std::map< wxString, wxString > FileFiltersMap
const DLLIMPORT wxString WORKSPACE_EXT
size_t Replace(const wxString &strOld, const wxString &strNew, bool replaceAll=true)
const DLLIMPORT wxString STATICLIB_EXT
const DLLIMPORT wxString MSVC7_WORKSPACE_EXT
static size_t s_LastFilterAllIndex
const DLLIMPORT wxString CC_EXT
const DLLIMPORT wxString S_EXT
DLLIMPORT size_t GetIndexForFilterAll()
Get the filter index for the special "All files" filter.
const DLLIMPORT wxString XCODE2_EXT
const DLLIMPORT wxString NATIVE_EXT
const wxString & _(const wxString &string)
const DLLIMPORT wxString CXX_EXT
const DLLIMPORT wxString F08_EXT
DLLIMPORT wxString GetFilterString(const wxString &ext=wxEmptyString)
Generates and returns the filter string for use in file dialogs.
const DLLIMPORT wxString EXECUTABLE_EXT
static FileFiltersMap s_Filters
const DLLIMPORT wxString XRCRESOURCE_EXT
const DLLIMPORT wxString HPLPL_EXT
const DLLIMPORT wxString HH_EXT
const DLLIMPORT wxString F03_EXT
const DLLIMPORT wxString CPP_EXT
const DLLIMPORT wxString OBJECT_EXT
DLLIMPORT void AddDefaultFileFilters()
Adds file filters for various supported projects and workspaces.
const DLLIMPORT wxString ASM_EXT
const DLLIMPORT wxString RESOURCE_EXT
const DLLIMPORT wxString FOR_EXT
const DLLIMPORT wxString MSVC7_EXT