KiCad PCB EDA Suite
tree_project_frame.cpp File Reference

Function to build the tree of files in the current project directory. More...

#include <stack>
#include <wx/regex.h>
#include <wx/stdpaths.h>
#include <wx/string.h>
#include <bitmaps.h>
#include <gestfich.h>
#include <menus_helpers.h>
#include <wildcards_and_files_ext.h>
#include "class_treeproject_item.h"
#include "class_treeprojectfiles.h"
#include "pgm_kicad.h"
#include "tree_project_frame.h"

Go to the source code of this file.

Functions

const wxString GerberFileExtensionWildCard (".((gbr|gbrjob|(gb|gt)[alops])|pho)")
 

Variables

static const wxChar * s_allowedExtensionsToList []
 
const wxChar TextFileExtension [] = wxT( "txt" )
 

Detailed Description

Function to build the tree of files in the current project directory.

Definition in file tree_project_frame.cpp.

Function Documentation

const wxString GerberFileExtensionWildCard ( ".((gbr|gbrjob|(gb|gt)[alops])|pho)"  )

Variable Documentation

const wxChar* s_allowedExtensionsToList[]
static
Initial value:
=
{
wxT( "^.*\\.pro$" ),
wxT( "^.*\\.pdf$" ),
wxT( "^[^$].*\\.brd$" ),
wxT( "^[^$].*\\.kicad_pcb$" ),
wxT( "^[^$].*\\.kicad_wks$" ),
wxT( "^[^$].*\\.kicad_mod$" ),
wxT( "^.*\\.net$" ),
wxT( "^.*\\.cir$" ),
wxT( "^.*\\.lib$" ),
wxT( "^.*\\.txt$" ),
wxT( "^.*\\.pho$" ),
wxT( "^.*\\.gbr$" ),
wxT( "^.*\\.gbrjob$" ),
wxT( "^.*\\.gb[alops]$" ),
wxT( "^.*\\.gt[alops]$" ),
wxT( "^.*\\.g[0-9]{1,2}$" ),
wxT( "^.*\\.odt$" ),
wxT( "^.*\\.htm$" ),
wxT( "^.*\\.html$" ),
wxT( "^.*\\.rpt$" ),
wxT( "^.*\\.csv$" ),
wxT( "^.*\\.pos$" ),
wxT( "^.*\\.cmp$" ),
wxT( "^.*\\.drl$" ),
wxT( "^.*\\.svg$" ),
NULL
}

Definition at line 64 of file tree_project_frame.cpp.

Referenced by TREE_PROJECT_FRAME::TREE_PROJECT_FRAME().

const wxChar TextFileExtension[] = wxT( "txt" )

Definition at line 101 of file tree_project_frame.cpp.

Referenced by TREE_PROJECT_FRAME::GetFileExt().