Skip to content

Commit 7126705

Browse files
remove the coupling of InteractionModelEngine in DefaultTimerDelegate (project-chip#41928)
* remove the coupling of InteractionModelEngine in DefaultTimerDelegate * update dependency * Restyled by clang-format * add missing header * add timer-delegate-default to app dependency * relocate DefaultTimerDelegate to platform * cleanup * Restyled by clang-format * update based on master change --------- Co-authored-by: Restyled.io <[email protected]>
1 parent 19f8db3 commit 7126705

File tree

23 files changed

+29
-29
lines changed

23 files changed

+29
-29
lines changed

examples/all-clusters-app/esp32/main/Globals.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#include "Globals.h"
2020
#include "DeviceCallbacks.h"
21-
#include <app/DefaultTimerDelegate.h>
21+
#include <platform/DefaultTimerDelegate.h>
2222

2323
LEDWidget statusLED1;
2424
LEDWidget statusLED2;

examples/all-clusters-app/linux/main-common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
#include <Options.h>
4545
#include <app-common/zap-generated/attributes/Accessors.h>
4646
#include <app/CommandHandler.h>
47-
#include <app/DefaultTimerDelegate.h>
4847
#include <app/clusters/diagnostic-logs-server/diagnostic-logs-server.h>
4948
#include <app/clusters/identify-server/IdentifyCluster.h>
5049
#include <app/clusters/identify-server/identify-server.h>
@@ -60,6 +59,7 @@
6059
#include <app/util/attribute-storage.h>
6160
#include <data-model-providers/codegen/CodegenDataModelProvider.h>
6261
#include <lib/support/CHIPMem.h>
62+
#include <platform/DefaultTimerDelegate.h>
6363
#include <platform/DeviceInstanceInfoProvider.h>
6464
#include <platform/DiagnosticDataProvider.h>
6565
#include <platform/PlatformManager.h>

examples/all-devices-app/all-devices-common/devices/device-factory/DeviceFactory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717

1818
#pragma once
1919

20-
#include <app/DefaultTimerDelegate.h>
2120
#include <devices/Types.h>
2221
#include <devices/boolean-state-sensor/BooleanStateSensorDevice.h>
2322
#include <functional>
2423
#include <lib/core/CHIPError.h>
2524
#include <map>
25+
#include <platform/DefaultTimerDelegate.h>
2626

2727
namespace chip::app {
2828

examples/energy-management-app/energy-management-common/common/src/Identify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
*/
1818

1919
#include "Identify.h"
20-
#include <app/DefaultTimerDelegate.h>
2120
#include <data-model-providers/codegen/CodegenDataModelProvider.h>
21+
#include <platform/DefaultTimerDelegate.h>
2222

2323
using namespace chip::app;
2424

examples/lighting-app-data-mode-no-unique-id/linux/Identify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
*/
1818

1919
#include "Identify.h"
20-
#include <app/DefaultTimerDelegate.h>
2120
#include <data-model-providers/codegen/CodegenDataModelProvider.h>
21+
#include <platform/DefaultTimerDelegate.h>
2222

2323
using namespace chip::app;
2424

examples/lit-icd-app/lit-icd-common/Identify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
*/
1818

1919
#include "Identify.h"
20-
#include <app/DefaultTimerDelegate.h>
2120
#include <data-model-providers/codegen/CodegenDataModelProvider.h>
21+
#include <platform/DefaultTimerDelegate.h>
2222

2323
using namespace chip::app;
2424

examples/lock-app/lock-common/src/Identify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
*/
1818

1919
#include "Identify.h"
20-
#include <app/DefaultTimerDelegate.h>
2120
#include <data-model-providers/codegen/CodegenDataModelProvider.h>
21+
#include <platform/DefaultTimerDelegate.h>
2222

2323
using namespace chip::app;
2424

examples/microwave-oven-app/microwave-oven-common/src/Identify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
*/
1818

1919
#include "Identify.h"
20-
#include <app/DefaultTimerDelegate.h>
2120
#include <data-model-providers/codegen/CodegenDataModelProvider.h>
21+
#include <platform/DefaultTimerDelegate.h>
2222

2323
using namespace chip::app;
2424

examples/platform/nxp/common/app_task/source/AppTaskBase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
#include <data-model-providers/codegen/Instance.h>
3131
#include <setup_payload/OnboardingCodesUtil.h>
3232

33-
#include <app/DefaultTimerDelegate.h>
3433
#include <app/clusters/network-commissioning/network-commissioning.h>
34+
#include <platform/DefaultTimerDelegate.h>
3535

3636
#include <platform/CommissionableDataProvider.h>
3737

examples/platform/silabs/MatterConfig.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@
6969
static chip::DeviceLayer::Internal::Efr32PsaOperationalKeystore gOperationalKeystore;
7070
#endif
7171

72-
#include <app/DefaultTimerDelegate.h>
7372
#include <app/InteractionModelEngine.h>
7473
#include <data-model-providers/codegen/Instance.h>
7574
#include <headers/ProvisionManager.h>
75+
#include <platform/DefaultTimerDelegate.h>
7676

7777
#ifdef SL_MATTER_TEST_EVENT_TRIGGER_ENABLED
7878
#include "SilabsTestEventTriggerDelegate.h" // nogncheck

0 commit comments

Comments
 (0)