Added Crapview lib

This commit is contained in:
Valentino Orlandi 2024-02-04 21:41:51 +01:00
parent 2e8d29e208
commit 45b944de1c
Signed by: elB4RTO
GPG Key ID: 1719E976DB2D4E71
2 changed files with 32 additions and 0 deletions

View File

@ -139,6 +139,7 @@ set(PROJECT_SOURCES
modules/craplog/modules/workers/parser.cpp
modules/craplog/modules/workers/impl/loglinedata.cpp
modules/crapview/lib.h
modules/crapview/crapview.h
modules/crapview/crapview.cpp
modules/crapview/modules/lib.h

View File

@ -0,0 +1,31 @@
#ifndef LOGDOCTOR__CRAPVIEW__LIB_H
#define LOGDOCTOR__CRAPVIEW__LIB_H
#include <QMetaType>
enum class LogField
{
Warning,
// request
Protocol,
Method,
Uri,
Query,
// server
ResponseCode,
TimeTaken,
BytesSent,
BytesReceived,
// client
Client,
Cookie,
UserAgent,
Referrer
};
Q_DECLARE_METATYPE(LogField)
#endif // LOGDOCTOR__CRAPVIEW__LIB_H