Files
ssp/repositories/logrepository.h
T
2026-08-18 09:40:43 +08:00

16 lines
306 B
C++

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