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.

Variables

static const wxChar * s_allowedExtensionsToList []
 
const wxChar TextFileExtension [] = wxT( "txt" )
 
const wxChar TextFileWildcard [] = wxT( "Text files (*.txt)|*.txt" )
 

Detailed Description

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

Definition in file tree_project_frame.cpp.

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( "^.*\\.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 100 of file tree_project_frame.cpp.

Referenced by TREE_PROJECT_FRAME::GetFileExt().

const wxChar TextFileWildcard[] = wxT( "Text files (*.txt)|*.txt" )

Definition at line 103 of file tree_project_frame.cpp.

Referenced by TREE_PROJECT_FRAME::GetFileWildcard().