first commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user