add event system and use it to propagate to print traces

This commit is contained in:
2026-06-05 17:18:17 +02:00
parent abc261c03a
commit 9677133c54
14 changed files with 369 additions and 10 deletions

View File

@@ -0,0 +1,17 @@
SET(HDRS
${HDRS}
${CMAKE_CURRENT_SOURCE_DIR}/TracePrintRequestedEvent.h
PARENT_SCOPE
)
SET(SRCS
${SRCS}
${CMAKE_CURRENT_SOURCE_DIR}/TracePrintRequestedEvent.cpp
PARENT_SCOPE
)
set(LIB_INCLUDE_PATH
${LIB_INCLUDE_PATH}
${CMAKE_CURRENT_SOURCE_DIR}
PARENT_SCOPE
)

View File

@@ -0,0 +1 @@
#include "TracePrintRequestedEvent.h"

View File

@@ -0,0 +1,10 @@
#ifndef TRACE_PRINT_REQUESTED_EVENT_H
#define TRACE_PRINT_REQUESTED_EVENT_H
#include "Event.h"
class TracePrintRequestedEvent : public Event
{
};
#endif // TRACE_PRINT_REQUESTED_EVENT_H