Newer
Older
#ifndef MANTID_ISISREFLECTOMETRY_IREFLSAVETABPRESENTER_H
#define MANTID_ISISREFLECTOMETRY_IREFLSAVETABPRESENTER_H
namespace MantidQt {
namespace CustomInterfaces {
class IReflMainWindowPresenter;
/** @class IReflSaveTabPresenter
IReflSaveTabPresenter is an interface which defines the functions that need
to be implemented by a concrete 'Save ASCII' tab presenter
Copyright © 2016 ISIS Rutherford Appleton Laboratory, NScD Oak Ridge
National Laboratory & European Spallation Source
This file is part of Mantid.
Mantid is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
Mantid is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
File change history is stored at: <https://github.com/mantidproject/mantid>.
Code Documentation is available at: <http://doxygen.mantidproject.org>
*/
class IReflSaveTabPresenter {
public:
virtual ~IReflSaveTabPresenter(){};
/// Accept a main presenter
virtual void acceptMainPresenter(IReflMainWindowPresenter *mainPresenter) = 0;
enum Flag {
populateWorkspaceListFlag,
filterWorkspaceListFlag,
workspaceParamsFlag,
saveWorkspacesFlag,
suggestSaveDirFlag
/// Tell the presenter something happened
virtual void notify(IReflSaveTabPresenter::Flag flag) = 0;
virtual void onReductionPaused() = 0;
virtual void onReductionResumed() = 0;
#endif /* MANTID_ISISREFLECTOMETRY_IREFLSAVETABPRESENTER_H */