From 098aa5546c9136785d793ecec91927850f7657c2 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Fri, 8 Jul 2016 16:56:53 +0200 Subject: [PATCH] Add struct FstabEntry to OsproberEntry.h. --- src/modules/partition/core/OsproberEntry.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/modules/partition/core/OsproberEntry.h b/src/modules/partition/core/OsproberEntry.h index 58e7bc9d7..acaa3187d 100644 --- a/src/modules/partition/core/OsproberEntry.h +++ b/src/modules/partition/core/OsproberEntry.h @@ -1,6 +1,6 @@ /* === This file is part of Calamares - === * - * Copyright 2014, Teo Mrnjavac + * Copyright 2014-2016, Teo Mrnjavac * * Calamares is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,12 +21,25 @@ #include +struct FstabEntry +{ + QString partitionNode; + QString mountPoint; + QString fsType; + QString options; + int dump; + int pass; +}; + +typedef QList< FstabEntry > FstabEntryList; + struct OsproberEntry { QString prettyName; QString path; bool canBeResized; QStringList line; + FstabEntryList fstab; }; typedef QList< OsproberEntry > OsproberEntryList;