/****************************************************************************/1// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2// Copyright (C) 2001-2025 German Aerospace Center (DLR) and others.3// This program and the accompanying materials are made available under the4// terms of the Eclipse Public License 2.0 which is available at5// https://www.eclipse.org/legal/epl-2.0/6// This Source Code may also be made available under the following Secondary7// Licenses when the conditions for such availability set forth in the Eclipse8// Public License 2.0 are satisfied: GNU General Public License, version 29// or later which is available at10// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html11// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later12/****************************************************************************/13/// @file GNESaveDialog.h14/// @author Pablo Alvarez Lopez15/// @date Oct 202516///17// Dialog used for saving elements18/****************************************************************************/19#pragma once20#include <config.h>2122#include <netedit/dialogs/GNEDialog.h>2324// ===========================================================================25// class definitions26// ===========================================================================2728class GNESaveDialog : public GNEDialog {2930public:31/// @brief Constructor32GNESaveDialog(GNEApplicationWindow* applicationWindow, const std::string& elementTypes);3334/// @brief Constructor with parent dialog35GNESaveDialog(GNEApplicationWindow* applicationWindow, GNEDialog* parentDialog,36const std::string& elementTypes);3738/// @brief Destructor39~GNESaveDialog();4041/// @brief run internal test42void runInternalTest(const InternalTestStep::DialogArgument* dialogArgument);4344/// @brief called when accept or yes button is pressed (can be reimplemented in children)45long onCmdAccept(FXObject*, FXSelector, void*);4647/// @brief called when cancel or no button is pressed (can be reimplemented in children)48long onCmdCancel(FXObject*, FXSelector, void*);4950protected:51/// @brief apply to all button52FXCheckButton* myApplyToAllButton = nullptr;5354private:55/// @brief builder56void builder(const std::string& elementTypes);5758/// @brief Invalidated copy constructor.59GNESaveDialog(const GNESaveDialog&) = delete;6061/// @brief Invalidated assignment operator62GNESaveDialog& operator=(const GNESaveDialog& src) = delete;63};646566