winrt-Windows.ApplicationModel.UserActivities 2.1.0__tar.gz → 2.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. {winrt_windows_applicationmodel_useractivities-2.1.0 → winrt_windows_applicationmodel_useractivities-2.2.0}/PKG-INFO +9 -9
  2. winrt_windows_applicationmodel_useractivities-2.2.0/all-requirements.txt +8 -0
  3. {winrt_windows_applicationmodel_useractivities-2.1.0 → winrt_windows_applicationmodel_useractivities-2.2.0}/py.Windows.ApplicationModel.UserActivities.cpp +522 -77
  4. {winrt_windows_applicationmodel_useractivities-2.1.0 → winrt_windows_applicationmodel_useractivities-2.2.0}/pyproject.toml +3 -2
  5. winrt_windows_applicationmodel_useractivities-2.2.0/pywinrt-version.txt +1 -0
  6. {winrt_windows_applicationmodel_useractivities-2.1.0 → winrt_windows_applicationmodel_useractivities-2.2.0}/requirements.txt +2 -2
  7. {winrt_windows_applicationmodel_useractivities-2.1.0 → winrt_windows_applicationmodel_useractivities-2.2.0}/winrt/_winrt_windows_applicationmodel_useractivities.pyi +1 -1
  8. {winrt_windows_applicationmodel_useractivities-2.1.0 → winrt_windows_applicationmodel_useractivities-2.2.0}/winrt/windows/applicationmodel/useractivities/__init__.py +1 -1
  9. {winrt_windows_applicationmodel_useractivities-2.1.0 → winrt_windows_applicationmodel_useractivities-2.2.0}/winrt_Windows.ApplicationModel.UserActivities.egg-info/PKG-INFO +9 -9
  10. winrt_windows_applicationmodel_useractivities-2.2.0/winrt_Windows.ApplicationModel.UserActivities.egg-info/requires.txt +9 -0
  11. winrt_windows_applicationmodel_useractivities-2.1.0/all-requirements.txt +0 -8
  12. winrt_windows_applicationmodel_useractivities-2.1.0/pywinrt-version.txt +0 -1
  13. winrt_windows_applicationmodel_useractivities-2.1.0/winrt_Windows.ApplicationModel.UserActivities.egg-info/requires.txt +0 -9
  14. {winrt_windows_applicationmodel_useractivities-2.1.0 → winrt_windows_applicationmodel_useractivities-2.2.0}/README.md +0 -0
  15. {winrt_windows_applicationmodel_useractivities-2.1.0 → winrt_windows_applicationmodel_useractivities-2.2.0}/setup.cfg +0 -0
  16. {winrt_windows_applicationmodel_useractivities-2.1.0 → winrt_windows_applicationmodel_useractivities-2.2.0}/setup.py +0 -0
  17. {winrt_windows_applicationmodel_useractivities-2.1.0 → winrt_windows_applicationmodel_useractivities-2.2.0}/winrt/windows/applicationmodel/useractivities/py.typed +0 -0
  18. {winrt_windows_applicationmodel_useractivities-2.1.0 → winrt_windows_applicationmodel_useractivities-2.2.0}/winrt_Windows.ApplicationModel.UserActivities.egg-info/SOURCES.txt +0 -0
  19. {winrt_windows_applicationmodel_useractivities-2.1.0 → winrt_windows_applicationmodel_useractivities-2.2.0}/winrt_Windows.ApplicationModel.UserActivities.egg-info/dependency_links.txt +0 -0
  20. {winrt_windows_applicationmodel_useractivities-2.1.0 → winrt_windows_applicationmodel_useractivities-2.2.0}/winrt_Windows.ApplicationModel.UserActivities.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.UserActivities
3
- Version: 2.1.0
3
+ Version: 2.2.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -10,16 +10,16 @@ Classifier: Operating System :: Microsoft :: Windows
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
- Requires-Python: <3.13,>=3.9
13
+ Requires-Python: <3.14,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.1.0
15
+ Requires-Dist: winrt-runtime==2.2.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
19
- Requires-Dist: winrt-Windows.Security.Credentials[all]==2.1.0; extra == "all"
20
- Requires-Dist: winrt-Windows.System[all]==2.1.0; extra == "all"
21
- Requires-Dist: winrt-Windows.UI[all]==2.1.0; extra == "all"
22
- Requires-Dist: winrt-Windows.UI.Shell[all]==2.1.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Security.Credentials[all]==2.2.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.System[all]==2.2.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.UI[all]==2.2.0; extra == "all"
22
+ Requires-Dist: winrt-Windows.UI.Shell[all]==2.2.0; extra == "all"
23
23
 
24
24
  <!-- warning: Please don't edit this file. It was automatically generated. -->
25
25
 
@@ -0,0 +1,8 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ winrt-Windows.Foundation[all]==2.2.0
4
+ winrt-Windows.Foundation.Collections[all]==2.2.0
5
+ winrt-Windows.Security.Credentials[all]==2.2.0
6
+ winrt-Windows.System[all]==2.2.0
7
+ winrt-Windows.UI[all]==2.2.0
8
+ winrt-Windows.UI.Shell[all]==2.2.0
@@ -1,4 +1,4 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
3
  #include "py.Windows.ApplicationModel.UserActivities.h"
4
4
 
@@ -21,7 +21,7 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
21
21
  {
22
22
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
23
23
 
24
- winrt::Windows::ApplicationModel::UserActivities::UserActivity instance{ param0 };
24
+ winrt::Windows::ApplicationModel::UserActivities::UserActivity instance{param0};
25
25
  return py::wrap(instance, type);
26
26
  }
27
27
  catch (...)
@@ -53,7 +53,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
53
53
  {
54
54
  try
55
55
  {
56
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"CreateSession", 0))
56
+ static std::optional<bool> is_overload_present{};
57
+
58
+ if (!is_overload_present.has_value())
59
+ {
60
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"CreateSession", 0);
61
+ }
62
+
63
+ if (!is_overload_present.value())
57
64
  {
58
65
  py::set_arg_count_version_error(0);
59
66
  return nullptr;
@@ -82,7 +89,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
82
89
  {
83
90
  try
84
91
  {
85
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"SaveAsync", 0))
92
+ static std::optional<bool> is_overload_present{};
93
+
94
+ if (!is_overload_present.has_value())
95
+ {
96
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"SaveAsync", 0);
97
+ }
98
+
99
+ if (!is_overload_present.value())
86
100
  {
87
101
  py::set_arg_count_version_error(0);
88
102
  return nullptr;
@@ -111,7 +125,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
111
125
  {
112
126
  try
113
127
  {
114
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ToJson", 0))
128
+ static std::optional<bool> is_overload_present{};
129
+
130
+ if (!is_overload_present.has_value())
131
+ {
132
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ToJson", 0);
133
+ }
134
+
135
+ if (!is_overload_present.value())
115
136
  {
116
137
  py::set_arg_count_version_error(0);
117
138
  return nullptr;
@@ -140,7 +161,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
140
161
  {
141
162
  try
142
163
  {
143
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ToJsonArray", 1))
164
+ static std::optional<bool> is_overload_present{};
165
+
166
+ if (!is_overload_present.has_value())
167
+ {
168
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ToJsonArray", 1);
169
+ }
170
+
171
+ if (!is_overload_present.value())
144
172
  {
145
173
  py::set_arg_count_version_error(1);
146
174
  return nullptr;
@@ -171,7 +199,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
171
199
  {
172
200
  try
173
201
  {
174
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"TryParseFromJson", 1))
202
+ static std::optional<bool> is_overload_present{};
203
+
204
+ if (!is_overload_present.has_value())
205
+ {
206
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"TryParseFromJson", 1);
207
+ }
208
+
209
+ if (!is_overload_present.value())
175
210
  {
176
211
  py::set_arg_count_version_error(1);
177
212
  return nullptr;
@@ -202,7 +237,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
202
237
  {
203
238
  try
204
239
  {
205
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"TryParseFromJsonArray", 1))
240
+ static std::optional<bool> is_overload_present{};
241
+
242
+ if (!is_overload_present.has_value())
243
+ {
244
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"TryParseFromJsonArray", 1);
245
+ }
246
+
247
+ if (!is_overload_present.value())
206
248
  {
207
249
  py::set_arg_count_version_error(1);
208
250
  return nullptr;
@@ -229,7 +271,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
229
271
  {
230
272
  try
231
273
  {
232
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"FallbackUri"))
274
+ static std::optional<bool> is_property_present{};
275
+
276
+ if (!is_property_present.has_value())
277
+ {
278
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"FallbackUri");
279
+ }
280
+
281
+ if (!is_property_present.value())
233
282
  {
234
283
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
235
284
  return nullptr;
@@ -254,7 +303,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
254
303
 
255
304
  try
256
305
  {
257
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"FallbackUri"))
306
+ static std::optional<bool> is_property_present{};
307
+
308
+ if (!is_property_present.has_value())
309
+ {
310
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"FallbackUri");
311
+ }
312
+
313
+ if (!is_property_present.value())
258
314
  {
259
315
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
260
316
  return -1;
@@ -276,7 +332,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
276
332
  {
277
333
  try
278
334
  {
279
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ContentUri"))
335
+ static std::optional<bool> is_property_present{};
336
+
337
+ if (!is_property_present.has_value())
338
+ {
339
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ContentUri");
340
+ }
341
+
342
+ if (!is_property_present.value())
280
343
  {
281
344
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
282
345
  return nullptr;
@@ -301,7 +364,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
301
364
 
302
365
  try
303
366
  {
304
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ContentUri"))
367
+ static std::optional<bool> is_property_present{};
368
+
369
+ if (!is_property_present.has_value())
370
+ {
371
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ContentUri");
372
+ }
373
+
374
+ if (!is_property_present.value())
305
375
  {
306
376
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
307
377
  return -1;
@@ -323,7 +393,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
323
393
  {
324
394
  try
325
395
  {
326
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ContentType"))
396
+ static std::optional<bool> is_property_present{};
397
+
398
+ if (!is_property_present.has_value())
399
+ {
400
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ContentType");
401
+ }
402
+
403
+ if (!is_property_present.value())
327
404
  {
328
405
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
329
406
  return nullptr;
@@ -348,7 +425,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
348
425
 
349
426
  try
350
427
  {
351
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ContentType"))
428
+ static std::optional<bool> is_property_present{};
429
+
430
+ if (!is_property_present.has_value())
431
+ {
432
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ContentType");
433
+ }
434
+
435
+ if (!is_property_present.value())
352
436
  {
353
437
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
354
438
  return -1;
@@ -370,7 +454,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
370
454
  {
371
455
  try
372
456
  {
373
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ContentInfo"))
457
+ static std::optional<bool> is_property_present{};
458
+
459
+ if (!is_property_present.has_value())
460
+ {
461
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ContentInfo");
462
+ }
463
+
464
+ if (!is_property_present.value())
374
465
  {
375
466
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
376
467
  return nullptr;
@@ -395,7 +486,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
395
486
 
396
487
  try
397
488
  {
398
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ContentInfo"))
489
+ static std::optional<bool> is_property_present{};
490
+
491
+ if (!is_property_present.has_value())
492
+ {
493
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ContentInfo");
494
+ }
495
+
496
+ if (!is_property_present.value())
399
497
  {
400
498
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
401
499
  return -1;
@@ -417,7 +515,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
417
515
  {
418
516
  try
419
517
  {
420
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ActivationUri"))
518
+ static std::optional<bool> is_property_present{};
519
+
520
+ if (!is_property_present.has_value())
521
+ {
522
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ActivationUri");
523
+ }
524
+
525
+ if (!is_property_present.value())
421
526
  {
422
527
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
423
528
  return nullptr;
@@ -442,7 +547,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
442
547
 
443
548
  try
444
549
  {
445
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ActivationUri"))
550
+ static std::optional<bool> is_property_present{};
551
+
552
+ if (!is_property_present.has_value())
553
+ {
554
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ActivationUri");
555
+ }
556
+
557
+ if (!is_property_present.value())
446
558
  {
447
559
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
448
560
  return -1;
@@ -464,7 +576,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
464
576
  {
465
577
  try
466
578
  {
467
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ActivityId"))
579
+ static std::optional<bool> is_property_present{};
580
+
581
+ if (!is_property_present.has_value())
582
+ {
583
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"ActivityId");
584
+ }
585
+
586
+ if (!is_property_present.value())
468
587
  {
469
588
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
470
589
  return nullptr;
@@ -483,7 +602,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
483
602
  {
484
603
  try
485
604
  {
486
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"State"))
605
+ static std::optional<bool> is_property_present{};
606
+
607
+ if (!is_property_present.has_value())
608
+ {
609
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"State");
610
+ }
611
+
612
+ if (!is_property_present.value())
487
613
  {
488
614
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
489
615
  return nullptr;
@@ -502,7 +628,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
502
628
  {
503
629
  try
504
630
  {
505
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"VisualElements"))
631
+ static std::optional<bool> is_property_present{};
632
+
633
+ if (!is_property_present.has_value())
634
+ {
635
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"VisualElements");
636
+ }
637
+
638
+ if (!is_property_present.value())
506
639
  {
507
640
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
508
641
  return nullptr;
@@ -521,7 +654,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
521
654
  {
522
655
  try
523
656
  {
524
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"IsRoamable"))
657
+ static std::optional<bool> is_property_present{};
658
+
659
+ if (!is_property_present.has_value())
660
+ {
661
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"IsRoamable");
662
+ }
663
+
664
+ if (!is_property_present.value())
525
665
  {
526
666
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
527
667
  return nullptr;
@@ -546,7 +686,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
546
686
 
547
687
  try
548
688
  {
549
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"IsRoamable"))
689
+ static std::optional<bool> is_property_present{};
690
+
691
+ if (!is_property_present.has_value())
692
+ {
693
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivity", L"IsRoamable");
694
+ }
695
+
696
+ if (!is_property_present.value())
550
697
  {
551
698
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
552
699
  return -1;
@@ -670,7 +817,7 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
670
817
  {
671
818
  auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 0);
672
819
 
673
- winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution instance{ param0 };
820
+ winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution instance{param0};
674
821
  return py::wrap(instance, type);
675
822
  }
676
823
  catch (...)
@@ -683,7 +830,7 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
683
830
  {
684
831
  try
685
832
  {
686
- winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution instance{ };
833
+ winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution instance{};
687
834
  return py::wrap(instance, type);
688
835
  }
689
836
  catch (...)
@@ -711,7 +858,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
711
858
  {
712
859
  try
713
860
  {
714
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityAttribution", L"IconUri"))
861
+ static std::optional<bool> is_property_present{};
862
+
863
+ if (!is_property_present.has_value())
864
+ {
865
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityAttribution", L"IconUri");
866
+ }
867
+
868
+ if (!is_property_present.value())
715
869
  {
716
870
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
717
871
  return nullptr;
@@ -736,7 +890,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
736
890
 
737
891
  try
738
892
  {
739
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityAttribution", L"IconUri"))
893
+ static std::optional<bool> is_property_present{};
894
+
895
+ if (!is_property_present.has_value())
896
+ {
897
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityAttribution", L"IconUri");
898
+ }
899
+
900
+ if (!is_property_present.value())
740
901
  {
741
902
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
742
903
  return -1;
@@ -758,7 +919,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
758
919
  {
759
920
  try
760
921
  {
761
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityAttribution", L"AlternateText"))
922
+ static std::optional<bool> is_property_present{};
923
+
924
+ if (!is_property_present.has_value())
925
+ {
926
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityAttribution", L"AlternateText");
927
+ }
928
+
929
+ if (!is_property_present.value())
762
930
  {
763
931
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
764
932
  return nullptr;
@@ -783,7 +951,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
783
951
 
784
952
  try
785
953
  {
786
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityAttribution", L"AlternateText"))
954
+ static std::optional<bool> is_property_present{};
955
+
956
+ if (!is_property_present.has_value())
957
+ {
958
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityAttribution", L"AlternateText");
959
+ }
960
+
961
+ if (!is_property_present.value())
787
962
  {
788
963
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
789
964
  return -1;
@@ -805,7 +980,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
805
980
  {
806
981
  try
807
982
  {
808
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityAttribution", L"AddImageQuery"))
983
+ static std::optional<bool> is_property_present{};
984
+
985
+ if (!is_property_present.has_value())
986
+ {
987
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityAttribution", L"AddImageQuery");
988
+ }
989
+
990
+ if (!is_property_present.value())
809
991
  {
810
992
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
811
993
  return nullptr;
@@ -830,7 +1012,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
830
1012
 
831
1013
  try
832
1014
  {
833
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityAttribution", L"AddImageQuery"))
1015
+ static std::optional<bool> is_property_present{};
1016
+
1017
+ if (!is_property_present.has_value())
1018
+ {
1019
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityAttribution", L"AddImageQuery");
1020
+ }
1021
+
1022
+ if (!is_property_present.value())
834
1023
  {
835
1024
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
836
1025
  return -1;
@@ -925,7 +1114,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
925
1114
  {
926
1115
  try
927
1116
  {
928
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityChannel", L"DeleteActivityAsync", 1))
1117
+ static std::optional<bool> is_overload_present{};
1118
+
1119
+ if (!is_overload_present.has_value())
1120
+ {
1121
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityChannel", L"DeleteActivityAsync", 1);
1122
+ }
1123
+
1124
+ if (!is_overload_present.value())
929
1125
  {
930
1126
  py::set_arg_count_version_error(1);
931
1127
  return nullptr;
@@ -956,7 +1152,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
956
1152
  {
957
1153
  try
958
1154
  {
959
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityChannel", L"DeleteAllActivitiesAsync", 0))
1155
+ static std::optional<bool> is_overload_present{};
1156
+
1157
+ if (!is_overload_present.has_value())
1158
+ {
1159
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityChannel", L"DeleteAllActivitiesAsync", 0);
1160
+ }
1161
+
1162
+ if (!is_overload_present.value())
960
1163
  {
961
1164
  py::set_arg_count_version_error(0);
962
1165
  return nullptr;
@@ -985,7 +1188,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
985
1188
  {
986
1189
  try
987
1190
  {
988
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityChannel", L"DisableAutoSessionCreation", 0))
1191
+ static std::optional<bool> is_overload_present{};
1192
+
1193
+ if (!is_overload_present.has_value())
1194
+ {
1195
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityChannel", L"DisableAutoSessionCreation", 0);
1196
+ }
1197
+
1198
+ if (!is_overload_present.value())
989
1199
  {
990
1200
  py::set_arg_count_version_error(0);
991
1201
  return nullptr;
@@ -1015,7 +1225,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
1015
1225
  {
1016
1226
  try
1017
1227
  {
1018
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityChannel", L"GetDefault", 0))
1228
+ static std::optional<bool> is_overload_present{};
1229
+
1230
+ if (!is_overload_present.has_value())
1231
+ {
1232
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityChannel", L"GetDefault", 0);
1233
+ }
1234
+
1235
+ if (!is_overload_present.value())
1019
1236
  {
1020
1237
  py::set_arg_count_version_error(0);
1021
1238
  return nullptr;
@@ -1044,7 +1261,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
1044
1261
  {
1045
1262
  try
1046
1263
  {
1047
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityChannel", L"GetForUser", 1))
1264
+ static std::optional<bool> is_overload_present{};
1265
+
1266
+ if (!is_overload_present.has_value())
1267
+ {
1268
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityChannel", L"GetForUser", 1);
1269
+ }
1270
+
1271
+ if (!is_overload_present.value())
1048
1272
  {
1049
1273
  py::set_arg_count_version_error(1);
1050
1274
  return nullptr;
@@ -1075,7 +1299,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
1075
1299
  {
1076
1300
  try
1077
1301
  {
1078
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityChannel", L"GetOrCreateUserActivityAsync", 1))
1302
+ static std::optional<bool> is_overload_present{};
1303
+
1304
+ if (!is_overload_present.has_value())
1305
+ {
1306
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityChannel", L"GetOrCreateUserActivityAsync", 1);
1307
+ }
1308
+
1309
+ if (!is_overload_present.value())
1079
1310
  {
1080
1311
  py::set_arg_count_version_error(1);
1081
1312
  return nullptr;
@@ -1106,7 +1337,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
1106
1337
  {
1107
1338
  try
1108
1339
  {
1109
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityChannel", L"GetRecentUserActivitiesAsync", 1))
1340
+ static std::optional<bool> is_overload_present{};
1341
+
1342
+ if (!is_overload_present.has_value())
1343
+ {
1344
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityChannel", L"GetRecentUserActivitiesAsync", 1);
1345
+ }
1346
+
1347
+ if (!is_overload_present.value())
1110
1348
  {
1111
1349
  py::set_arg_count_version_error(1);
1112
1350
  return nullptr;
@@ -1137,7 +1375,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
1137
1375
  {
1138
1376
  try
1139
1377
  {
1140
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityChannel", L"GetSessionHistoryItemsForUserActivityAsync", 2))
1378
+ static std::optional<bool> is_overload_present{};
1379
+
1380
+ if (!is_overload_present.has_value())
1381
+ {
1382
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityChannel", L"GetSessionHistoryItemsForUserActivityAsync", 2);
1383
+ }
1384
+
1385
+ if (!is_overload_present.value())
1141
1386
  {
1142
1387
  py::set_arg_count_version_error(2);
1143
1388
  return nullptr;
@@ -1169,7 +1414,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
1169
1414
  {
1170
1415
  try
1171
1416
  {
1172
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityChannel", L"TryGetForWebAccount", 1))
1417
+ static std::optional<bool> is_overload_present{};
1418
+
1419
+ if (!is_overload_present.has_value())
1420
+ {
1421
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityChannel", L"TryGetForWebAccount", 1);
1422
+ }
1423
+
1424
+ if (!is_overload_present.value())
1173
1425
  {
1174
1426
  py::set_arg_count_version_error(1);
1175
1427
  return nullptr;
@@ -1300,7 +1552,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
1300
1552
  {
1301
1553
  try
1302
1554
  {
1303
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityContentInfo", L"FromJson", 1))
1555
+ static std::optional<bool> is_overload_present{};
1556
+
1557
+ if (!is_overload_present.has_value())
1558
+ {
1559
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityContentInfo", L"FromJson", 1);
1560
+ }
1561
+
1562
+ if (!is_overload_present.value())
1304
1563
  {
1305
1564
  py::set_arg_count_version_error(1);
1306
1565
  return nullptr;
@@ -1331,7 +1590,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
1331
1590
  {
1332
1591
  try
1333
1592
  {
1334
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityContentInfo", L"ToJson", 0))
1593
+ static std::optional<bool> is_overload_present{};
1594
+
1595
+ if (!is_overload_present.has_value())
1596
+ {
1597
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityContentInfo", L"ToJson", 0);
1598
+ }
1599
+
1600
+ if (!is_overload_present.value())
1335
1601
  {
1336
1602
  py::set_arg_count_version_error(0);
1337
1603
  return nullptr;
@@ -1453,7 +1719,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
1453
1719
  {
1454
1720
  try
1455
1721
  {
1456
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityRequest", L"SetUserActivity", 1))
1722
+ static std::optional<bool> is_overload_present{};
1723
+
1724
+ if (!is_overload_present.has_value())
1725
+ {
1726
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityRequest", L"SetUserActivity", 1);
1727
+ }
1728
+
1729
+ if (!is_overload_present.value())
1457
1730
  {
1458
1731
  py::set_arg_count_version_error(1);
1459
1732
  return nullptr;
@@ -1552,7 +1825,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
1552
1825
  {
1553
1826
  try
1554
1827
  {
1555
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityRequestManager", L"GetForCurrentView", 0))
1828
+ static std::optional<bool> is_overload_present{};
1829
+
1830
+ if (!is_overload_present.has_value())
1831
+ {
1832
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityRequestManager", L"GetForCurrentView", 0);
1833
+ }
1834
+
1835
+ if (!is_overload_present.value())
1556
1836
  {
1557
1837
  py::set_arg_count_version_error(0);
1558
1838
  return nullptr;
@@ -1577,7 +1857,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
1577
1857
  {
1578
1858
  try
1579
1859
  {
1580
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.UserActivities.UserActivityRequestManager", L"UserActivityRequested"))
1860
+ static std::optional<bool> is_event_present{};
1861
+
1862
+ if (!is_event_present.has_value())
1863
+ {
1864
+ is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.UserActivities.UserActivityRequestManager", L"UserActivityRequested");
1865
+ }
1866
+
1867
+ if (!is_event_present.value())
1581
1868
  {
1582
1869
  PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
1583
1870
  return nullptr;
@@ -1598,7 +1885,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
1598
1885
  {
1599
1886
  try
1600
1887
  {
1601
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.UserActivities.UserActivityRequestManager", L"UserActivityRequested"))
1888
+ static std::optional<bool> is_event_present{};
1889
+
1890
+ if (!is_event_present.has_value())
1891
+ {
1892
+ is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.UserActivities.UserActivityRequestManager", L"UserActivityRequested");
1893
+ }
1894
+
1895
+ if (!is_event_present.value())
1602
1896
  {
1603
1897
  PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
1604
1898
  return nullptr;
@@ -1718,7 +2012,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
1718
2012
  {
1719
2013
  try
1720
2014
  {
1721
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityRequestedEventArgs", L"GetDeferral", 0))
2015
+ static std::optional<bool> is_overload_present{};
2016
+
2017
+ if (!is_overload_present.has_value())
2018
+ {
2019
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivityRequestedEventArgs", L"GetDeferral", 0);
2020
+ }
2021
+
2022
+ if (!is_overload_present.value())
1722
2023
  {
1723
2024
  py::set_arg_count_version_error(0);
1724
2025
  return nullptr;
@@ -1743,7 +2044,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
1743
2044
  {
1744
2045
  try
1745
2046
  {
1746
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityRequestedEventArgs", L"Request"))
2047
+ static std::optional<bool> is_property_present{};
2048
+
2049
+ if (!is_property_present.has_value())
2050
+ {
2051
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityRequestedEventArgs", L"Request");
2052
+ }
2053
+
2054
+ if (!is_property_present.value())
1747
2055
  {
1748
2056
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1749
2057
  return nullptr;
@@ -1834,7 +2142,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
1834
2142
  {
1835
2143
  try
1836
2144
  {
1837
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivitySession", L"Close", 0))
2145
+ static std::optional<bool> is_overload_present{};
2146
+
2147
+ if (!is_overload_present.has_value())
2148
+ {
2149
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.UserActivitySession", L"Close", 0);
2150
+ }
2151
+
2152
+ if (!is_overload_present.value())
1838
2153
  {
1839
2154
  py::set_arg_count_version_error(0);
1840
2155
  return nullptr;
@@ -1860,7 +2175,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
1860
2175
  {
1861
2176
  try
1862
2177
  {
1863
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivitySession", L"ActivityId"))
2178
+ static std::optional<bool> is_property_present{};
2179
+
2180
+ if (!is_property_present.has_value())
2181
+ {
2182
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivitySession", L"ActivityId");
2183
+ }
2184
+
2185
+ if (!is_property_present.value())
1864
2186
  {
1865
2187
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1866
2188
  return nullptr;
@@ -1968,7 +2290,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
1968
2290
  {
1969
2291
  try
1970
2292
  {
1971
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivitySessionHistoryItem", L"EndTime"))
2293
+ static std::optional<bool> is_property_present{};
2294
+
2295
+ if (!is_property_present.has_value())
2296
+ {
2297
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivitySessionHistoryItem", L"EndTime");
2298
+ }
2299
+
2300
+ if (!is_property_present.value())
1972
2301
  {
1973
2302
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1974
2303
  return nullptr;
@@ -1987,7 +2316,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
1987
2316
  {
1988
2317
  try
1989
2318
  {
1990
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivitySessionHistoryItem", L"StartTime"))
2319
+ static std::optional<bool> is_property_present{};
2320
+
2321
+ if (!is_property_present.has_value())
2322
+ {
2323
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivitySessionHistoryItem", L"StartTime");
2324
+ }
2325
+
2326
+ if (!is_property_present.value())
1991
2327
  {
1992
2328
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1993
2329
  return nullptr;
@@ -2006,7 +2342,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
2006
2342
  {
2007
2343
  try
2008
2344
  {
2009
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivitySessionHistoryItem", L"UserActivity"))
2345
+ static std::optional<bool> is_property_present{};
2346
+
2347
+ if (!is_property_present.has_value())
2348
+ {
2349
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivitySessionHistoryItem", L"UserActivity");
2350
+ }
2351
+
2352
+ if (!is_property_present.value())
2010
2353
  {
2011
2354
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2012
2355
  return nullptr;
@@ -2094,7 +2437,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
2094
2437
  {
2095
2438
  try
2096
2439
  {
2097
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"DisplayText"))
2440
+ static std::optional<bool> is_property_present{};
2441
+
2442
+ if (!is_property_present.has_value())
2443
+ {
2444
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"DisplayText");
2445
+ }
2446
+
2447
+ if (!is_property_present.value())
2098
2448
  {
2099
2449
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2100
2450
  return nullptr;
@@ -2119,7 +2469,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
2119
2469
 
2120
2470
  try
2121
2471
  {
2122
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"DisplayText"))
2472
+ static std::optional<bool> is_property_present{};
2473
+
2474
+ if (!is_property_present.has_value())
2475
+ {
2476
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"DisplayText");
2477
+ }
2478
+
2479
+ if (!is_property_present.value())
2123
2480
  {
2124
2481
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2125
2482
  return -1;
@@ -2141,7 +2498,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
2141
2498
  {
2142
2499
  try
2143
2500
  {
2144
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"Description"))
2501
+ static std::optional<bool> is_property_present{};
2502
+
2503
+ if (!is_property_present.has_value())
2504
+ {
2505
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"Description");
2506
+ }
2507
+
2508
+ if (!is_property_present.value())
2145
2509
  {
2146
2510
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2147
2511
  return nullptr;
@@ -2166,7 +2530,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
2166
2530
 
2167
2531
  try
2168
2532
  {
2169
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"Description"))
2533
+ static std::optional<bool> is_property_present{};
2534
+
2535
+ if (!is_property_present.has_value())
2536
+ {
2537
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"Description");
2538
+ }
2539
+
2540
+ if (!is_property_present.value())
2170
2541
  {
2171
2542
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2172
2543
  return -1;
@@ -2188,7 +2559,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
2188
2559
  {
2189
2560
  try
2190
2561
  {
2191
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"Content"))
2562
+ static std::optional<bool> is_property_present{};
2563
+
2564
+ if (!is_property_present.has_value())
2565
+ {
2566
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"Content");
2567
+ }
2568
+
2569
+ if (!is_property_present.value())
2192
2570
  {
2193
2571
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2194
2572
  return nullptr;
@@ -2213,7 +2591,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
2213
2591
 
2214
2592
  try
2215
2593
  {
2216
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"Content"))
2594
+ static std::optional<bool> is_property_present{};
2595
+
2596
+ if (!is_property_present.has_value())
2597
+ {
2598
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"Content");
2599
+ }
2600
+
2601
+ if (!is_property_present.value())
2217
2602
  {
2218
2603
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2219
2604
  return -1;
@@ -2235,7 +2620,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
2235
2620
  {
2236
2621
  try
2237
2622
  {
2238
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"BackgroundColor"))
2623
+ static std::optional<bool> is_property_present{};
2624
+
2625
+ if (!is_property_present.has_value())
2626
+ {
2627
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"BackgroundColor");
2628
+ }
2629
+
2630
+ if (!is_property_present.value())
2239
2631
  {
2240
2632
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2241
2633
  return nullptr;
@@ -2260,7 +2652,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
2260
2652
 
2261
2653
  try
2262
2654
  {
2263
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"BackgroundColor"))
2655
+ static std::optional<bool> is_property_present{};
2656
+
2657
+ if (!is_property_present.has_value())
2658
+ {
2659
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"BackgroundColor");
2660
+ }
2661
+
2662
+ if (!is_property_present.value())
2264
2663
  {
2265
2664
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2266
2665
  return -1;
@@ -2282,7 +2681,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
2282
2681
  {
2283
2682
  try
2284
2683
  {
2285
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"Attribution"))
2684
+ static std::optional<bool> is_property_present{};
2685
+
2686
+ if (!is_property_present.has_value())
2687
+ {
2688
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"Attribution");
2689
+ }
2690
+
2691
+ if (!is_property_present.value())
2286
2692
  {
2287
2693
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2288
2694
  return nullptr;
@@ -2307,7 +2713,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
2307
2713
 
2308
2714
  try
2309
2715
  {
2310
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"Attribution"))
2716
+ static std::optional<bool> is_property_present{};
2717
+
2718
+ if (!is_property_present.has_value())
2719
+ {
2720
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"Attribution");
2721
+ }
2722
+
2723
+ if (!is_property_present.value())
2311
2724
  {
2312
2725
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2313
2726
  return -1;
@@ -2329,7 +2742,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
2329
2742
  {
2330
2743
  try
2331
2744
  {
2332
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"AttributionDisplayText"))
2745
+ static std::optional<bool> is_property_present{};
2746
+
2747
+ if (!is_property_present.has_value())
2748
+ {
2749
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"AttributionDisplayText");
2750
+ }
2751
+
2752
+ if (!is_property_present.value())
2333
2753
  {
2334
2754
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2335
2755
  return nullptr;
@@ -2354,7 +2774,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
2354
2774
 
2355
2775
  try
2356
2776
  {
2357
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"AttributionDisplayText"))
2777
+ static std::optional<bool> is_property_present{};
2778
+
2779
+ if (!is_property_present.has_value())
2780
+ {
2781
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserActivities.UserActivityVisualElements", L"AttributionDisplayText");
2782
+ }
2783
+
2784
+ if (!is_property_present.value())
2358
2785
  {
2359
2786
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2360
2787
  return -1;
@@ -2452,7 +2879,14 @@ namespace py::cpp::Windows::ApplicationModel::UserActivities
2452
2879
  {
2453
2880
  try
2454
2881
  {
2455
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.IUserActivityContentInfo", L"ToJson", 0))
2882
+ static std::optional<bool> is_overload_present{};
2883
+
2884
+ if (!is_overload_present.has_value())
2885
+ {
2886
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserActivities.IUserActivityContentInfo", L"ToJson", 0);
2887
+ }
2888
+
2889
+ if (!is_overload_present.value())
2456
2890
  {
2457
2891
  py::set_arg_count_version_error(0);
2458
2892
  return nullptr;
@@ -2574,12 +3008,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_useractivities(void) noexc
2574
3008
  return nullptr;
2575
3009
  }
2576
3010
 
2577
- if (py::register_python_type(module.get(), &type_spec_UserActivity, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_UserActivity_Static.get())) == -1)
3011
+ py::pytype_handle UserActivity_type{py::register_python_type(module.get(), &type_spec_UserActivity, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_UserActivity_Static.get()))};
3012
+ if (!UserActivity_type)
2578
3013
  {
2579
3014
  return nullptr;
2580
3015
  }
2581
3016
 
2582
- if (py::register_python_type(module.get(), &type_spec_UserActivityAttribution, object_bases.get(), nullptr) == -1)
3017
+ py::pytype_handle UserActivityAttribution_type{py::register_python_type(module.get(), &type_spec_UserActivityAttribution, object_bases.get(), nullptr)};
3018
+ if (!UserActivityAttribution_type)
2583
3019
  {
2584
3020
  return nullptr;
2585
3021
  }
@@ -2590,7 +3026,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_useractivities(void) noexc
2590
3026
  return nullptr;
2591
3027
  }
2592
3028
 
2593
- if (py::register_python_type(module.get(), &type_spec_UserActivityChannel, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_UserActivityChannel_Static.get())) == -1)
3029
+ py::pytype_handle UserActivityChannel_type{py::register_python_type(module.get(), &type_spec_UserActivityChannel, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_UserActivityChannel_Static.get()))};
3030
+ if (!UserActivityChannel_type)
2594
3031
  {
2595
3032
  return nullptr;
2596
3033
  }
@@ -2601,12 +3038,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_useractivities(void) noexc
2601
3038
  return nullptr;
2602
3039
  }
2603
3040
 
2604
- if (py::register_python_type(module.get(), &type_spec_UserActivityContentInfo, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_UserActivityContentInfo_Static.get())) == -1)
3041
+ py::pytype_handle UserActivityContentInfo_type{py::register_python_type(module.get(), &type_spec_UserActivityContentInfo, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_UserActivityContentInfo_Static.get()))};
3042
+ if (!UserActivityContentInfo_type)
2605
3043
  {
2606
3044
  return nullptr;
2607
3045
  }
2608
3046
 
2609
- if (py::register_python_type(module.get(), &type_spec_UserActivityRequest, object_bases.get(), nullptr) == -1)
3047
+ py::pytype_handle UserActivityRequest_type{py::register_python_type(module.get(), &type_spec_UserActivityRequest, object_bases.get(), nullptr)};
3048
+ if (!UserActivityRequest_type)
2610
3049
  {
2611
3050
  return nullptr;
2612
3051
  }
@@ -2617,32 +3056,38 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_useractivities(void) noexc
2617
3056
  return nullptr;
2618
3057
  }
2619
3058
 
2620
- if (py::register_python_type(module.get(), &type_spec_UserActivityRequestManager, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_UserActivityRequestManager_Static.get())) == -1)
3059
+ py::pytype_handle UserActivityRequestManager_type{py::register_python_type(module.get(), &type_spec_UserActivityRequestManager, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_UserActivityRequestManager_Static.get()))};
3060
+ if (!UserActivityRequestManager_type)
2621
3061
  {
2622
3062
  return nullptr;
2623
3063
  }
2624
3064
 
2625
- if (py::register_python_type(module.get(), &type_spec_UserActivityRequestedEventArgs, object_bases.get(), nullptr) == -1)
3065
+ py::pytype_handle UserActivityRequestedEventArgs_type{py::register_python_type(module.get(), &type_spec_UserActivityRequestedEventArgs, object_bases.get(), nullptr)};
3066
+ if (!UserActivityRequestedEventArgs_type)
2626
3067
  {
2627
3068
  return nullptr;
2628
3069
  }
2629
3070
 
2630
- if (py::register_python_type(module.get(), &type_spec_UserActivitySession, object_bases.get(), nullptr) == -1)
3071
+ py::pytype_handle UserActivitySession_type{py::register_python_type(module.get(), &type_spec_UserActivitySession, object_bases.get(), nullptr)};
3072
+ if (!UserActivitySession_type)
2631
3073
  {
2632
3074
  return nullptr;
2633
3075
  }
2634
3076
 
2635
- if (py::register_python_type(module.get(), &type_spec_UserActivitySessionHistoryItem, object_bases.get(), nullptr) == -1)
3077
+ py::pytype_handle UserActivitySessionHistoryItem_type{py::register_python_type(module.get(), &type_spec_UserActivitySessionHistoryItem, object_bases.get(), nullptr)};
3078
+ if (!UserActivitySessionHistoryItem_type)
2636
3079
  {
2637
3080
  return nullptr;
2638
3081
  }
2639
3082
 
2640
- if (py::register_python_type(module.get(), &type_spec_UserActivityVisualElements, object_bases.get(), nullptr) == -1)
3083
+ py::pytype_handle UserActivityVisualElements_type{py::register_python_type(module.get(), &type_spec_UserActivityVisualElements, object_bases.get(), nullptr)};
3084
+ if (!UserActivityVisualElements_type)
2641
3085
  {
2642
3086
  return nullptr;
2643
3087
  }
2644
3088
 
2645
- if (py::register_python_type(module.get(), &type_spec_IUserActivityContentInfo, object_bases.get(), nullptr) == -1)
3089
+ py::pytype_handle IUserActivityContentInfo_type{py::register_python_type(module.get(), &type_spec_IUserActivityContentInfo, object_bases.get(), nullptr)};
3090
+ if (!IUserActivityContentInfo_type)
2646
3091
  {
2647
3092
  return nullptr;
2648
3093
  }
@@ -16,7 +16,7 @@ classifiers = [
16
16
  "Intended Audience :: Developers",
17
17
  ]
18
18
  dynamic = ["version", "dependencies", "optional-dependencies"]
19
- requires-python = ">=3.9,<3.13"
19
+ requires-python = ">=3.9,<3.14"
20
20
 
21
21
  [project.urls]
22
22
  # Homepage = "https://github.com/pywinrt/pywinrt"
@@ -36,7 +36,8 @@ optional-dependencies.all = { file = "all-requirements.txt" }
36
36
  # use local winrt-sdk build dependency
37
37
  environment = { PYTHONPATH="../winrt-sdk/src" }
38
38
  # don't install winrt-sdk from PyPI
39
- build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
39
+ build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
40
+ before-build = "uv pip install setuptools"
40
41
  # don't build for PyPy
41
42
  skip = "pp*"
42
43
  # suppress warnings about ARM64 testing
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
- winrt-runtime==2.1.0
3
+ winrt-runtime==2.2.0
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
3
  import enum
4
4
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.UserActivities
3
- Version: 2.1.0
3
+ Version: 2.2.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -10,16 +10,16 @@ Classifier: Operating System :: Microsoft :: Windows
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
- Requires-Python: <3.13,>=3.9
13
+ Requires-Python: <3.14,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.1.0
15
+ Requires-Dist: winrt-runtime==2.2.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
19
- Requires-Dist: winrt-Windows.Security.Credentials[all]==2.1.0; extra == "all"
20
- Requires-Dist: winrt-Windows.System[all]==2.1.0; extra == "all"
21
- Requires-Dist: winrt-Windows.UI[all]==2.1.0; extra == "all"
22
- Requires-Dist: winrt-Windows.UI.Shell[all]==2.1.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Security.Credentials[all]==2.2.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.System[all]==2.2.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.UI[all]==2.2.0; extra == "all"
22
+ Requires-Dist: winrt-Windows.UI.Shell[all]==2.2.0; extra == "all"
23
23
 
24
24
  <!-- warning: Please don't edit this file. It was automatically generated. -->
25
25
 
@@ -0,0 +1,9 @@
1
+ winrt-runtime==2.2.0
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==2.2.0
5
+ winrt-Windows.Foundation.Collections[all]==2.2.0
6
+ winrt-Windows.Security.Credentials[all]==2.2.0
7
+ winrt-Windows.System[all]==2.2.0
8
+ winrt-Windows.UI[all]==2.2.0
9
+ winrt-Windows.UI.Shell[all]==2.2.0
@@ -1,8 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
-
3
- winrt-Windows.Foundation[all]==2.1.0
4
- winrt-Windows.Foundation.Collections[all]==2.1.0
5
- winrt-Windows.Security.Credentials[all]==2.1.0
6
- winrt-Windows.System[all]==2.1.0
7
- winrt-Windows.UI[all]==2.1.0
8
- winrt-Windows.UI.Shell[all]==2.1.0
@@ -1,9 +0,0 @@
1
- winrt-runtime==2.1.0
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.1.0
5
- winrt-Windows.Foundation.Collections[all]==2.1.0
6
- winrt-Windows.Security.Credentials[all]==2.1.0
7
- winrt-Windows.System[all]==2.1.0
8
- winrt-Windows.UI[all]==2.1.0
9
- winrt-Windows.UI.Shell[all]==2.1.0