KiCad PCB EDA Suite
dialog_update_pcb.h
Go to the documentation of this file.
1 
5 /*
6  * This program source code file is part of KiCad, a free EDA CAD application.
7  *
8  * Copyright (C) 1992-2016 KiCad Developers, see change_log.txt for contributors.
9  *
10  * This program is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU General Public License
12  * as published by the Free Software Foundation; either version 2
13  * of the License, or (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, you may find one here:
22  * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
23  * or you may search the http://www.gnu.org website for the version 2 license,
24  * or you may write to the Free Software Foundation, Inc.,
25  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
26  */
27 
28 #ifndef _DIALOG_UPDATE_PCB_H_
29 #define _DIALOG_UPDATE_PCB_H_
30 
31 #include <dialog_update_pcb_base.h>
32 
33 class NETLIST;
34 class PCB_EDIT_FRAME;
35 
37 {
38 private:
41  wxConfigBase* m_config;
43 
44 public:
45  DIALOG_UPDATE_PCB( PCB_EDIT_FRAME* aParent, NETLIST *aNetlist );
47 
48  void PerformUpdate( bool aDryRun );
49 
50 private:
51 
52  void OnMatchChanged( wxCommandEvent& event ) override;
53  void OnOptionChanged( wxCommandEvent& event ) override;
54  void OnUpdateClick( wxCommandEvent& event ) override;
55 
56 };
57 
58 #endif
void OnOptionChanged(wxCommandEvent &event) override
void OnMatchChanged(wxCommandEvent &event) override
Class DIALOG_UPDATE_PCB_BASE.
PCB_EDIT_FRAME * m_frame
wxConfigBase * m_config
void OnUpdateClick(wxCommandEvent &event) override
Class NETLIST stores all of information read from a netlist along with the flags used to update the N...
Definition: pcb_netlist.h:214
Class PCB_EDIT_FRAME is the main frame for Pcbnew.
DIALOG_UPDATE_PCB(PCB_EDIT_FRAME *aParent, NETLIST *aNetlist)
void PerformUpdate(bool aDryRun)