KiCad PCB EDA Suite
dialog_select_pretty_lib.h
Go to the documentation of this file.
1 #ifndef __DIALOG_SELECT_PRETTY_LIB_H__
2 #define __DIALOG_SELECT_PRETTY_LIB_H__
3 
4 /*
5  * This program source code file is part of KiCad, a free EDA CAD application.
6  *
7  * Copyright (C) 2014 Jean-Pierre Charras, jp.charras at wanadoo.fr
8  * Copyright (C) 1992-2014 KiCad Developers, see change_log.txt for contributors.
9  *
10  *
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * as published by the Free Software Foundation; either version 2
14  * of the License, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, you may find one here:
23  * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
24  * or you may search the http://www.gnu.org website for the version 2 license,
25  * or you may write to the Free Software Foundation, Inc.,
26  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
27  */
28 
37 
38 
40 {
41 public:
42  DIALOG_SELECT_PRETTY_LIB( wxWindow* parent,
43  const wxString& aDefaultPath );
45 
50  const wxString GetFullPrettyLibName();
51 
52 private:
53  virtual void OnSelectFolder( wxFileDirPickerEvent& event ) override;
54  virtual void OnOKButton( wxCommandEvent& event ) override;
55 };
56 
57 
58 #endif //__DIALOG_SELECT_PRETTY_LIB_BASE_H__
virtual void OnOKButton(wxCommandEvent &event) override
virtual void OnSelectFolder(wxFileDirPickerEvent &event) override
Class DIALOG_SELECT_PRETTY_LIB_BASE.
DIALOG_SELECT_PRETTY_LIB(wxWindow *parent, const wxString &aDefaultPath)