winrt-Windows.ApplicationModel.AppService 2.1.0__tar.gz → 2.3.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.
- {winrt_windows_applicationmodel_appservice-2.1.0 → winrt_windows_applicationmodel_appservice-2.3.0}/PKG-INFO +8 -8
- winrt_windows_applicationmodel_appservice-2.3.0/all-requirements.txt +7 -0
- {winrt_windows_applicationmodel_appservice-2.1.0 → winrt_windows_applicationmodel_appservice-2.3.0}/py.Windows.ApplicationModel.AppService.cpp +276 -43
- {winrt_windows_applicationmodel_appservice-2.1.0 → winrt_windows_applicationmodel_appservice-2.3.0}/pyproject.toml +3 -2
- winrt_windows_applicationmodel_appservice-2.3.0/pywinrt-version.txt +1 -0
- {winrt_windows_applicationmodel_appservice-2.1.0 → winrt_windows_applicationmodel_appservice-2.3.0}/requirements.txt +2 -2
- {winrt_windows_applicationmodel_appservice-2.1.0 → winrt_windows_applicationmodel_appservice-2.3.0}/winrt/_winrt_windows_applicationmodel_appservice.pyi +1 -1
- {winrt_windows_applicationmodel_appservice-2.1.0 → winrt_windows_applicationmodel_appservice-2.3.0}/winrt/windows/applicationmodel/appservice/__init__.py +1 -1
- {winrt_windows_applicationmodel_appservice-2.1.0 → winrt_windows_applicationmodel_appservice-2.3.0}/winrt_Windows.ApplicationModel.AppService.egg-info/PKG-INFO +8 -8
- winrt_windows_applicationmodel_appservice-2.3.0/winrt_Windows.ApplicationModel.AppService.egg-info/requires.txt +8 -0
- winrt_windows_applicationmodel_appservice-2.1.0/all-requirements.txt +0 -7
- winrt_windows_applicationmodel_appservice-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_applicationmodel_appservice-2.1.0/winrt_Windows.ApplicationModel.AppService.egg-info/requires.txt +0 -8
- {winrt_windows_applicationmodel_appservice-2.1.0 → winrt_windows_applicationmodel_appservice-2.3.0}/README.md +0 -0
- {winrt_windows_applicationmodel_appservice-2.1.0 → winrt_windows_applicationmodel_appservice-2.3.0}/setup.cfg +0 -0
- {winrt_windows_applicationmodel_appservice-2.1.0 → winrt_windows_applicationmodel_appservice-2.3.0}/setup.py +0 -0
- {winrt_windows_applicationmodel_appservice-2.1.0 → winrt_windows_applicationmodel_appservice-2.3.0}/winrt/windows/applicationmodel/appservice/py.typed +0 -0
- {winrt_windows_applicationmodel_appservice-2.1.0 → winrt_windows_applicationmodel_appservice-2.3.0}/winrt_Windows.ApplicationModel.AppService.egg-info/SOURCES.txt +0 -0
- {winrt_windows_applicationmodel_appservice-2.1.0 → winrt_windows_applicationmodel_appservice-2.3.0}/winrt_Windows.ApplicationModel.AppService.egg-info/dependency_links.txt +0 -0
- {winrt_windows_applicationmodel_appservice-2.1.0 → winrt_windows_applicationmodel_appservice-2.3.0}/winrt_Windows.ApplicationModel.AppService.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.AppService
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.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,15 +10,15 @@ 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
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.3.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
20
|
-
Requires-Dist: winrt-Windows.System[all]==2.
|
|
21
|
-
Requires-Dist: winrt-Windows.System.RemoteSystems[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel[all]==2.3.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.System[all]==2.3.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.System.RemoteSystems[all]==2.3.0; extra == "all"
|
|
22
22
|
|
|
23
23
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
24
24
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
|
+
|
|
3
|
+
winrt-Windows.ApplicationModel[all]==2.3.0
|
|
4
|
+
winrt-Windows.Foundation[all]==2.3.0
|
|
5
|
+
winrt-Windows.Foundation.Collections[all]==2.3.0
|
|
6
|
+
winrt-Windows.System[all]==2.3.0
|
|
7
|
+
winrt-Windows.System.RemoteSystems[all]==2.3.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.ApplicationModel.AppService.h"
|
|
4
4
|
|
|
@@ -21,7 +21,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
21
21
|
{
|
|
22
22
|
try
|
|
23
23
|
{
|
|
24
|
-
|
|
24
|
+
static std::optional<bool> is_overload_present{};
|
|
25
|
+
|
|
26
|
+
if (!is_overload_present.has_value())
|
|
27
|
+
{
|
|
28
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceCatalog", L"FindAppServiceProvidersAsync", 1);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
if (!is_overload_present.value())
|
|
25
32
|
{
|
|
26
33
|
py::set_arg_count_version_error(1);
|
|
27
34
|
return nullptr;
|
|
@@ -113,7 +120,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
113
120
|
{
|
|
114
121
|
try
|
|
115
122
|
{
|
|
116
|
-
|
|
123
|
+
static std::optional<bool> is_property_present{};
|
|
124
|
+
|
|
125
|
+
if (!is_property_present.has_value())
|
|
126
|
+
{
|
|
127
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceClosedEventArgs", L"Status");
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
if (!is_property_present.value())
|
|
117
131
|
{
|
|
118
132
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
119
133
|
return nullptr;
|
|
@@ -193,7 +207,7 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
193
207
|
{
|
|
194
208
|
try
|
|
195
209
|
{
|
|
196
|
-
winrt::Windows::ApplicationModel::AppService::AppServiceConnection instance{
|
|
210
|
+
winrt::Windows::ApplicationModel::AppService::AppServiceConnection instance{};
|
|
197
211
|
return py::wrap(instance, type);
|
|
198
212
|
}
|
|
199
213
|
catch (...)
|
|
@@ -225,7 +239,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
225
239
|
{
|
|
226
240
|
try
|
|
227
241
|
{
|
|
228
|
-
|
|
242
|
+
static std::optional<bool> is_overload_present{};
|
|
243
|
+
|
|
244
|
+
if (!is_overload_present.has_value())
|
|
245
|
+
{
|
|
246
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"Close", 0);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
if (!is_overload_present.value())
|
|
229
250
|
{
|
|
230
251
|
py::set_arg_count_version_error(0);
|
|
231
252
|
return nullptr;
|
|
@@ -255,7 +276,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
255
276
|
{
|
|
256
277
|
try
|
|
257
278
|
{
|
|
258
|
-
|
|
279
|
+
static std::optional<bool> is_overload_present{};
|
|
280
|
+
|
|
281
|
+
if (!is_overload_present.has_value())
|
|
282
|
+
{
|
|
283
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"OpenAsync", 0);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
if (!is_overload_present.value())
|
|
259
287
|
{
|
|
260
288
|
py::set_arg_count_version_error(0);
|
|
261
289
|
return nullptr;
|
|
@@ -284,7 +312,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
284
312
|
{
|
|
285
313
|
try
|
|
286
314
|
{
|
|
287
|
-
|
|
315
|
+
static std::optional<bool> is_overload_present{};
|
|
316
|
+
|
|
317
|
+
if (!is_overload_present.has_value())
|
|
318
|
+
{
|
|
319
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"OpenRemoteAsync", 1);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
if (!is_overload_present.value())
|
|
288
323
|
{
|
|
289
324
|
py::set_arg_count_version_error(1);
|
|
290
325
|
return nullptr;
|
|
@@ -315,7 +350,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
315
350
|
{
|
|
316
351
|
try
|
|
317
352
|
{
|
|
318
|
-
|
|
353
|
+
static std::optional<bool> is_overload_present{};
|
|
354
|
+
|
|
355
|
+
if (!is_overload_present.has_value())
|
|
356
|
+
{
|
|
357
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"SendMessageAsync", 1);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
if (!is_overload_present.value())
|
|
319
361
|
{
|
|
320
362
|
py::set_arg_count_version_error(1);
|
|
321
363
|
return nullptr;
|
|
@@ -346,7 +388,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
346
388
|
{
|
|
347
389
|
try
|
|
348
390
|
{
|
|
349
|
-
|
|
391
|
+
static std::optional<bool> is_overload_present{};
|
|
392
|
+
|
|
393
|
+
if (!is_overload_present.has_value())
|
|
394
|
+
{
|
|
395
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"SendStatelessMessageAsync", 3);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
if (!is_overload_present.value())
|
|
350
399
|
{
|
|
351
400
|
py::set_arg_count_version_error(3);
|
|
352
401
|
return nullptr;
|
|
@@ -375,7 +424,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
375
424
|
{
|
|
376
425
|
try
|
|
377
426
|
{
|
|
378
|
-
|
|
427
|
+
static std::optional<bool> is_property_present{};
|
|
428
|
+
|
|
429
|
+
if (!is_property_present.has_value())
|
|
430
|
+
{
|
|
431
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"PackageFamilyName");
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
if (!is_property_present.value())
|
|
379
435
|
{
|
|
380
436
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
381
437
|
return nullptr;
|
|
@@ -400,7 +456,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
400
456
|
|
|
401
457
|
try
|
|
402
458
|
{
|
|
403
|
-
|
|
459
|
+
static std::optional<bool> is_property_present{};
|
|
460
|
+
|
|
461
|
+
if (!is_property_present.has_value())
|
|
462
|
+
{
|
|
463
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"PackageFamilyName");
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
if (!is_property_present.value())
|
|
404
467
|
{
|
|
405
468
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
406
469
|
return -1;
|
|
@@ -422,7 +485,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
422
485
|
{
|
|
423
486
|
try
|
|
424
487
|
{
|
|
425
|
-
|
|
488
|
+
static std::optional<bool> is_property_present{};
|
|
489
|
+
|
|
490
|
+
if (!is_property_present.has_value())
|
|
491
|
+
{
|
|
492
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"AppServiceName");
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
if (!is_property_present.value())
|
|
426
496
|
{
|
|
427
497
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
428
498
|
return nullptr;
|
|
@@ -447,7 +517,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
447
517
|
|
|
448
518
|
try
|
|
449
519
|
{
|
|
450
|
-
|
|
520
|
+
static std::optional<bool> is_property_present{};
|
|
521
|
+
|
|
522
|
+
if (!is_property_present.has_value())
|
|
523
|
+
{
|
|
524
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"AppServiceName");
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
if (!is_property_present.value())
|
|
451
528
|
{
|
|
452
529
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
453
530
|
return -1;
|
|
@@ -469,7 +546,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
469
546
|
{
|
|
470
547
|
try
|
|
471
548
|
{
|
|
472
|
-
|
|
549
|
+
static std::optional<bool> is_property_present{};
|
|
550
|
+
|
|
551
|
+
if (!is_property_present.has_value())
|
|
552
|
+
{
|
|
553
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"User");
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
if (!is_property_present.value())
|
|
473
557
|
{
|
|
474
558
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
475
559
|
return nullptr;
|
|
@@ -494,7 +578,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
494
578
|
|
|
495
579
|
try
|
|
496
580
|
{
|
|
497
|
-
|
|
581
|
+
static std::optional<bool> is_property_present{};
|
|
582
|
+
|
|
583
|
+
if (!is_property_present.has_value())
|
|
584
|
+
{
|
|
585
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"User");
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
if (!is_property_present.value())
|
|
498
589
|
{
|
|
499
590
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
500
591
|
return -1;
|
|
@@ -516,7 +607,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
516
607
|
{
|
|
517
608
|
try
|
|
518
609
|
{
|
|
519
|
-
|
|
610
|
+
static std::optional<bool> is_event_present{};
|
|
611
|
+
|
|
612
|
+
if (!is_event_present.has_value())
|
|
613
|
+
{
|
|
614
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"RequestReceived");
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
if (!is_event_present.value())
|
|
520
618
|
{
|
|
521
619
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
522
620
|
return nullptr;
|
|
@@ -537,7 +635,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
537
635
|
{
|
|
538
636
|
try
|
|
539
637
|
{
|
|
540
|
-
|
|
638
|
+
static std::optional<bool> is_event_present{};
|
|
639
|
+
|
|
640
|
+
if (!is_event_present.has_value())
|
|
641
|
+
{
|
|
642
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"RequestReceived");
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
if (!is_event_present.value())
|
|
541
646
|
{
|
|
542
647
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
543
648
|
return nullptr;
|
|
@@ -559,7 +664,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
559
664
|
{
|
|
560
665
|
try
|
|
561
666
|
{
|
|
562
|
-
|
|
667
|
+
static std::optional<bool> is_event_present{};
|
|
668
|
+
|
|
669
|
+
if (!is_event_present.has_value())
|
|
670
|
+
{
|
|
671
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"ServiceClosed");
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
if (!is_event_present.value())
|
|
563
675
|
{
|
|
564
676
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
565
677
|
return nullptr;
|
|
@@ -580,7 +692,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
580
692
|
{
|
|
581
693
|
try
|
|
582
694
|
{
|
|
583
|
-
|
|
695
|
+
static std::optional<bool> is_event_present{};
|
|
696
|
+
|
|
697
|
+
if (!is_event_present.has_value())
|
|
698
|
+
{
|
|
699
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"ServiceClosed");
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
if (!is_event_present.value())
|
|
584
703
|
{
|
|
585
704
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
586
705
|
return nullptr;
|
|
@@ -730,7 +849,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
730
849
|
{
|
|
731
850
|
try
|
|
732
851
|
{
|
|
733
|
-
|
|
852
|
+
static std::optional<bool> is_overload_present{};
|
|
853
|
+
|
|
854
|
+
if (!is_overload_present.has_value())
|
|
855
|
+
{
|
|
856
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceDeferral", L"Complete", 0);
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
if (!is_overload_present.value())
|
|
734
860
|
{
|
|
735
861
|
py::set_arg_count_version_error(0);
|
|
736
862
|
return nullptr;
|
|
@@ -827,7 +953,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
827
953
|
{
|
|
828
954
|
try
|
|
829
955
|
{
|
|
830
|
-
|
|
956
|
+
static std::optional<bool> is_overload_present{};
|
|
957
|
+
|
|
958
|
+
if (!is_overload_present.has_value())
|
|
959
|
+
{
|
|
960
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceRequest", L"SendResponseAsync", 1);
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
if (!is_overload_present.value())
|
|
831
964
|
{
|
|
832
965
|
py::set_arg_count_version_error(1);
|
|
833
966
|
return nullptr;
|
|
@@ -854,7 +987,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
854
987
|
{
|
|
855
988
|
try
|
|
856
989
|
{
|
|
857
|
-
|
|
990
|
+
static std::optional<bool> is_property_present{};
|
|
991
|
+
|
|
992
|
+
if (!is_property_present.has_value())
|
|
993
|
+
{
|
|
994
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceRequest", L"Message");
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
if (!is_property_present.value())
|
|
858
998
|
{
|
|
859
999
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
860
1000
|
return nullptr;
|
|
@@ -945,7 +1085,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
945
1085
|
{
|
|
946
1086
|
try
|
|
947
1087
|
{
|
|
948
|
-
|
|
1088
|
+
static std::optional<bool> is_overload_present{};
|
|
1089
|
+
|
|
1090
|
+
if (!is_overload_present.has_value())
|
|
1091
|
+
{
|
|
1092
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceRequestReceivedEventArgs", L"GetDeferral", 0);
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
if (!is_overload_present.value())
|
|
949
1096
|
{
|
|
950
1097
|
py::set_arg_count_version_error(0);
|
|
951
1098
|
return nullptr;
|
|
@@ -970,7 +1117,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
970
1117
|
{
|
|
971
1118
|
try
|
|
972
1119
|
{
|
|
973
|
-
|
|
1120
|
+
static std::optional<bool> is_property_present{};
|
|
1121
|
+
|
|
1122
|
+
if (!is_property_present.has_value())
|
|
1123
|
+
{
|
|
1124
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceRequestReceivedEventArgs", L"Request");
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
if (!is_property_present.value())
|
|
974
1128
|
{
|
|
975
1129
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
976
1130
|
return nullptr;
|
|
@@ -1057,7 +1211,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
1057
1211
|
{
|
|
1058
1212
|
try
|
|
1059
1213
|
{
|
|
1060
|
-
|
|
1214
|
+
static std::optional<bool> is_property_present{};
|
|
1215
|
+
|
|
1216
|
+
if (!is_property_present.has_value())
|
|
1217
|
+
{
|
|
1218
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceResponse", L"Message");
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
if (!is_property_present.value())
|
|
1061
1222
|
{
|
|
1062
1223
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1063
1224
|
return nullptr;
|
|
@@ -1076,7 +1237,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
1076
1237
|
{
|
|
1077
1238
|
try
|
|
1078
1239
|
{
|
|
1079
|
-
|
|
1240
|
+
static std::optional<bool> is_property_present{};
|
|
1241
|
+
|
|
1242
|
+
if (!is_property_present.has_value())
|
|
1243
|
+
{
|
|
1244
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceResponse", L"Status");
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
if (!is_property_present.value())
|
|
1080
1248
|
{
|
|
1081
1249
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1082
1250
|
return nullptr;
|
|
@@ -1167,7 +1335,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
1167
1335
|
{
|
|
1168
1336
|
try
|
|
1169
1337
|
{
|
|
1170
|
-
|
|
1338
|
+
static std::optional<bool> is_overload_present{};
|
|
1339
|
+
|
|
1340
|
+
if (!is_overload_present.has_value())
|
|
1341
|
+
{
|
|
1342
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceTriggerDetails", L"CheckCallerForCapabilityAsync", 1);
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
if (!is_overload_present.value())
|
|
1171
1346
|
{
|
|
1172
1347
|
py::set_arg_count_version_error(1);
|
|
1173
1348
|
return nullptr;
|
|
@@ -1194,7 +1369,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
1194
1369
|
{
|
|
1195
1370
|
try
|
|
1196
1371
|
{
|
|
1197
|
-
|
|
1372
|
+
static std::optional<bool> is_property_present{};
|
|
1373
|
+
|
|
1374
|
+
if (!is_property_present.has_value())
|
|
1375
|
+
{
|
|
1376
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceTriggerDetails", L"AppServiceConnection");
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
if (!is_property_present.value())
|
|
1198
1380
|
{
|
|
1199
1381
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1200
1382
|
return nullptr;
|
|
@@ -1213,7 +1395,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
1213
1395
|
{
|
|
1214
1396
|
try
|
|
1215
1397
|
{
|
|
1216
|
-
|
|
1398
|
+
static std::optional<bool> is_property_present{};
|
|
1399
|
+
|
|
1400
|
+
if (!is_property_present.has_value())
|
|
1401
|
+
{
|
|
1402
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceTriggerDetails", L"CallerPackageFamilyName");
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
if (!is_property_present.value())
|
|
1217
1406
|
{
|
|
1218
1407
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1219
1408
|
return nullptr;
|
|
@@ -1232,7 +1421,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
1232
1421
|
{
|
|
1233
1422
|
try
|
|
1234
1423
|
{
|
|
1235
|
-
|
|
1424
|
+
static std::optional<bool> is_property_present{};
|
|
1425
|
+
|
|
1426
|
+
if (!is_property_present.has_value())
|
|
1427
|
+
{
|
|
1428
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceTriggerDetails", L"Name");
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
if (!is_property_present.value())
|
|
1236
1432
|
{
|
|
1237
1433
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1238
1434
|
return nullptr;
|
|
@@ -1251,7 +1447,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
1251
1447
|
{
|
|
1252
1448
|
try
|
|
1253
1449
|
{
|
|
1254
|
-
|
|
1450
|
+
static std::optional<bool> is_property_present{};
|
|
1451
|
+
|
|
1452
|
+
if (!is_property_present.has_value())
|
|
1453
|
+
{
|
|
1454
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceTriggerDetails", L"IsRemoteSystemConnection");
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
if (!is_property_present.value())
|
|
1255
1458
|
{
|
|
1256
1459
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1257
1460
|
return nullptr;
|
|
@@ -1270,7 +1473,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
1270
1473
|
{
|
|
1271
1474
|
try
|
|
1272
1475
|
{
|
|
1273
|
-
|
|
1476
|
+
static std::optional<bool> is_property_present{};
|
|
1477
|
+
|
|
1478
|
+
if (!is_property_present.has_value())
|
|
1479
|
+
{
|
|
1480
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceTriggerDetails", L"CallerRemoteConnectionToken");
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
if (!is_property_present.value())
|
|
1274
1484
|
{
|
|
1275
1485
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1276
1486
|
return nullptr;
|
|
@@ -1361,7 +1571,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
1361
1571
|
{
|
|
1362
1572
|
try
|
|
1363
1573
|
{
|
|
1364
|
-
|
|
1574
|
+
static std::optional<bool> is_property_present{};
|
|
1575
|
+
|
|
1576
|
+
if (!is_property_present.has_value())
|
|
1577
|
+
{
|
|
1578
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.StatelessAppServiceResponse", L"Message");
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
if (!is_property_present.value())
|
|
1365
1582
|
{
|
|
1366
1583
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1367
1584
|
return nullptr;
|
|
@@ -1380,7 +1597,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
|
|
|
1380
1597
|
{
|
|
1381
1598
|
try
|
|
1382
1599
|
{
|
|
1383
|
-
|
|
1600
|
+
static std::optional<bool> is_property_present{};
|
|
1601
|
+
|
|
1602
|
+
if (!is_property_present.has_value())
|
|
1603
|
+
{
|
|
1604
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.StatelessAppServiceResponse", L"Status");
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
if (!is_property_present.value())
|
|
1384
1608
|
{
|
|
1385
1609
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1386
1610
|
return nullptr;
|
|
@@ -1497,12 +1721,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_appservice(void) noexcept
|
|
|
1497
1721
|
return nullptr;
|
|
1498
1722
|
}
|
|
1499
1723
|
|
|
1500
|
-
|
|
1724
|
+
py::pytype_handle AppServiceCatalog_type{py::register_python_type(module.get(), &type_spec_AppServiceCatalog, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_AppServiceCatalog_Static.get()))};
|
|
1725
|
+
if (!AppServiceCatalog_type)
|
|
1501
1726
|
{
|
|
1502
1727
|
return nullptr;
|
|
1503
1728
|
}
|
|
1504
1729
|
|
|
1505
|
-
|
|
1730
|
+
py::pytype_handle AppServiceClosedEventArgs_type{py::register_python_type(module.get(), &type_spec_AppServiceClosedEventArgs, object_bases.get(), nullptr)};
|
|
1731
|
+
if (!AppServiceClosedEventArgs_type)
|
|
1506
1732
|
{
|
|
1507
1733
|
return nullptr;
|
|
1508
1734
|
}
|
|
@@ -1513,37 +1739,44 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_appservice(void) noexcept
|
|
|
1513
1739
|
return nullptr;
|
|
1514
1740
|
}
|
|
1515
1741
|
|
|
1516
|
-
|
|
1742
|
+
py::pytype_handle AppServiceConnection_type{py::register_python_type(module.get(), &type_spec_AppServiceConnection, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_AppServiceConnection_Static.get()))};
|
|
1743
|
+
if (!AppServiceConnection_type)
|
|
1517
1744
|
{
|
|
1518
1745
|
return nullptr;
|
|
1519
1746
|
}
|
|
1520
1747
|
|
|
1521
|
-
|
|
1748
|
+
py::pytype_handle AppServiceDeferral_type{py::register_python_type(module.get(), &type_spec_AppServiceDeferral, object_bases.get(), nullptr)};
|
|
1749
|
+
if (!AppServiceDeferral_type)
|
|
1522
1750
|
{
|
|
1523
1751
|
return nullptr;
|
|
1524
1752
|
}
|
|
1525
1753
|
|
|
1526
|
-
|
|
1754
|
+
py::pytype_handle AppServiceRequest_type{py::register_python_type(module.get(), &type_spec_AppServiceRequest, object_bases.get(), nullptr)};
|
|
1755
|
+
if (!AppServiceRequest_type)
|
|
1527
1756
|
{
|
|
1528
1757
|
return nullptr;
|
|
1529
1758
|
}
|
|
1530
1759
|
|
|
1531
|
-
|
|
1760
|
+
py::pytype_handle AppServiceRequestReceivedEventArgs_type{py::register_python_type(module.get(), &type_spec_AppServiceRequestReceivedEventArgs, object_bases.get(), nullptr)};
|
|
1761
|
+
if (!AppServiceRequestReceivedEventArgs_type)
|
|
1532
1762
|
{
|
|
1533
1763
|
return nullptr;
|
|
1534
1764
|
}
|
|
1535
1765
|
|
|
1536
|
-
|
|
1766
|
+
py::pytype_handle AppServiceResponse_type{py::register_python_type(module.get(), &type_spec_AppServiceResponse, object_bases.get(), nullptr)};
|
|
1767
|
+
if (!AppServiceResponse_type)
|
|
1537
1768
|
{
|
|
1538
1769
|
return nullptr;
|
|
1539
1770
|
}
|
|
1540
1771
|
|
|
1541
|
-
|
|
1772
|
+
py::pytype_handle AppServiceTriggerDetails_type{py::register_python_type(module.get(), &type_spec_AppServiceTriggerDetails, object_bases.get(), nullptr)};
|
|
1773
|
+
if (!AppServiceTriggerDetails_type)
|
|
1542
1774
|
{
|
|
1543
1775
|
return nullptr;
|
|
1544
1776
|
}
|
|
1545
1777
|
|
|
1546
|
-
|
|
1778
|
+
py::pytype_handle StatelessAppServiceResponse_type{py::register_python_type(module.get(), &type_spec_StatelessAppServiceResponse, object_bases.get(), nullptr)};
|
|
1779
|
+
if (!StatelessAppServiceResponse_type)
|
|
1547
1780
|
{
|
|
1548
1781
|
return nullptr;
|
|
1549
1782
|
}
|
|
@@ -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.
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.3.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.3.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.AppService
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.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,15 +10,15 @@ 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
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.3.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
20
|
-
Requires-Dist: winrt-Windows.System[all]==2.
|
|
21
|
-
Requires-Dist: winrt-Windows.System.RemoteSystems[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel[all]==2.3.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.System[all]==2.3.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.System.RemoteSystems[all]==2.3.0; extra == "all"
|
|
22
22
|
|
|
23
23
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
24
24
|
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
|
-
|
|
3
|
-
winrt-Windows.ApplicationModel[all]==2.1.0
|
|
4
|
-
winrt-Windows.Foundation[all]==2.1.0
|
|
5
|
-
winrt-Windows.Foundation.Collections[all]==2.1.0
|
|
6
|
-
winrt-Windows.System[all]==2.1.0
|
|
7
|
-
winrt-Windows.System.RemoteSystems[all]==2.1.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.1.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|