only add to property handlers if the property is generic to all children otherwise, implement in child and call these in default case
| 161 | // only add to property handlers if the property is generic to all children |
| 162 | // otherwise, implement in child and call these in default case |
| 163 | OniBool VideoStream::isPropertySupported(int propertyId) |
| 164 | { |
| 165 | switch(propertyId) |
| 166 | { |
| 167 | case ONI_STREAM_PROPERTY_VIDEO_MODE: |
| 168 | case ONI_STREAM_PROPERTY_CROPPING: |
| 169 | case ONI_STREAM_PROPERTY_MIRRORING: |
| 170 | return true; |
| 171 | default: |
| 172 | return false; |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | OniStatus VideoStream::getProperty(int propertyId, void* data, int* pDataSize) |
| 177 | { |
nothing calls this directly
no outgoing calls
no test coverage detected