[partition] Move SwapChoice to another namespace

- The choice of swap needs to be handled in more places,
   so make the enum available in the partition module core instead
   of just inside the choice page.
This commit is contained in:
Adriaan de Groot 2018-09-13 06:23:33 -04:00
parent 846e496d76
commit 5136021416
3 changed files with 30 additions and 22 deletions

View file

@ -62,15 +62,6 @@ public:
Manual
};
enum SwapChoice
{
NoSwap, // don't create any swap, don't use any
ReuseSwap, // don't create, but do use existing
SmallSwap, // up to 8GiB of swap
FullSwap, // ensureSuspendToDisk -- at least RAM size
SwapFile // use a file (if supported)
};
explicit ChoicePage( QWidget* parent = nullptr );
virtual ~ChoicePage();