#ifndef LOGREPOSITORY_H #define LOGREPOSITORY_H #include "../models/logrecord.h" #include class LogRepository { public: QList listLogs(QString *error = nullptr, int limit = 200); bool insertLog(const LogRecord &record, QString *error = nullptr); }; #endif // LOGREPOSITORY_H