From b0f8b8e769b433a943b14e70ea4522c537eb8c29 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 19 Dec 2019 17:35:05 -0600 Subject: Qt UI: Early handling of architecture (for the purposes of auto-partitioning and RE) --- ui/qt5/horizonwizard.hh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'ui/qt5/horizonwizard.hh') diff --git a/ui/qt5/horizonwizard.hh b/ui/qt5/horizonwizard.hh index d7ce52d..637d12b 100644 --- a/ui/qt5/horizonwizard.hh +++ b/ui/qt5/horizonwizard.hh @@ -74,6 +74,16 @@ public: QString mac; }; + enum Arch { + aarch64, + armv7, + pmmx, + ppc, + ppc64, + x86_64, + UnknownCPU + }; + enum PackageType { Standard, Mobile, @@ -105,6 +115,14 @@ public: std::string mirror_domain; /*! The version of Adélie to install. Typically "1.0". */ std::string version; + /*! The architecture being installed. */ + Arch arch; + /*! The disk to erase and partition based on the system. */ + std::string auto_erase_disk; + /*! The HorizonScript lines describing what to do about partitioning. + * If auto_erase_disk is set, this is not used. + * Otherwise, this should have any relevant disklabel/partition/fs etc. */ + QStringList part_lines; #ifdef NON_LIBRE_FIRMWARE /*! Determines whether firmware will be installed. */ bool firmware; -- cgit v1.2.3-60-g2f50