Added SQLite database support for managing device information and common data. Implemented DAOs for handling device and common data operations, such as inserting/updating devices and tracking the last scan time. Enhanced `DeviceScreener` to read device info, update database records, and take screenshots.
12 lines
211 B
C++
12 lines
211 B
C++
#pragma once
|
|
|
|
#include <QString>
|
|
#include <QDateTime>
|
|
|
|
class CommonDataDAO {
|
|
public:
|
|
[[nodiscard]] static QDateTime getLastScan();
|
|
|
|
[[nodiscard]] static bool updateLastScan(const QDateTime &newTime);
|
|
};
|