kicad-source/kicad/dialogs/dialog_destination.h
Jeff Young cbc964fb94 Jobset Output -> Destination.
(cherry picked from commit d8cdb69831b1625646331cfbc9d2ad84d4658b7a)
2025-03-03 18:36:14 +00:00

46 lines
1.4 KiB
C++

/*
* 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
#include <dialogs/dialog_destination_base.h>
class JOBSET;
struct JOBSET_DESTINATION;
class DIALOG_DESTINATION : public DIALOG_DESTINATION_BASE
{
public:
DIALOG_DESTINATION( wxWindow* aParent, JOBSET* aJobsFile, JOBSET_DESTINATION* aDestination );
private:
virtual void onOutputPathBrowseClicked(wxCommandEvent& event) override;
bool TransferDataFromWindow() override;
bool TransferDataToWindow() override;
private:
JOBSET* m_jobsFile;
JOBSET_DESTINATION* m_destination;
std::map<int, wxString> m_onlyMap;
};