37 changed files with 263 additions and 193 deletions
-
6common/project.cpp
-
2eeschema/CMakeLists.txt
-
8eeschema/dialogs/dialog_choose_symbol.cpp
-
2eeschema/dialogs/dialog_choose_symbol.h
-
7eeschema/dialogs/dialog_edit_symbols_libid.cpp
-
3eeschema/dialogs/dialog_lib_symbol_properties.cpp
-
7eeschema/dialogs/dialog_symbol_fields_table.cpp
-
11eeschema/dialogs/dialog_symbol_remap.cpp
-
3eeschema/dialogs/panel_sym_lib_table.cpp
-
52eeschema/eeschema_config.cpp
-
3eeschema/erc.cpp
-
7eeschema/fields_grid_table.cpp
-
7eeschema/files-io.cpp
-
3eeschema/netlist_exporters/netlist_exporter_xml.cpp
-
3eeschema/picksymbol.cpp
-
33eeschema/project_rescue.cpp
-
70eeschema/project_sch.cpp
-
45eeschema/project_sch.h
-
24eeschema/sch_base_frame.cpp
-
5eeschema/sch_plugins/altium/sch_altium_plugin.cpp
-
5eeschema/sch_plugins/cadstar/cadstar_sch_archive_plugin.cpp
-
7eeschema/sch_plugins/eagle/sch_eagle_plugin.cpp
-
3eeschema/sch_plugins/easyeda/sch_easyeda_plugin.cpp
-
5eeschema/sch_plugins/easyedapro/sch_easyedapro_plugin.cpp
-
5eeschema/sch_plugins/ltspice/ltspice_sch_plugin.cpp
-
5eeschema/sch_screen.cpp
-
15eeschema/sheet.cpp
-
15eeschema/symbol_editor/symbol_edit_frame.cpp
-
13eeschema/symbol_editor/symbol_editor.cpp
-
3eeschema/symbol_library.cpp
-
3eeschema/symbol_library_manager.cpp
-
7eeschema/symbol_tree_synchronizing_adapter.cpp
-
25eeschema/symbol_viewer_frame.cpp
-
6eeschema/tools/ee_inspection_tool.cpp
-
3eeschema/tools/sch_editor_control.cpp
-
3eeschema/widgets/symbol_preview_widget.cpp
-
32include/project.h
@ -0,0 +1,45 @@ |
|||
/* |
|||
* This program source code file is part of KiCad, a free EDA CAD application. |
|||
* |
|||
* Copyright (C) 2014-2022 KiCad Developers, see AUTHORS.txt for contributors. |
|||
* |
|||
* This program is free software; you can redistribute it and/or |
|||
* modify it under the terms of the GNU General Public License |
|||
* as published by the Free Software Foundation; either version 2 |
|||
* of the License, or (at your option) any later version. |
|||
* |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
* |
|||
* You should have received a copy of the GNU General Public License |
|||
* along with this program; if not, you may find one here: |
|||
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html |
|||
* or you may search the http://www.gnu.org website for the version 2 license, |
|||
* or you may write to the Free Software Foundation, Inc., |
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA |
|||
*/ |
|||
|
|||
#pragma once |
|||
|
|||
class SYMBOL_LIB_TABLE; |
|||
class PROJECT; |
|||
class SEARCH_STACK; |
|||
class SYMBOL_LIBS; |
|||
|
|||
class PROJECT_SCH |
|||
{ |
|||
public: |
|||
// These are all prefaced with "Sch" |
|||
static SYMBOL_LIBS* SchLibs( PROJECT* aProject ); |
|||
|
|||
/// Accessor for Eeschema search stack. |
|||
static SEARCH_STACK* SchSearchS( PROJECT* aProject ); |
|||
|
|||
/// Accessor for project symbol library table. |
|||
static SYMBOL_LIB_TABLE* SchSymbolLibTable( PROJECT* aProject ); |
|||
|
|||
private: |
|||
PROJECT_SCH() {} |
|||
}; |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue