Mantid
Loading...
Searching...
No Matches
BaseEncoder.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2019 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
9#include <QList>
10#include <QMap>
11#include <QObject>
12#include <QString>
13#include <QVariant>
14
15namespace MantidQt {
16namespace API {
17
19public:
20 virtual QMap<QString, QVariant> encode(const QWidget *window, const std::string &directory) = 0;
21 virtual QList<QString> tags() = 0;
22 virtual ~BaseEncoder() = default;
23};
24
25} // namespace API
26} // namespace MantidQt
virtual ~BaseEncoder()=default
virtual QMap< QString, QVariant > encode(const QWidget *window, const std::string &directory)=0
virtual QList< QString > tags()=0
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...