Skip to content

Commit b4b0f30

Browse files
committed
Move EventLoggingDelegate to be part of "events" in app.
- Remove unneeded includes from this header - add dependency to core (due to TLV)
1 parent 5b3828f commit b4b0f30

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/app/BUILD.gn

+2-1
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,13 @@ source_set("events") {
261261
sources = [
262262
"EventHeader.h",
263263
"EventLoggingTypes.h",
264+
"EventLoggingDelegate.h",
264265
]
265266

266267
deps = [
267268
":paths",
268269
"${chip_root}/src/access:types",
270+
"${chip_root}/src/lib/core",
269271
]
270272
}
271273

@@ -291,7 +293,6 @@ static_library("app") {
291293
"DeferredAttributePersistenceProvider.cpp",
292294
"DeferredAttributePersistenceProvider.h",
293295
"EventLogging.h",
294-
"EventLoggingDelegate.h",
295296
"EventManagement.cpp",
296297
"EventManagement.h",
297298
"FailSafeContext.cpp",

src/app/EventLoggingDelegate.h

-3
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@
2323

2424
#pragma once
2525

26-
#include <lib/core/CHIPCore.h>
2726
#include <lib/core/TLV.h>
28-
#include <messaging/ExchangeContext.h>
29-
#include <system/SystemPacketBuffer.h>
3027

3128
namespace chip {
3229
namespace app {

0 commit comments

Comments
 (0)