Suggestion to add callbacks or extension points to CppWinRT property implementations
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 3k
- Forks
- 300
- Avg merge
- 19h 12m
- Merged PRs (30d)
- 1
Description
I was wondering if it would be possible to add callback support or extension points to the CppWinRT property implementation classes (like single_threaded_notifying_property, etc.).
So, for example, you could execute some code when a property is updated.
Perhaps this could be done using virtual methods or CRTP, although I'm not sure what the best implementation would be. Thanks for any thoughts or input.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the CppWinRT property implementation classes mentioned in the issue, including single_threaded_notifying_property, and trace how property updates are handled. Define the callback or extension-point requirements and evaluate the suggested virtual-method and CRTP approaches; done requires a concrete, maintainable design for executing code when a property changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100