diff --git a/examples/tv-casting-app/darwin/MatterTvCastingBridge/MatterTvCastingBridge.xcodeproj/project.pbxproj b/examples/tv-casting-app/darwin/MatterTvCastingBridge/MatterTvCastingBridge.xcodeproj/project.pbxproj index 0dc331e29069e8..f60145661522f2 100644 --- a/examples/tv-casting-app/darwin/MatterTvCastingBridge/MatterTvCastingBridge.xcodeproj/project.pbxproj +++ b/examples/tv-casting-app/darwin/MatterTvCastingBridge/MatterTvCastingBridge.xcodeproj/project.pbxproj @@ -423,11 +423,7 @@ /* Compile time codegen would need this: "$(TEMP_DIR)/out/gen/src/controller/data_model/zapgen/", */ - "$(CHIP_ROOT)/zzz_generated/", "$(CHIP_ROOT)/zzz_generated/app-common", - "$(CHIP_ROOT)/zzz_generated/controller-clusters", - /* darwin-specific bypassing compile time codegen for header inclusion */ - "$(CHIP_ROOT)/zzz_generated/darwin/controller-clusters", ); INFOPLIST_KEY_NSHumanReadableCopyright = ""; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; @@ -511,11 +507,7 @@ /* Compile time codegen would need this: "$(TEMP_DIR)/out/gen/src/controller/data_model/zapgen/", */ - "$(CHIP_ROOT)/zzz_generated/", "$(CHIP_ROOT)/zzz_generated/app-common", - "$(CHIP_ROOT)/zzz_generated/controller-clusters", - /* darwin-specific bypassing compile time codegen for header inclusion */ - "$(CHIP_ROOT)/zzz_generated/darwin/controller-clusters", ); INFOPLIST_KEY_NSHumanReadableCopyright = ""; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; diff --git a/examples/tv-casting-app/tv-casting-common/include/ApplicationBasic.h b/examples/tv-casting-app/tv-casting-common/include/ApplicationBasic.h index ec009de429a8e6..4bfa028a129e4b 100644 --- a/examples/tv-casting-app/tv-casting-common/include/ApplicationBasic.h +++ b/examples/tv-casting-app/tv-casting-common/include/ApplicationBasic.h @@ -19,7 +19,7 @@ #include "MediaReadBase.h" #include "MediaSubscriptionBase.h" -#include +#include // SUBSCRIBER CLASSES class VendorNameSubscriber : public MediaSubscriptionBase diff --git a/examples/tv-casting-app/tv-casting-common/include/ApplicationLauncher.h b/examples/tv-casting-app/tv-casting-common/include/ApplicationLauncher.h index a6c95c0c699839..9e8c08b284cd42 100644 --- a/examples/tv-casting-app/tv-casting-common/include/ApplicationLauncher.h +++ b/examples/tv-casting-app/tv-casting-common/include/ApplicationLauncher.h @@ -19,8 +19,8 @@ #include "MediaCommandBase.h" #include "MediaSubscriptionBase.h" +#include #include -#include // COMMAND CLASSES class LaunchAppCommand diff --git a/examples/tv-casting-app/tv-casting-common/include/CastingServer.h b/examples/tv-casting-app/tv-casting-common/include/CastingServer.h index 1aa483b51124d4..b24fe0fa0ec1c8 100644 --- a/examples/tv-casting-app/tv-casting-common/include/CastingServer.h +++ b/examples/tv-casting-app/tv-casting-common/include/CastingServer.h @@ -34,10 +34,9 @@ #include #include +#include #include #include -#include -#include constexpr chip::System::Clock::Seconds16 kCommissioningWindowTimeout = chip::System::Clock::Seconds16(3 * 60); diff --git a/examples/tv-casting-app/tv-casting-common/include/Channel.h b/examples/tv-casting-app/tv-casting-common/include/Channel.h index 1a0a18ec196ad8..5c98695d8d3e7d 100644 --- a/examples/tv-casting-app/tv-casting-common/include/Channel.h +++ b/examples/tv-casting-app/tv-casting-common/include/Channel.h @@ -19,8 +19,8 @@ #include "MediaCommandBase.h" #include "MediaSubscriptionBase.h" +#include #include -#include // COMMAND CLASSES class ChangeChannelCommand : public MediaCommandBase #include -#include // COMMAND CLASSES class LaunchURLCommand : public MediaCommandBase #include -#include class SendKeyCommand : public MediaCommandBase diff --git a/examples/tv-casting-app/tv-casting-common/include/LevelControl.h b/examples/tv-casting-app/tv-casting-common/include/LevelControl.h index 01c07f2ca026ff..23c3eb5fbe1238 100644 --- a/examples/tv-casting-app/tv-casting-common/include/LevelControl.h +++ b/examples/tv-casting-app/tv-casting-common/include/LevelControl.h @@ -19,8 +19,8 @@ #include "MediaCommandBase.h" #include "MediaSubscriptionBase.h" +#include #include -#include // COMMAND CLASSES class StepCommand diff --git a/examples/tv-casting-app/tv-casting-common/include/MediaPlayback.h b/examples/tv-casting-app/tv-casting-common/include/MediaPlayback.h index 149ed2e6affc70..60eb33cb4179d9 100644 --- a/examples/tv-casting-app/tv-casting-common/include/MediaPlayback.h +++ b/examples/tv-casting-app/tv-casting-common/include/MediaPlayback.h @@ -19,8 +19,8 @@ #include "MediaCommandBase.h" #include "MediaSubscriptionBase.h" +#include #include -#include // COMMAND CLASSES class PlayCommand : public MediaCommandBase #include -#include // COMMAND CLASSES class OnCommand : public MediaCommandBase diff --git a/examples/tv-casting-app/tv-casting-common/include/TargetNavigator.h b/examples/tv-casting-app/tv-casting-common/include/TargetNavigator.h index b42d1685b183af..419375cdc51fec 100644 --- a/examples/tv-casting-app/tv-casting-common/include/TargetNavigator.h +++ b/examples/tv-casting-app/tv-casting-common/include/TargetNavigator.h @@ -19,8 +19,8 @@ #include "MediaCommandBase.h" #include "MediaSubscriptionBase.h" +#include #include -#include // COMMAND CLASSES class NavigateTargetCommand diff --git a/examples/tv-casting-app/tv-casting-common/src/CastingServer.cpp b/examples/tv-casting-app/tv-casting-common/src/CastingServer.cpp index 0a23c889d624fb..313a6dc2e6a6d0 100644 --- a/examples/tv-casting-app/tv-casting-common/src/CastingServer.cpp +++ b/examples/tv-casting-app/tv-casting-common/src/CastingServer.cpp @@ -255,8 +255,7 @@ void CastingServer::ReadServerClusters(EndpointId endpointId) } // GetOperationalDeviceProxy only passes us a deviceProxy if we can get a SessionHandle. - chip::Controller::DescriptorCluster cluster(*deviceProxy->GetExchangeManager(), deviceProxy->GetSecureSession().Value(), - endpointId); + chip::Controller::ClusterBase cluster(*deviceProxy->GetExchangeManager(), deviceProxy->GetSecureSession().Value(), endpointId); TargetEndpointInfo * endpointInfo = mActiveTargetVideoPlayerInfo.GetOrAddEndpoint(endpointId);