diff --git a/logdoctor/CMakeLists.txt b/logdoctor/CMakeLists.txt index 132c19c6..d0679b07 100644 --- a/logdoctor/CMakeLists.txt +++ b/logdoctor/CMakeLists.txt @@ -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 diff --git a/logdoctor/modules/crapview/lib.h b/logdoctor/modules/crapview/lib.h new file mode 100644 index 00000000..c0f905ab --- /dev/null +++ b/logdoctor/modules/crapview/lib.h @@ -0,0 +1,31 @@ +#ifndef LOGDOCTOR__CRAPVIEW__LIB_H +#define LOGDOCTOR__CRAPVIEW__LIB_H + + +#include + + +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