2020-09-20 20:33:16 +01:00
|
|
|
/*
|
|
|
|
SPDX-FileCopyrightText: 2018 Andrius Štikonas <andrius@stikonas.eu>
|
|
|
|
|
|
|
|
SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
*/
|
2018-04-08 14:45:59 +01:00
|
|
|
|
2018-04-09 02:40:24 +01:00
|
|
|
#ifndef KPMCORE_DEVICE_P_H
|
|
|
|
#define KPMCORE_DEVICE_P_H
|
|
|
|
|
2018-04-08 14:45:59 +01:00
|
|
|
#include "core/device.h"
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
2018-04-08 14:58:02 +01:00
|
|
|
#include <memory>
|
|
|
|
|
2018-04-08 14:45:59 +01:00
|
|
|
class PartitionTable;
|
|
|
|
class SmartStatus;
|
|
|
|
|
2018-04-09 00:34:45 +01:00
|
|
|
class DevicePrivate
|
2018-04-08 14:45:59 +01:00
|
|
|
{
|
2018-04-09 00:34:45 +01:00
|
|
|
public:
|
2018-04-08 14:45:59 +01:00
|
|
|
QString m_Name;
|
|
|
|
QString m_DeviceNode;
|
|
|
|
qint64 m_LogicalSectorSize;
|
|
|
|
qint64 m_TotalLogical;
|
|
|
|
PartitionTable* m_PartitionTable;
|
|
|
|
QString m_IconName;
|
2018-04-08 14:58:02 +01:00
|
|
|
std::shared_ptr<SmartStatus> m_SmartStatus;
|
2018-04-08 14:45:59 +01:00
|
|
|
Device::Type m_Type;
|
|
|
|
};
|
2018-04-09 02:40:24 +01:00
|
|
|
|
|
|
|
#endif
|