kicad-source/kicad/dialogs/dialog_jobset_output_options.h

46 lines
1.4 KiB
C
Raw Normal View History

2025-01-12 12:11:56 +00:00
/*
* This program source code file is part of KiCad, a free EDA CAD application.
*
* Copyright (C) 2024 Mark Roszko <mark.roszko@gmail.com>
* Copyright The 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 3 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, see <http://www.gnu.org/licenses/>.
*/
#pragma once
2025-01-12 20:24:20 +00:00
#include "dialog_jobset_output_options_base.h"
2025-01-12 12:11:56 +00:00
class JOBSET;
struct JOBSET_OUTPUT;
2025-01-12 20:24:20 +00:00
class DIALOG_JOBSET_OUTPUT_OPTIONS : public DIALOG_JOBSET_OUTPUT_OPTIONS_BASE
2025-01-12 12:11:56 +00:00
{
public:
2025-01-12 20:24:20 +00:00
DIALOG_JOBSET_OUTPUT_OPTIONS( wxWindow* aParent, JOBSET* aJobsFile, JOBSET_OUTPUT* aOutput );
2025-01-12 12:11:56 +00:00
private:
virtual void onOutputPathBrowseClicked(wxCommandEvent& event) override;
bool TransferDataFromWindow() override;
bool TransferDataToWindow() override;
private:
JOBSET* m_jobsFile;
JOBSET_OUTPUT* m_output;
std::map<int, wxString> m_onlyMap;
};