Skip to content

Commit 1eb1102

Browse files
zenghuchen-ggrestyled-commitssoares-sergio
authored
Relocate TimerDelegate and TimerDelegateTest (project-chip#41788)
* Relocate TimerDelegate and TimerDelegateTest * typo fix * Restyled by clang-format * not needed dependency for now * move TimerDelegate base and TimerDelegateMock to lib/support/ * cleanup * update includes * Restyled by clang-format * update namespace and header * Restyled by clang-format * update header include in examples * update header include in examples * File rename and source_set split * Restyled by clang-format * Update src/lib/support/TimerDelegate.h Co-authored-by: Sergio Soares <[email protected]> --------- Co-authored-by: Restyled.io <[email protected]> Co-authored-by: Sergio Soares <[email protected]>
1 parent 426d432 commit 1eb1102

File tree

33 files changed

+156
-97
lines changed

33 files changed

+156
-97
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#include <esp_log.h>
3838
#include <lib/dnssd/Advertiser.h>
3939

40-
#include <app/TimerDelegates.h>
4140
#include <app/clusters/identify-server/IdentifyCluster.h>
4241
#include <data-model-providers/codegen/CodegenDataModelProvider.h>
4342
#include <lib/support/CHIPMem.h>

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/TimerDelegates.h>
21+
#include <app/DefaultTimerDelegate.h>
2222

2323
LEDWidget statusLED1;
2424
LEDWidget statusLED2;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
#include <Options.h>
4545
#include <app-common/zap-generated/attributes/Accessors.h>
4646
#include <app/CommandHandler.h>
47+
#include <app/DefaultTimerDelegate.h>
4748
#include <app/clusters/diagnostic-logs-server/diagnostic-logs-server.h>
4849
#include <app/clusters/identify-server/IdentifyCluster.h>
4950
#include <app/clusters/identify-server/identify-server.h>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
*/
1818

1919
#include "Identify.h"
20+
#include <app/DefaultTimerDelegate.h>
2021
#include <data-model-providers/codegen/CodegenDataModelProvider.h>
2122

2223
using namespace chip::app;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
*/
1818

1919
#include "Identify.h"
20+
#include <app/DefaultTimerDelegate.h>
2021
#include <data-model-providers/codegen/CodegenDataModelProvider.h>
2122

2223
using namespace chip::app;

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

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

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

2323
using namespace chip::app;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
*/
1818

1919
#include "Identify.h"
20+
#include <app/DefaultTimerDelegate.h>
2021
#include <data-model-providers/codegen/CodegenDataModelProvider.h>
2122

2223
using namespace chip::app;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
*/
1818

1919
#include "Identify.h"
20+
#include <app/DefaultTimerDelegate.h>
2021
#include <data-model-providers/codegen/CodegenDataModelProvider.h>
2122

2223
using namespace chip::app;

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

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

33+
#include <app/DefaultTimerDelegate.h>
3334
#include <app/clusters/network-commissioning/network-commissioning.h>
3435

3536
#include <platform/CommissionableDataProvider.h>

examples/platform/silabs/MatterConfig.cpp

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

72+
#include <app/DefaultTimerDelegate.h>
7273
#include <app/InteractionModelEngine.h>
73-
#include <app/TimerDelegates.h>
7474
#include <data-model-providers/codegen/Instance.h>
7575
#include <headers/ProvisionManager.h>
7676

0 commit comments

Comments
 (0)