1 /* 2 * This program source code file is part of KiCad, a free EDA CAD application. 3 * 4 * Copyright (C) 2014 CERN 5 * Copyright (C) 1992-2021 KiCad Developers, see AUTHORS.txt for contributors. 6 * @author Maciej Suminski <maciej.suminski@cern.ch> 7 * 8 * This program is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU General Public License 10 * as published by the Free Software Foundation; either version 2 11 * of the License, or (at your option) any later version. 12 * 13 * This program is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with this program; if not, you may find one here: 20 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 21 * or you may search the http://www.gnu.org website for the version 2 license, 22 * or you may write to the Free Software Foundation, Inc., 23 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 24 */ 25 26 #ifndef FRAME_T_H_ 27 #define FRAME_T_H_ 28 29 /** 30 * The set of #EDA_BASE_FRAME derivatives, typically stored in EDA_BASE_FRAME::m_Ident. 31 */ 32 enum FRAME_T 33 { 34 FRAME_SCH = 0, 35 FRAME_SCH_SYMBOL_EDITOR, 36 FRAME_SCH_VIEWER, 37 FRAME_SCH_VIEWER_MODAL, 38 FRAME_SIMULATOR, 39 40 FRAME_PCB_EDITOR, 41 FRAME_FOOTPRINT_EDITOR, 42 FRAME_FOOTPRINT_VIEWER, 43 FRAME_FOOTPRINT_VIEWER_MODAL, 44 FRAME_FOOTPRINT_WIZARD, 45 FRAME_PCB_DISPLAY3D, 46 FRAME_FOOTPRINT_PREVIEW, 47 48 FRAME_CVPCB, 49 FRAME_CVPCB_DISPLAY, 50 51 FRAME_PYTHON, 52 53 FRAME_GERBER, 54 55 FRAME_PL_EDITOR, 56 57 FRAME_BM2CMP, 58 59 FRAME_CALC, 60 61 KIWAY_PLAYER_COUNT, // counts subset of FRAME_T's which are KIWAY_PLAYER derivatives 62 63 // C++ project manager is not a KIWAY_PLAYER 64 KICAD_MAIN_FRAME_T = KIWAY_PLAYER_COUNT, 65 66 FRAME_T_COUNT, 67 68 // Library table dialogs are transient and are never returned 69 DIALOG_CONFIGUREPATHS = FRAME_T_COUNT, 70 DIALOG_SCH_LIBRARY_TABLE, 71 DIALOG_PCB_LIBRARY_TABLE 72 }; 73 74 //TEXT_EDITOR_FRAME_T, 75 76 77 #endif // FRAME_T_H_ 78