Log Viewer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
380 B

6 months ago
#ifndef LOGWAREHOUSE
#define LOGWAREHOUSE
#include <QObject>
#include "include/type/Log.h"
6 months ago
class LogWarehouse : public QObject
{
Q_OBJECT
public:
Log_ptr getItem(int index);
int getLength();
6 months ago
//uncrustify off
public slots:
//uncrustify on
void addData(Log_ptr data);
6 months ago
signals:
void dataAdded();
private:
QList<Log_ptr> _data;
6 months ago
};
#endif //LOGWAREHOUSE