Closed timsneath closed 1 year ago
Awesome, thank you!
Yay! My first commit :) Thanks for the reminder about README.md
.
Do you want to require review approvals on this repo? I'm sure others will follow in my footsteps.
Yes, definitely :)
In case you haven't noticed yet, there is a new tool called add_type located in the tool\
directory.
This tool simplifies the process of adding new WinRT types by analyzing the type and identifying any dependent types (if any), which it then adds to JSON files. The tool also fetches relevant documentation for the types from Microsoft's website, which is great.
Just wanted to let you know as manually adding a new WinRT class with extensive dependent types (e.g. StorageFile
) can be a cumbersome task.
Yup! That worked a treat for me ๐
(I did try it with Windows.ApplicationModel.DataTransfer.Clipboard, and that was less successful, because missing support for map projections. But that's fine -- I'll keep exploring interesting APIs as I have time.)
Description
Adds a couple of battery-related classes that enable reporting on available power. Adds an example of calling them.
Related Issue
Type of Change