Skip to content

Commit

Permalink
Mass addition of gen_config header whenever endpoint count was being …
Browse files Browse the repository at this point in the history
…fetched
  • Loading branch information
andy31415 committed Feb 16, 2023
1 parent e6d46da commit 0013be0
Show file tree
Hide file tree
Showing 32 changed files with 64 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#include <app/util/af.h>
#include <cstring>

#include <zap-generated/gen_config.h>

namespace chip {
namespace app {
namespace Clusters {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include <static-supported-modes-manager.h>

#include <zap-generated/gen_config.h>

using namespace std;
using namespace chip;
using namespace chip::app::Clusters;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#include <app/util/af.h>
#include <cstring>

#include <zap-generated/gen_config.h>

namespace chip {
namespace app {
namespace Clusters {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#include "../../java/ContentAppAttributeDelegate.h"
#include <json/json.h>

#include <zap-generated/gen_config.h>

using namespace std;
using namespace chip::app;
using namespace chip::app::Clusters;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include <lib/support/JniReferences.h>
#include <lib/support/JniTypeWrappers.h>

#include <zap-generated/gen_config.h>

using namespace std;
using namespace chip;
using namespace chip::app;
Expand Down
2 changes: 2 additions & 0 deletions examples/tv-app/android/java/ChannelManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#include <lib/support/JniReferences.h>
#include <lib/support/JniTypeWrappers.h>

#include <zap-generated/gen_config.h>

using namespace chip;
using namespace chip::app;
using namespace chip::app::Clusters::Channel;
Expand Down
2 changes: 2 additions & 0 deletions examples/tv-app/android/java/KeypadInputManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#include <lib/support/CHIPJNIError.h>
#include <lib/support/JniReferences.h>

#include <zap-generated/gen_config.h>

using namespace chip;
using namespace chip::app::Clusters::KeypadInput;

Expand Down
2 changes: 2 additions & 0 deletions examples/tv-app/android/java/LevelManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include <lib/support/JniReferences.h>
#include <lib/support/JniTypeWrappers.h>

#include <zap-generated/gen_config.h>

using namespace chip;

static constexpr size_t kLevelManagerTableSize = EMBER_AF_LEVEL_CONTROL_CLUSTER_SERVER_ENDPOINT_COUNT;
Expand Down
2 changes: 2 additions & 0 deletions examples/tv-app/android/java/MediaPlaybackManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include <lib/support/JniReferences.h>
#include <lib/support/JniTypeWrappers.h>

#include <zap-generated/gen_config.h>

#include "MediaPlaybackManager.h"

using namespace chip;
Expand Down
2 changes: 2 additions & 0 deletions examples/tv-app/android/java/OnOffManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include <lib/support/JniReferences.h>
#include <lib/support/JniTypeWrappers.h>

#include <zap-generated/gen_config.h>

using namespace chip;

static constexpr size_t kOnffManagerTableSize = EMBER_AF_ON_OFF_CLUSTER_SERVER_ENDPOINT_COUNT;
Expand Down
2 changes: 2 additions & 0 deletions examples/tv-app/linux/include/channel/ChannelManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include <app-common/zap-generated/attributes/Accessors.h>
#include <vector>

#include <zap-generated/gen_config.h>

using namespace chip;
using namespace chip::app;
using namespace chip::app::Clusters::Channel;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include "ContentLauncherManager.h"
#include <app-common/zap-generated/attributes/Accessors.h>

#include <zap-generated/gen_config.h>

using namespace std;
using namespace chip::app;
using namespace chip::app::Clusters;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include "KeypadInputManager.h"
#include <app-common/zap-generated/attributes/Accessors.h>

#include <zap-generated/gen_config.h>

using namespace chip;
using namespace chip::app::Clusters::KeypadInput;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include "MediaPlaybackManager.h"
#include <app-common/zap-generated/attributes/Accessors.h>

#include <zap-generated/gen_config.h>

using namespace std;
using namespace chip::app::DataModel;
using namespace chip::app::Clusters::MediaPlayback;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#if CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
#include <app/app-platform/ContentAppPlatform.h>
#endif // CHIP_DEVICE_CONFIG_APP_PLATFORM_ENABLED
//
#include <zap-generated/gen_config.h>

using namespace chip;
using namespace chip::app::Clusters;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#include <app/util/attribute-storage.h>
#include <platform/CHIPDeviceConfig.h>

#include <zap-generated/gen_config.h>

#include <list>

using namespace chip;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
#include <app/util/attribute-storage.h>
#include <platform/CHIPDeviceConfig.h>

#include <zap-generated/gen_config.h>

using namespace chip;
using namespace chip::app::Clusters;
using namespace chip::app::Clusters::ApplicationLauncher;
Expand Down
2 changes: 2 additions & 0 deletions src/app/clusters/audio-output-server/audio-output-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#include <app/util/attribute-storage.h>
#include <platform/CHIPDeviceConfig.h>

#include <zap-generated/gen_config.h>

using namespace chip;
using namespace chip::app::Clusters::AudioOutput;
using chip::Protocols::InteractionModel::Status;
Expand Down
2 changes: 2 additions & 0 deletions src/app/clusters/channel-server/channel-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
#include <app/util/attribute-storage.h>
#include <platform/CHIPDeviceConfig.h>

#include <zap-generated/gen_config.h>

using namespace chip;
using namespace chip::app::Clusters;
using namespace chip::app::Clusters::Channel;
Expand Down
2 changes: 2 additions & 0 deletions src/app/clusters/color-control-server/color-control-server.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include <app/util/basic-types.h>
#include <protocols/interaction_model/StatusCode.h>

#include <zap-generated/gen_config.h>

/**********************************************************
* Defines and Macros
*********************************************************/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
#include <app/util/attribute-storage.h>
#include <platform/CHIPDeviceConfig.h>

#include <zap-generated/gen_config.h>

#include <list>

using namespace chip;
Expand Down
2 changes: 2 additions & 0 deletions src/app/clusters/door-lock-server/door-lock-server.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
#include <app/util/config.h>
#include <protocols/interaction_model/StatusCode.h>

#include <zap-generated/gen_config.h>

#ifndef DOOR_LOCK_SERVER_ENDPOINT
#define DOOR_LOCK_SERVER_ENDPOINT 1
#endif
Expand Down
2 changes: 2 additions & 0 deletions src/app/clusters/keypad-input-server/keypad-input-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
#include <app/util/attribute-storage.h>
#include <platform/CHIPDeviceConfig.h>

#include <zap-generated/gen_config.h>

using namespace chip;
using namespace chip::app::Clusters;
using namespace chip::app::Clusters::KeypadInput;
Expand Down
2 changes: 2 additions & 0 deletions src/app/clusters/level-control/level-control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#include <platform/CHIPDeviceLayer.h>
#include <platform/PlatformManager.h>

#include <zap-generated/gen_config.h>

#ifdef EMBER_AF_PLUGIN_SCENES
#include <app/clusters/scenes/scenes.h>
#endif // EMBER_AF_PLUGIN_SCENES
Expand Down
2 changes: 2 additions & 0 deletions src/app/clusters/low-power-server/low-power-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
#include <platform/CHIPDeviceConfig.h>
#include <protocols/interaction_model/StatusCode.h>

#include <zap-generated/gen_config.h>

using namespace chip;
using namespace chip::app::Clusters::LowPower;

Expand Down
2 changes: 2 additions & 0 deletions src/app/clusters/media-input-server/media-input-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
#include <app/util/attribute-storage.h>
#include <platform/CHIPDeviceConfig.h>

#include <zap-generated/gen_config.h>

using namespace chip;
using namespace chip::app::Clusters;
using namespace chip::app::Clusters::MediaInput;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
#include <app/util/attribute-storage.h>
#include <platform/CHIPDeviceConfig.h>

#include <zap-generated/gen_config.h>

using namespace chip;
using namespace chip::app::Clusters;
using namespace chip::app::Clusters::MediaPlayback;
Expand Down
2 changes: 2 additions & 0 deletions src/app/clusters/on-off-server/on-off-server.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#include <app/util/af-types.h>
#include <app/util/basic-types.h>

#include <zap-generated/gen_config.h>

using chip::app::Clusters::OnOff::OnOffFeature;

/**********************************************************
Expand Down
2 changes: 2 additions & 0 deletions src/app/clusters/ota-provider/ota-provider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include <platform/CHIPDeviceConfig.h>
#include <protocols/interaction_model/Constants.h>

#include <zap-generated/gen_config.h>

#include <lib/support/Span.h>

#include "ota-provider-delegate.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include <app/util/attribute-storage.h>
#include <platform/CHIPDeviceConfig.h>

#include <zap-generated/gen_config.h>

using namespace chip;
using namespace chip::app::Clusters;
using namespace chip::app::Clusters::TargetNavigator;
Expand Down
2 changes: 2 additions & 0 deletions src/app/clusters/wake-on-lan-server/wake-on-lan-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
#include <app/util/attribute-storage.h>
#include <platform/CHIPDeviceConfig.h>

#include <zap-generated/gen_config.h>

using namespace chip;
using namespace chip::app::Clusters;
using namespace chip::app::Clusters::WakeOnLan;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
#include <lib/support/TypeTraits.h>
#include <string.h>

#include <zap-generated/gen_config.h>

#ifdef EMBER_AF_PLUGIN_SCENES
#include <app/clusters/scenes/scenes.h>
#endif // EMBER_AF_PLUGIN_SCENES
Expand Down

0 comments on commit 0013be0

Please sign in to comment.