Do not include endpoint config in types_stub.h (#25128) * Remove endpoint config from types. Add it to binding tables as they are directly referenced there * Mass addition of gen_config header whenever endpoint count was being fetched * Undo all changes except type_stubs. This is to create a tool that auto-adds headers * Added app/util/config.h whenever gen_config or endpoint_config bits seemed to be used * Restyle * Remove duplicate include based on code review
diff --git a/examples/tv-app/linux/include/channel/ChannelManager.cpp b/examples/tv-app/linux/include/channel/ChannelManager.cpp index d80267f..bc51792 100644 --- a/examples/tv-app/linux/include/channel/ChannelManager.cpp +++ b/examples/tv-app/linux/include/channel/ChannelManager.cpp
@@ -17,6 +17,8 @@ #include "ChannelManager.h" #include <app-common/zap-generated/attributes/Accessors.h> +#include <app/util/config.h> + #include <vector> using namespace chip;
diff --git a/examples/tv-app/linux/include/content-launcher/ContentLauncherManager.cpp b/examples/tv-app/linux/include/content-launcher/ContentLauncherManager.cpp index 07e905c..79ae11b 100644 --- a/examples/tv-app/linux/include/content-launcher/ContentLauncherManager.cpp +++ b/examples/tv-app/linux/include/content-launcher/ContentLauncherManager.cpp
@@ -18,6 +18,7 @@ #include "ContentLauncherManager.h" #include <app-common/zap-generated/attributes/Accessors.h> +#include <app/util/config.h> using namespace std; using namespace chip::app;
diff --git a/examples/tv-app/linux/include/keypad-input/KeypadInputManager.cpp b/examples/tv-app/linux/include/keypad-input/KeypadInputManager.cpp index 22b62db..5548174 100644 --- a/examples/tv-app/linux/include/keypad-input/KeypadInputManager.cpp +++ b/examples/tv-app/linux/include/keypad-input/KeypadInputManager.cpp
@@ -18,6 +18,7 @@ #include "KeypadInputManager.h" #include <app-common/zap-generated/attributes/Accessors.h> +#include <app/util/config.h> using namespace chip; using namespace chip::app::Clusters::KeypadInput;
diff --git a/examples/tv-app/linux/include/media-playback/MediaPlaybackManager.cpp b/examples/tv-app/linux/include/media-playback/MediaPlaybackManager.cpp index 6053456..4fffd61 100644 --- a/examples/tv-app/linux/include/media-playback/MediaPlaybackManager.cpp +++ b/examples/tv-app/linux/include/media-playback/MediaPlaybackManager.cpp
@@ -17,6 +17,7 @@ #include "MediaPlaybackManager.h" #include <app-common/zap-generated/attributes/Accessors.h> +#include <app/util/config.h> using namespace std; using namespace chip::app::DataModel;