[PR #11856] Use more cppwinrt_utils #28773

Closed
opened 2026-01-31 09:30:39 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/11856

State: closed
Merged: Yes


  • Adds the cppwinrt_utils.h to the include path for all winrt projects.
  • Adds the file to the pch.h's for every project, so you don't need to include it in every header.
  • Replaces some usages of DECLARE_EVENT/DEFINE_EVENT with WINRT_CALLBACK, which will do it in a oneliner
  • Adds more BASIC_FACTORY usage.
  • Closes Background Image for cmd (#2456)

It's 92 files with one-line changes, don't be scared.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/11856 **State:** closed **Merged:** Yes --- * Adds the `cppwinrt_utils.h` to the include path for all winrt projects. * Adds the file to the pch.h's for every project, so you don't need to include it in every header. * Replaces some usages of `DECLARE_EVENT`/`DEFINE_EVENT` with `WINRT_CALLBACK`, which will do it in a oneliner * Adds more `BASIC_FACTORY` usage. * [x] Closes #2456 It's 92 files with one-line changes, don't be scared.
claunia added the pull-request label 2026-01-31 09:30:39 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28773