/****************************************************************************/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 GNECrashDialog.h14/// @author Pablo Alvarez Lopez15/// @date Sep 202516///17// Dialog used for handling crashes produced in Netedit18/****************************************************************************/19#pragma once20#include <config.h>2122#include <utils/common/UtilExceptions.h>2324#include "GNEDialog.h"2526// ===========================================================================27// class declaration28// ===========================================================================2930class MFXTextFieldIcon;3132// ===========================================================================33// class definitions34// ===========================================================================3536class GNECrashDialog : public GNEDialog {37FXDECLARE(GNECrashDialog)3839public:40/// @brief Constructor41GNECrashDialog(GNEApplicationWindow* applicationWindow, const ProcessError& processError);4243/// @brief Destructor44~GNECrashDialog();4546/// @brief run internal test47void runInternalTest(const InternalTestStep::DialogArgument* dialogArgument);4849/// @brief called when copy button is pressed50long onCmdCopy(FXObject*, FXSelector, void*);5152/// @brief called when report button is pressed53long onCmdReport(FXObject*, FXSelector, void*);5455/// @brief called when clipboard is request56long onClipboardRequest(FXObject* sender, FXSelector sel, void* ptr);5758protected:59/// @brief FOX needs this60FOX_CONSTRUCTOR(GNECrashDialog);6162/// @brief exception text field63MFXTextFieldIcon* myExceptionTextField = nullptr;6465/// @brief trace text66std::string myTraceText;6768private:69/// @brief Invalidated copy constructor.70GNECrashDialog(const GNECrashDialog&) = delete;7172/// @brief Invalidated assignment operator73GNECrashDialog& operator=(const GNECrashDialog& src) = delete;74};757677