KiCad PCB EDA Suite
eeschema_config.h
Go to the documentation of this file.
1 /*
2  * This program source code file is part of KiCad, a free EDA CAD application.
3  *
4  * Copyright (C) 2009-2018 KiCad Developers, see AUTHORS.txt for contributors.
5  *
6  * This program is free software: you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License as published by the
8  * Free Software Foundation, either version 3 of the License, or (at your
9  * option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef EESCHEMA_CONFIG_H
21 #define EESCHEMA_CONFIG_H
22 
23 #include <config_params.h>
24 
25 extern const wxChar RescueNeverShowEntry[];
26 extern const wxChar AutoplaceFieldsEntry[];
27 extern const wxChar AutoplaceJustifyEntry[];
28 extern const wxChar AutoplaceAlignEntry[];
29 extern const wxChar LibIconScaleEntry[];
30 extern const wxChar SchIconScaleEntry[];
31 
32 class TEMPLATES;
33 
34 
36 {
37 protected:
39 
40 public:
41  PARAM_CFG_FIELDNAMES( TEMPLATES* ptparam, const wxChar* group = nullptr );
42 
43  void ReadParam( wxConfigBase* aConfig ) const override;
44  void SaveParam( wxConfigBase* aConfig ) const override;
45 };
46 
47 
48 
49 #endif // EESCHEMA_CONFIG_H
const wxChar AutoplaceJustifyEntry[]
const wxChar RescueNeverShowEntry[]
const wxChar AutoplaceAlignEntry[]
PARAM_CFG_FIELDNAMES(TEMPLATES *ptparam, const wxChar *group=nullptr)
const wxChar LibIconScaleEntry[]
const wxChar AutoplaceFieldsEntry[]
void SaveParam(wxConfigBase *aConfig) const override
Function SaveParam saves the value of the parameter stored in aConfig.
TEMPLATES * m_Pt_param
Pointer to the parameter value.
const wxChar SchIconScaleEntry[]
PARAM_CFG is a base class which establishes the interface functions ReadParam and SaveParam,...
Definition: config_params.h:81
void ReadParam(wxConfigBase *aConfig) const override
Function ReadParam reads the value of the parameter stored in aConfig.