1
0
forked from BRT/arc
arc/database/dao/DeviceDAO.h
slava b1876bc3b9 Refactor includes and add AccountInfoScreener functionality
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.
2025-04-21 23:12:21 +07:00

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();
};