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

Hide masked properties from introspection #23

Merged
merged 1 commit into from Mar 31, 2023
Merged

Conversation

Tomin1
Copy link
Member

@Tomin1 Tomin1 commented Mar 30, 2023

This implements property masking also for Introspectable interface. It relies on all adaptor classes providing static introspection xml via meta object class info. It doesn't support dynamically adding child nodes or alternative object path but those are not needed for amber-mpris.

The unfortunate thing here is that this makes a lot of 8-bit to 16-bit and 16-bit to 8-bit conversions, but I think those are impossible to avoid on Qt.

[mpris] Hide masked properties from introspection. Fixes JB#59545

This implements property masking also for Introspectable interface. It
relies on all adaptor classes providing static introspection xml via
meta object class info. It doesn't support dynamically adding child
nodes or alternative object path but those are not needed for
amber-mpris.

Signed-off-by: Tomi Leppänen <tomi.leppanen@jolla.com>
@Tomin1 Tomin1 merged commit 87024e1 into master Mar 31, 2023
@Tomin1 Tomin1 deleted the jb59545_introspection branch March 31, 2023 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants