Path: blob/main/src/netedit/dialogs/basic/GNEBasicDialog.h
169684 views
/****************************************************************************/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 GNEBasicDialog.h14/// @author Pablo Alvarez Lopez15/// @date Jul 202516///17// A basic dialog with simple buttons (ok, accept, cancel, etc.)18/****************************************************************************/19#pragma once20#include <config.h>2122#include <netedit/dialogs/GNEDialog.h>2324// ===========================================================================25// class definitions26// ===========================================================================2728class GNEBasicDialog : public GNEDialog {2930public:31/// @brief Constructor32GNEBasicDialog(GNEApplicationWindow* applicationWindow, const std::string& title,33const std::string& info, GUIIcon titleIcon, DialogType type,34GNEDialog::Buttons buttons, GUIIcon largeIcon);3536/// @brief Destructor37~GNEBasicDialog();3839/// @brief run internal test40void runInternalTest(const InternalTestStep::DialogArgument* dialogArgument);4142private:43/// @brief Invalidated copy constructor.44GNEBasicDialog(const GNEBasicDialog&) = delete;4546/// @brief Invalidated assignment operator47GNEBasicDialog& operator=(const GNEBasicDialog& src) = delete;48};495051