Updated include paths for consistent structure under the `db` directory. Added `AccountInfoScreener` for parsing card data using Tesseract OCR and enhanced related models. Removed unused code and simplified main workflow.
15 lines
393 B
C++
15 lines
393 B
C++
#pragma once
|
|
|
|
#include <db/DeviceInfo.h>
|
|
|
|
class DeviceDAO {
|
|
public:
|
|
[[nodiscard]] static bool upsertDevice(const DeviceInfo &device);
|
|
|
|
[[nodiscard]] static bool markDevicesOfflineExcept(const QStringList &onlineDeviceIds);
|
|
|
|
[[nodiscard]] static bool updateImage(const QString &deviceId, const QByteArray &imageData);
|
|
|
|
[[nodiscard]] static QList<DeviceInfo> getAllDevices();
|
|
};
|