KiCad PCB EDA Suite
pgm_base.cpp File Reference

For the main application: init functions, and language selection (locale handling) More...

#include <fctsys.h>
#include <wx/html/htmlwin.h>
#include <wx/fs_zip.h>
#include <wx/dir.h>
#include <wx/filename.h>
#include <wx/snglinst.h>
#include <wx/stdpaths.h>
#include <wx/sysopt.h>
#include <wx/richmsgdlg.h>
#include <pgm_base.h>
#include <wxstruct.h>
#include <macros.h>
#include <config_params.h>
#include <id.h>
#include <build_version.h>
#include <hotkeys_basic.h>
#include <gestfich.h>
#include <menus_helpers.h>
#include <confirm.h>
#include <dialog_env_var_config.h>
#include <lockfile.h>
#include <systemdirsappend.h>

Go to the source code of this file.

Classes

struct  LANGUAGE_DESCR
 A small class to handle the list of existing translations. More...
 

Macros

#define KICAD_COMMON   wxT( "kicad_common" )
 

Variables

static const wxChar languageCfgKey [] = wxT( "LanguageID" )
 
static const wxChar pathEnvVariables [] = wxT( "EnvironmentVariables" )
 
static const wxChar showEnvVarWarningDialog [] = wxT( "ShowEnvVarWarningDialog" )
 
static const wxChar traceEnvVars [] = wxT( "KIENVVARS" )
 enable/disable icons in menus More...
 
static const wxChar entryUseIconsInMenus [] = wxT( "UseIconsInMenus" )
 
static LANGUAGE_DESCR s_Languages []
 Variable s_Languages Note: because this list is not created on the fly, wxTranslation must be called when a language name must be displayed after translation. More...
 

Detailed Description

For the main application: init functions, and language selection (locale handling)

Definition in file pgm_base.cpp.

Macro Definition Documentation

#define KICAD_COMMON   wxT( "kicad_common" )

Definition at line 58 of file pgm_base.cpp.

Referenced by PGM_BASE::InitPgm().

Variable Documentation

const wxChar entryUseIconsInMenus[] = wxT( "UseIconsInMenus" )
static

Definition at line 69 of file pgm_base.cpp.

Referenced by PGM_BASE::loadCommonSettings(), and PGM_BASE::SaveCommonSettings().

const wxChar languageCfgKey[] = wxT( "LanguageID" )
static

Definition at line 64 of file pgm_base.cpp.

Referenced by PGM_BASE::SetLanguage().

const wxChar pathEnvVariables[] = wxT( "EnvironmentVariables" )
static
LANGUAGE_DESCR s_Languages[]
static

Variable s_Languages Note: because this list is not created on the fly, wxTranslation must be called when a language name must be displayed after translation.

Do not change this behavior, because m_Lang_Label is also used as key in config

Definition at line 105 of file pgm_base.cpp.

const wxChar showEnvVarWarningDialog[] = wxT( "ShowEnvVarWarningDialog" )
static

Definition at line 66 of file pgm_base.cpp.

Referenced by PGM_BASE::loadCommonSettings(), and PGM_BASE::SaveCommonSettings().

const wxChar traceEnvVars[] = wxT( "KIENVVARS" )
static