KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_router_save_test_case.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 The KiCad Developers, see AUTHORS.txt for contributors.
5
*
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; either version 2
9
* of the License, or (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, you may find one here:
18
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
19
* or you may search the http://www.gnu.org website for the version 2 license,
20
* or you may write to the Free Software Foundation, Inc.,
21
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
22
*/
23
24
#pragma once
25
26
#include <
dialogs/dialog_router_save_test_case_base.h
>
27
28
#include "
router/pns_logger.h
"
29
30
class
PCB_BASE_EDIT_FRAME
;
31
32
class
DIALOG_ROUTER_SAVE_TEST_CASE
:
public
DIALOG_ROUTER_SAVE_TEST_CASE_BASE
33
{
34
public
:
35
DIALOG_ROUTER_SAVE_TEST_CASE
(
PCB_BASE_EDIT_FRAME
* aParent,
const
wxString& aTestCaseDir );
36
~DIALOG_ROUTER_SAVE_TEST_CASE
();
37
38
bool
TransferDataFromWindow
()
override
;
39
bool
TransferDataToWindow
()
override
;
40
41
PNS::LOGGER::TEST_CASE_TYPE
getTestCaseType
()
const
{
return
m_testCaseType
; }
42
const
wxString&
getTestCaseName
()
const
{
return
m_testCaseName
; }
43
44
private
:
45
wxString
m_testCaseDir
;
46
wxString
m_testCaseName
;
47
PNS::LOGGER::TEST_CASE_TYPE
m_testCaseType
;
48
};
49
DIALOG_ROUTER_SAVE_TEST_CASE_BASE::DIALOG_ROUTER_SAVE_TEST_CASE_BASE
DIALOG_ROUTER_SAVE_TEST_CASE_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Save Router Testcase"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Definition
dialog_router_save_test_case_base.cpp:12
DIALOG_ROUTER_SAVE_TEST_CASE::~DIALOG_ROUTER_SAVE_TEST_CASE
~DIALOG_ROUTER_SAVE_TEST_CASE()
Definition
dialog_router_save_test_case.cpp:36
DIALOG_ROUTER_SAVE_TEST_CASE::m_testCaseName
wxString m_testCaseName
Definition
dialog_router_save_test_case.h:46
DIALOG_ROUTER_SAVE_TEST_CASE::getTestCaseType
PNS::LOGGER::TEST_CASE_TYPE getTestCaseType() const
Definition
dialog_router_save_test_case.h:41
DIALOG_ROUTER_SAVE_TEST_CASE::DIALOG_ROUTER_SAVE_TEST_CASE
DIALOG_ROUTER_SAVE_TEST_CASE(PCB_BASE_EDIT_FRAME *aParent, const wxString &aTestCaseDir)
Definition
dialog_router_save_test_case.cpp:30
DIALOG_ROUTER_SAVE_TEST_CASE::TransferDataFromWindow
bool TransferDataFromWindow() override
Definition
dialog_router_save_test_case.cpp:47
DIALOG_ROUTER_SAVE_TEST_CASE::TransferDataToWindow
bool TransferDataToWindow() override
Definition
dialog_router_save_test_case.cpp:40
DIALOG_ROUTER_SAVE_TEST_CASE::getTestCaseName
const wxString & getTestCaseName() const
Definition
dialog_router_save_test_case.h:42
DIALOG_ROUTER_SAVE_TEST_CASE::m_testCaseDir
wxString m_testCaseDir
Definition
dialog_router_save_test_case.h:45
DIALOG_ROUTER_SAVE_TEST_CASE::m_testCaseType
PNS::LOGGER::TEST_CASE_TYPE m_testCaseType
Definition
dialog_router_save_test_case.h:47
PCB_BASE_EDIT_FRAME
Common, abstract interface for edit frames.
Definition
pcb_base_edit_frame.h:50
PNS::LOGGER::TEST_CASE_TYPE
TEST_CASE_TYPE
Definition
pns_logger.h:53
dialog_router_save_test_case_base.h
pns_logger.h
src
pcbnew
dialogs
dialog_router_save_test_case.h
Generated on Fri Apr 3 2026 00:07:18 for KiCad PCB EDA Suite by
1.13.2