Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Scene Cluster Specific callbaks from gen/callback* to src/app/sc… #3802

Merged

Conversation

vivien-apple
Copy link
Contributor

…enes/scenes.h

Problem

CHIP src/app/clusters have some interdependencies that is inherited from the SiLabs Plugins. #3464 does not have any information about plugins - only clusters. As a result it can not generate declarations/stubs for the plugins related methods.

This PR moves some methods that belongs to the Scenes plugin directly under src/app/clusters/scenes. The result is that other plugins that are dependent of the Scenes plugin must directly #include <app/clusters/scenes/scenes.h> instead of relying on potential stubs.

Summary of Changes

  • Move declarations from gen/callback* files to src/app/scenes/scenes.h
  • Add required #include <app/clusters/scenes/scenes.h> into the dependent plugins

@andy31415 andy31415 merged commit 02d5a99 into project-chip:master Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants