Skip to content

Commit

Permalink
Fix Darwin availability annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple committed Nov 13, 2023
1 parent 2a68bef commit 7e27317
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 13 deletions.
26 changes: 22 additions & 4 deletions src/darwin/Framework/CHIP/templates/availability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3074,8 +3074,12 @@
- EffectIdentifierEnum
- StartUpOnOffEnum
LevelControl:
- MoveMode
- StepMode
# MoveModeEnum and StepModeEnum were originally named MoveMode and
# StepMode, but we generate the same API for the names
# with/without "Enum" at the end, and with/without the cluster
# name at the beginning, so the name can just change here.
- MoveModeEnum
- StepModeEnum
AccessControl:
- AuthMode
- ChangeTypeEnum
Expand Down Expand Up @@ -3320,10 +3324,14 @@
- On
- TogglePreviousOnOff
LevelControl:
MoveMode:
# MoveModeEnum and StepModeEnum were originally named MoveMode and
# StepMode, but we generate the same API for the names
# with/without "Enum" at the end, and with/without the cluster
# name at the beginning, so the name can just change here.
MoveModeEnum:
- Up
- Down
StepMode:
StepModeEnum:
- Up
- Down
AccessControl:
Expand Down Expand Up @@ -7772,6 +7780,8 @@
- Feature
ContentLauncher:
- SupportedProtocolsBitmap
LevelControl:
- OptionsBitmap
bitmap values:
PumpConfigurationAndControl:
PumpStatusBitmap:
Expand All @@ -7791,6 +7801,10 @@
SupportedProtocolsBitmap:
- DASH
- HLS
LevelControl:
OptionsBitmap:
- ExecuteIfOff
- CoupleColorTempToLevel
deprecated:
event fields:
WiFiNetworkDiagnostics:
Expand All @@ -7809,6 +7823,8 @@
- ScenesCopyMode
ContentLauncher:
- SupportedStreamingProtocol
LevelControl:
- LevelControlOptions
bitmap values:
PumpConfigurationAndControl:
PumpStatusBitmap:
Expand Down Expand Up @@ -7904,6 +7920,8 @@
CopyModeBitmap: ScenesCopyMode
ContentLauncher:
SupportedProtocolsBitmap: SupportedStreamingProtocol
LevelControl:
OptionsBitmap: LevelControlOptions
bitmap values:
PumpConfigurationAndControl:
PumpStatusBitmap:
Expand Down
28 changes: 19 additions & 9 deletions src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7e27317

Please sign in to comment.