1
0
forked from BRT/arc
arc/database/database_manager.h
slava 1672216bdc Integrate device data management with database access
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.
2025-04-17 22:10:11 +07:00

16 lines
267 B
C++

#pragma once
#include <QSqlDatabase>
class DatabaseManager final : public QObject {
Q_OBJECT
public:
static DatabaseManager& instance();
QSqlDatabase& database();
private:
DatabaseManager();
~DatabaseManager() override;
QSqlDatabase db;
};