mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-04-14 07:11:29 +03:00
Move headers to an include folder
This commit is contained in:
19
include/asciiview.h
Normal file
19
include/asciiview.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
#include <QVector>
|
||||
|
||||
#define SMART_READ_CMD_LEN 12
|
||||
#define INQUIRY_CMD_LEN 6
|
||||
#define SMART_READ_RESP_LEN 512
|
||||
#define INQUIRY_RESP_LEN 96
|
||||
#define SENSE_BUFFER_LEN 32
|
||||
|
||||
class AsciiView
|
||||
{
|
||||
public:
|
||||
AsciiView() = default;
|
||||
|
||||
QVector<unsigned char> readSMARTData(const QString& device_path);
|
||||
QString hexDump(const QVector<unsigned char> &data);
|
||||
};
|
||||
Reference in New Issue
Block a user