Add struct FstabEntry to OsproberEntry.h.
This commit is contained in:
parent
a3104e2430
commit
098aa5546c
@ -1,6 +1,6 @@
|
|||||||
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
||||||
*
|
*
|
||||||
* Copyright 2014, Teo Mrnjavac <teo@kde.org>
|
* Copyright 2014-2016, Teo Mrnjavac <teo@kde.org>
|
||||||
*
|
*
|
||||||
* Calamares is free software: you can redistribute it and/or modify
|
* Calamares is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -21,12 +21,25 @@
|
|||||||
|
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
|
|
||||||
|
struct FstabEntry
|
||||||
|
{
|
||||||
|
QString partitionNode;
|
||||||
|
QString mountPoint;
|
||||||
|
QString fsType;
|
||||||
|
QString options;
|
||||||
|
int dump;
|
||||||
|
int pass;
|
||||||
|
};
|
||||||
|
|
||||||
|
typedef QList< FstabEntry > FstabEntryList;
|
||||||
|
|
||||||
struct OsproberEntry
|
struct OsproberEntry
|
||||||
{
|
{
|
||||||
QString prettyName;
|
QString prettyName;
|
||||||
QString path;
|
QString path;
|
||||||
bool canBeResized;
|
bool canBeResized;
|
||||||
QStringList line;
|
QStringList line;
|
||||||
|
FstabEntryList fstab;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef QList< OsproberEntry > OsproberEntryList;
|
typedef QList< OsproberEntry > OsproberEntryList;
|
||||||
|
Loading…
Reference in New Issue
Block a user