Mantid
Loading...
Searching...
No Matches
ProjectSavePresenter.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2010 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
13
14#include "DllOption.h"
15#include <vector>
16
17//------------------------------------------------
18
19namespace MantidQt {
20namespace MantidWidgets {
21
26public:
27 enum class Notification { UncheckWorkspace, CheckWorkspace, PrepareProjectFolder };
28
32 void notify(Notification notification);
34 bool needsSizeWarning(const std::vector<std::string> &wsNames);
35
36private:
38 void includeWindowsForCheckedWorkspace();
40 void excludeWindowsForUncheckedWorkspace();
42 void prepareProjectFolder();
43
44 // Instance Variables
45
50};
51
52} // namespace MantidWidgets
53} // namespace MantidQt
#define EXPORT_OPT_MANTIDQT_COMMON
Definition: DllOption.h:15
IProjectSaveView is the interface for defining the functions that the project save view needs to impl...
Implements a presenter for the project saving dialog.
ProjectSaveModel m_model
Hold an instance of the model.
IProjectSaveView * m_view
Handle to the view for this presenter.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...