Code::Blocks  SVN r11506
Namespaces | Functions | Variables
filefilters.h File Reference
#include <wx/string.h>
#include "settings.h"
Include dependency graph for filefilters.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 FileFilters
 Provides functions and constants regarding file extension filters present in file dialogs throughout Code::Blocks.
 

Functions

DLLIMPORT void FileFilters::AddDefaultFileFilters ()
 Adds file filters for various supported projects and workspaces. More...
 
DLLIMPORT bool FileFilters::Add (const wxString &name, const wxString &mask)
 Add a new extension filter. More...
 
DLLIMPORT wxString FileFilters::GetFilterString (const wxString &ext=wxEmptyString)
 Generates and returns the filter string for use in file dialogs. More...
 
DLLIMPORT wxString FileFilters::GetFilterAll ()
 Generates a simple special filter "All files". More...
 
DLLIMPORT size_t FileFilters::GetIndexForFilterAll ()
 Get the filter index for the special "All files" filter. More...
 
DLLIMPORT bool FileFilters::GetFilterNameFromIndex (const wxString &FiltersList, int Index, wxString &FilterName)
 Get the Filter name for the Index-th filter in the FiltersList. More...
 
DLLIMPORT bool FileFilters::GetFilterIndexFromName (const wxString &FiltersList, const wxString &FilterName, int &Index)
 Get the index of the filter 'FilterName' in the FiltersList. More...
 

Variables

const DLLIMPORT wxString FileFilters::WORKSPACE_EXT = _T("workspace")
 
const DLLIMPORT wxString FileFilters::CODEBLOCKS_EXT = _T("cbp")
 
const DLLIMPORT wxString FileFilters::DEVCPP_EXT = _T("dev")
 
const DLLIMPORT wxString FileFilters::MSVC6_EXT = _T("dsp")
 
const DLLIMPORT wxString FileFilters::MSVC6_WORKSPACE_EXT = _T("dsw")
 
const DLLIMPORT wxString FileFilters::MSVC7_EXT = _T("vcproj")
 
const DLLIMPORT wxString FileFilters::MSVC7_WORKSPACE_EXT = _T("sln")
 
const DLLIMPORT wxString FileFilters::MSVC10_EXT = _T("vcxproj")
 
const DLLIMPORT wxString FileFilters::XCODE1_EXT = _T("xcode")
 
const DLLIMPORT wxString FileFilters::XCODE2_EXT = _T("xcodeproj")
 
const DLLIMPORT wxString FileFilters::ASM_EXT = _T("asm")
 
const DLLIMPORT wxString FileFilters::D_EXT = _T("d")
 
const DLLIMPORT wxString FileFilters::F_EXT = _T("f")
 
const DLLIMPORT wxString FileFilters::F77_EXT = _T("f77")
 
const DLLIMPORT wxString FileFilters::F90_EXT = _T("f90")
 
const DLLIMPORT wxString FileFilters::F95_EXT = _T("f95")
 
const DLLIMPORT wxString FileFilters::FOR_EXT = _T("for")
 
const DLLIMPORT wxString FileFilters::FPP_EXT = _T("fpp")
 
const DLLIMPORT wxString FileFilters::F03_EXT = _T("f03")
 
const DLLIMPORT wxString FileFilters::F08_EXT = _T("f08")
 
const DLLIMPORT wxString FileFilters::JAVA_EXT = _T("java")
 
const DLLIMPORT wxString FileFilters::C_EXT = _T("c")
 
const DLLIMPORT wxString FileFilters::CC_EXT = _T("cc")
 
const DLLIMPORT wxString FileFilters::CPP_EXT = _T("cpp")
 
const DLLIMPORT wxString FileFilters::CXX_EXT = _T("cxx")
 
const DLLIMPORT wxString FileFilters::CPLPL_EXT = _T("c++")
 
const DLLIMPORT wxString FileFilters::INL_EXT = _T("inl")
 
const DLLIMPORT wxString FileFilters::TPP_EXT = _T("tpp")
 
const DLLIMPORT wxString FileFilters::TCC_EXT = _T("tcc")
 
const DLLIMPORT wxString FileFilters::H_EXT = _T("h")
 
const DLLIMPORT wxString FileFilters::HH_EXT = _T("hh")
 
const DLLIMPORT wxString FileFilters::HPP_EXT = _T("hpp")
 
const DLLIMPORT wxString FileFilters::HXX_EXT = _T("hxx")
 
const DLLIMPORT wxString FileFilters::HPLPL_EXT = _T("h++")
 
const DLLIMPORT wxString FileFilters::S_EXT = _T("s")
 
const DLLIMPORT wxString FileFilters::SS_EXT = _T("ss")
 
const DLLIMPORT wxString FileFilters::S62_EXT = _T("s62")
 
const DLLIMPORT wxString FileFilters::OBJECT_EXT = _T("o")
 
const DLLIMPORT wxString FileFilters::XRCRESOURCE_EXT = _T("xrc")
 
const DLLIMPORT wxString FileFilters::STATICLIB_EXT = _T("a")
 
const DLLIMPORT wxString FileFilters::DYNAMICLIB_EXT = _T("dll")
 
const DLLIMPORT wxString FileFilters::EXECUTABLE_EXT = _T("exe")
 
const DLLIMPORT wxString FileFilters::NATIVE_EXT = _T("sys")
 
const DLLIMPORT wxString FileFilters::RESOURCE_EXT = _T("rc")
 
const DLLIMPORT wxString FileFilters::RESOURCEBIN_EXT = _T("res")
 
const DLLIMPORT wxString FileFilters::XML_EXT = _T("xml")
 
const DLLIMPORT wxString FileFilters::SCRIPT_EXT = _T("script")
 
const DLLIMPORT wxString FileFilters::WORKSPACE_DOT_EXT = _T('.') + FileFilters::WORKSPACE_EXT
 
const DLLIMPORT wxString FileFilters::CODEBLOCKS_DOT_EXT = _T('.') + FileFilters::CODEBLOCKS_EXT
 
const DLLIMPORT wxString FileFilters::DEVCPP_DOT_EXT = _T('.') + FileFilters::DEVCPP_EXT
 
const DLLIMPORT wxString FileFilters::MSVC6_DOT_EXT = _T('.') + FileFilters::MSVC6_EXT
 
const DLLIMPORT wxString FileFilters::MSVC6_WORKSPACE_DOT_EXT = _T('.') + FileFilters::MSVC6_WORKSPACE_EXT
 
const DLLIMPORT wxString FileFilters::MSVC7_DOT_EXT = _T('.') + FileFilters::MSVC7_EXT
 
const DLLIMPORT wxString FileFilters::MSVC7_WORKSPACE_DOT_EXT = _T('.') + FileFilters::MSVC7_WORKSPACE_EXT
 
const DLLIMPORT wxString FileFilters::MSVC10_DOT_EXT = _T('.') + FileFilters::MSVC10_EXT
 
const DLLIMPORT wxString FileFilters::XCODE1_DOT_EXT = _T('.') + FileFilters::XCODE1_EXT
 
const DLLIMPORT wxString FileFilters::XCODE2_DOT_EXT = _T('.') + FileFilters::XCODE2_EXT
 
const DLLIMPORT wxString FileFilters::ASM_DOT_EXT = _T('.') + FileFilters::ASM_EXT
 
const DLLIMPORT wxString FileFilters::D_DOT_EXT = _T('.') + FileFilters::D_EXT
 
const DLLIMPORT wxString FileFilters::F_DOT_EXT = _T('.') + FileFilters::F_EXT
 
const DLLIMPORT wxString FileFilters::F77_DOT_EXT = _T('.') + FileFilters::F77_EXT
 
const DLLIMPORT wxString FileFilters::F90_DOT_EXT = _T('.') + FileFilters::F90_EXT
 
const DLLIMPORT wxString FileFilters::F95_DOT_EXT = _T('.') + FileFilters::F95_EXT
 
const DLLIMPORT wxString FileFilters::FOR_DOT_EXT = _T('.') + FileFilters::FOR_EXT
 
const DLLIMPORT wxString FileFilters::FPP_DOT_EXT = _T('.') + FileFilters::FPP_EXT
 
const DLLIMPORT wxString FileFilters::F03_DOT_EXT = _T('.') + FileFilters::F03_EXT
 
const DLLIMPORT wxString FileFilters::F08_DOT_EXT = _T('.') + FileFilters::F08_EXT
 
const DLLIMPORT wxString FileFilters::JAVA_DOT_EXT = _T('.') + FileFilters::JAVA_EXT
 
const DLLIMPORT wxString FileFilters::C_DOT_EXT = _T('.') + FileFilters::C_EXT
 
const DLLIMPORT wxString FileFilters::CC_DOT_EXT = _T('.') + FileFilters::CC_EXT
 
const DLLIMPORT wxString FileFilters::CPP_DOT_EXT = _T('.') + FileFilters::CPP_EXT
 
const DLLIMPORT wxString FileFilters::CXX_DOT_EXT = _T('.') + FileFilters::CXX_EXT
 
const DLLIMPORT wxString FileFilters::CPLPL_DOT_EXT = _T('.') + FileFilters::CPLPL_EXT
 
const DLLIMPORT wxString FileFilters::INL_DOT_EXT = _T('.') + FileFilters::INL_EXT
 
const DLLIMPORT wxString FileFilters::TPP_DOT_EXT = _T('.') + FileFilters::TPP_EXT
 
const DLLIMPORT wxString FileFilters::TCC_DOT_EXT = _T('.') + FileFilters::TCC_EXT
 
const DLLIMPORT wxString FileFilters::H_DOT_EXT = _T('.') + FileFilters::H_EXT
 
const DLLIMPORT wxString FileFilters::HH_DOT_EXT = _T('.') + FileFilters::HH_EXT
 
const DLLIMPORT wxString FileFilters::HPP_DOT_EXT = _T('.') + FileFilters::HPP_EXT
 
const DLLIMPORT wxString FileFilters::HXX_DOT_EXT = _T('.') + FileFilters::HXX_EXT
 
const DLLIMPORT wxString FileFilters::HPLPL_DOT_EXT = _T('.') + FileFilters::HPLPL_EXT
 
const DLLIMPORT wxString FileFilters::S_DOT_EXT = _T('.') + FileFilters::S_EXT
 
const DLLIMPORT wxString FileFilters::SS_DOT_EXT = _T('.') + FileFilters::SS_EXT
 
const DLLIMPORT wxString FileFilters::S62_DOT_EXT = _T('.') + FileFilters::S62_EXT
 
const DLLIMPORT wxString FileFilters::OBJECT_DOT_EXT = _T('.') + FileFilters::OBJECT_EXT
 
const DLLIMPORT wxString FileFilters::XRCRESOURCE_DOT_EXT = _T('.') + FileFilters::XRCRESOURCE_EXT
 
const DLLIMPORT wxString FileFilters::STATICLIB_DOT_EXT = _T('.') + FileFilters::STATICLIB_EXT
 
const DLLIMPORT wxString FileFilters::DYNAMICLIB_DOT_EXT = _T('.') + FileFilters::DYNAMICLIB_EXT
 
const DLLIMPORT wxString FileFilters::EXECUTABLE_DOT_EXT = _T('.') + FileFilters::EXECUTABLE_EXT
 
const DLLIMPORT wxString FileFilters::NATIVE_DOT_EXT = _T('.') + FileFilters::NATIVE_EXT
 
const DLLIMPORT wxString FileFilters::RESOURCE_DOT_EXT = _T('.') + FileFilters::RESOURCE_EXT
 
const DLLIMPORT wxString FileFilters::RESOURCEBIN_DOT_EXT = _T('.') + FileFilters::RESOURCEBIN_EXT
 
const DLLIMPORT wxString FileFilters::XML_DOT_EXT = _T('.') + FileFilters::XML_EXT
 
const DLLIMPORT wxString FileFilters::SCRIPT_DOT_EXT = _T('.') + FileFilters::SCRIPT_EXT