2
* Copyright (C) 2010-2011 Daniel Richter <danielrichter2007@web.de>
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 3 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19
#ifndef ENVEDITORCONTROLLER_H_
20
#define ENVEDITORCONTROLLER_H_
22
class EnvEditorController {
24
virtual inline ~EnvEditorController(){};
26
virtual void showAction(bool resetPartitionChooser = false) = 0;
27
virtual void mountSubmountpointAction(std::string const& submountpoint) = 0;
28
virtual void umountSubmountpointAction(std::string const& submountpoint) = 0;
29
virtual void switchPartitionAction(std::string const& newPartition) = 0;
30
virtual void switchBootloaderTypeAction(int newTypeIndex) = 0;
31
virtual void updateGrubEnvOptionsAction() = 0;
32
virtual void applyAction(bool saveConfig) = 0;
34
virtual void exitAction() = 0;
38
#endif /* ENVEDITORCONTROLLER_H_ */