Skip to content

Commit f774309

Browse files
committed
include header needed for Providerchangedlistener
1 parent 140f775 commit f774309

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/app/dynamic_server/DynamicDispatcher.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#include <app/MessageDef/StatusIB.h>
3333
#include <app/WriteHandler.h>
3434
#include <app/clusters/ota-provider/ota-provider-cluster.h>
35+
#include <app/data-model-provider/ProviderChangeListener.h>
3536
#include <app/data-model/Decode.h>
3637
#include <app/util/attribute-storage.h>
3738
#include <app/util/attribute-table.h>
@@ -312,13 +313,14 @@ CHIP_ERROR GetSemanticTagForEndpointAtIndex(EndpointId endpoint, size_t index,
312313
return CHIP_ERROR_NOT_FOUND;
313314
}
314315

315-
void emberAfAttributeChanged(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId, Providerchangedlistener * listener)
316+
void emberAfAttributeChanged(EndpointId endpoint, ClusterId clusterId, AttributeId attributeId,
317+
chip::app::DataModel::Providerchangedlistener * listener)
316318
{
317319
gMockDataVersion++;
318320
listener->MarkDirty(AttributePathParams(endpoint, clusterId, attributeId));
319321
}
320322

321-
void emberAfEndpointChanged(EndpointId endpoint, ProviderChangedListener * listener)
323+
void emberAfEndpointChanged(EndpointId endpoint, chip::app::DataModel::ProviderChangedListener * listener)
322324
{
323325
listener->MarkDirty(AttributePathParams(endpoint));
324326
}

0 commit comments

Comments
 (0)