You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-utils-2.2-install.../src/commons.h

30 lines
469 B

#pragma once
#include <QMap>
class QString;
struct UserInfo
{
QString name;
QString psw;
};
struct MountPoint {
// constant info
QString dev;
QString label;
QString size;
QString fs;
// from gui to installer
QString mountpoint;
QString fs_new;
bool format;
bool migrated;
QString migrated_dev;
MountPoint() : format(false), migrated(false) {};
};
typedef QList<MountPoint> MountPointsList;
typedef QMap<QString,MountPoint> MountPointsMap;