Mantid
Loading...
Searching...
No Matches
MessageHandler.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2021 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8#include "IMessageHandler.h"
10
11#include <string>
12
14
16public:
17 ~MessageHandler() = default;
18 void giveUserCritical(const std::string &prompt, const std::string &title) override;
19 void giveUserWarning(const std::string &prompt, const std::string &title) override;
20 void giveUserInfo(const std::string &prompt, const std::string &title) override;
21 bool askUserOkCancel(const std::string &prompt, const std::string &title) override;
22};
23} // namespace MantidQt::MantidWidgets
#define EXPORT_OPT_MANTIDQT_COMMON
Definition: DllOption.h:15