From bc55542a602637ea4169b084c1b78aada0382ee7 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 6 Dec 2019 21:00:29 -0600 Subject: Qt UI: Implement UI.Packages.Choices requirements --- ui/qt5/horizonwizard.hh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'ui/qt5/horizonwizard.hh') diff --git a/ui/qt5/horizonwizard.hh b/ui/qt5/horizonwizard.hh index 0cb4d0b..272886f 100644 --- a/ui/qt5/horizonwizard.hh +++ b/ui/qt5/horizonwizard.hh @@ -82,6 +82,16 @@ public: Custom }; + enum BinShProvider { + Dash, + Bash + }; + + enum InitSystem { + S6, + SysVInit + }; + HorizonWizard(QWidget *parent = nullptr); void accept(); /*! Emit a HorizonScript file with the user's choices. */ @@ -107,8 +117,14 @@ public: bool net_dhcp; /*! Determines whether to install GRUB. */ bool grub; + /*! Determines whether to install eudev. */ + bool eudev; /*! Determines the packages to install. */ PackageType pkgtype; + /*! Determines the /bin/sh provider. */ + BinShProvider binsh; + /*! Determines the /sbin/init provider. */ + InitSystem sbininit; /*! Determines the network interface to use. */ std::string chosen_auto_iface; /*! If pkgtype is Custom, a list of packages to install. */ -- cgit v1.2.3-60-g2f50