winrt-Windows.ApplicationModel.AppExtensions 2.3.0__tar.gz → 3.0.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_appextensions-2.3.0 → winrt_windows_applicationmodel_appextensions-3.0.0}/PKG-INFO +7 -7
- winrt_windows_applicationmodel_appextensions-3.0.0/all-requirements.txt +6 -0
- {winrt_windows_applicationmodel_appextensions-2.3.0 → winrt_windows_applicationmodel_appextensions-3.0.0}/py.Windows.ApplicationModel.AppExtensions.cpp +239 -104
- {winrt_windows_applicationmodel_appextensions-2.3.0 → winrt_windows_applicationmodel_appextensions-3.0.0}/pyproject.toml +2 -2
- winrt_windows_applicationmodel_appextensions-3.0.0/pywinrt-version.txt +1 -0
- {winrt_windows_applicationmodel_appextensions-2.3.0 → winrt_windows_applicationmodel_appextensions-3.0.0}/requirements.txt +2 -2
- {winrt_windows_applicationmodel_appextensions-2.3.0 → winrt_windows_applicationmodel_appextensions-3.0.0}/setup.py +1 -1
- winrt_windows_applicationmodel_appextensions-3.0.0/winrt/_winrt_windows_applicationmodel_appextensions.pyi +134 -0
- winrt_windows_applicationmodel_appextensions-3.0.0/winrt/windows/applicationmodel/appextensions/__init__.py +23 -0
- {winrt_windows_applicationmodel_appextensions-2.3.0 → winrt_windows_applicationmodel_appextensions-3.0.0}/winrt_Windows.ApplicationModel.AppExtensions.egg-info/PKG-INFO +7 -7
- winrt_windows_applicationmodel_appextensions-3.0.0/winrt_Windows.ApplicationModel.AppExtensions.egg-info/requires.txt +7 -0
- winrt_windows_applicationmodel_appextensions-2.3.0/all-requirements.txt +0 -6
- winrt_windows_applicationmodel_appextensions-2.3.0/pywinrt-version.txt +0 -1
- winrt_windows_applicationmodel_appextensions-2.3.0/winrt/_winrt_windows_applicationmodel_appextensions.pyi +0 -111
- winrt_windows_applicationmodel_appextensions-2.3.0/winrt/windows/applicationmodel/appextensions/__init__.py +0 -22
- winrt_windows_applicationmodel_appextensions-2.3.0/winrt_Windows.ApplicationModel.AppExtensions.egg-info/requires.txt +0 -7
- {winrt_windows_applicationmodel_appextensions-2.3.0 → winrt_windows_applicationmodel_appextensions-3.0.0}/README.md +0 -0
- {winrt_windows_applicationmodel_appextensions-2.3.0 → winrt_windows_applicationmodel_appextensions-3.0.0}/setup.cfg +0 -0
- {winrt_windows_applicationmodel_appextensions-2.3.0 → winrt_windows_applicationmodel_appextensions-3.0.0}/winrt/windows/applicationmodel/appextensions/py.typed +0 -0
- {winrt_windows_applicationmodel_appextensions-2.3.0 → winrt_windows_applicationmodel_appextensions-3.0.0}/winrt_Windows.ApplicationModel.AppExtensions.egg-info/SOURCES.txt +0 -0
- {winrt_windows_applicationmodel_appextensions-2.3.0 → winrt_windows_applicationmodel_appextensions-3.0.0}/winrt_Windows.ApplicationModel.AppExtensions.egg-info/dependency_links.txt +0 -0
- {winrt_windows_applicationmodel_appextensions-2.3.0 → winrt_windows_applicationmodel_appextensions-3.0.0}/winrt_Windows.ApplicationModel.AppExtensions.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.AppExtensions
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.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,14 +10,14 @@ 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:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==
|
|
20
|
-
Requires-Dist: winrt-Windows.Storage[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel[all]==3.0.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.0.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.0.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage[all]==3.0.0; extra == "all"
|
|
21
21
|
|
|
22
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
23
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.ApplicationModel.AppExtensions.h"
|
|
4
4
|
|
|
@@ -23,7 +23,7 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
23
23
|
|
|
24
24
|
static PyObject* AppExtension_GetExtensionProperties(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtension* self, PyObject* args) noexcept
|
|
25
25
|
{
|
|
26
|
-
auto arg_count =
|
|
26
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
27
27
|
|
|
28
28
|
if (arg_count == 0)
|
|
29
29
|
{
|
|
@@ -42,7 +42,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
42
42
|
return nullptr;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
return py::convert(
|
|
45
|
+
return py::convert([&]()
|
|
46
|
+
{
|
|
47
|
+
auto _gil = release_gil();
|
|
48
|
+
return self->obj.GetExtensionProperties();
|
|
49
|
+
}());
|
|
46
50
|
}
|
|
47
51
|
catch (...)
|
|
48
52
|
{
|
|
@@ -59,7 +63,7 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
59
63
|
|
|
60
64
|
static PyObject* AppExtension_GetExtensionPropertiesAsync(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtension* self, PyObject* args) noexcept
|
|
61
65
|
{
|
|
62
|
-
auto arg_count =
|
|
66
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
63
67
|
|
|
64
68
|
if (arg_count == 0)
|
|
65
69
|
{
|
|
@@ -78,7 +82,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
78
82
|
return nullptr;
|
|
79
83
|
}
|
|
80
84
|
|
|
81
|
-
return py::convert(
|
|
85
|
+
return py::convert([&]()
|
|
86
|
+
{
|
|
87
|
+
auto _gil = release_gil();
|
|
88
|
+
return self->obj.GetExtensionPropertiesAsync();
|
|
89
|
+
}());
|
|
82
90
|
}
|
|
83
91
|
catch (...)
|
|
84
92
|
{
|
|
@@ -95,7 +103,7 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
95
103
|
|
|
96
104
|
static PyObject* AppExtension_GetPublicFolder(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtension* self, PyObject* args) noexcept
|
|
97
105
|
{
|
|
98
|
-
auto arg_count =
|
|
106
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
99
107
|
|
|
100
108
|
if (arg_count == 0)
|
|
101
109
|
{
|
|
@@ -114,7 +122,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
114
122
|
return nullptr;
|
|
115
123
|
}
|
|
116
124
|
|
|
117
|
-
return py::convert(
|
|
125
|
+
return py::convert([&]()
|
|
126
|
+
{
|
|
127
|
+
auto _gil = release_gil();
|
|
128
|
+
return self->obj.GetPublicFolder();
|
|
129
|
+
}());
|
|
118
130
|
}
|
|
119
131
|
catch (...)
|
|
120
132
|
{
|
|
@@ -131,7 +143,7 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
131
143
|
|
|
132
144
|
static PyObject* AppExtension_GetPublicFolderAsync(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtension* self, PyObject* args) noexcept
|
|
133
145
|
{
|
|
134
|
-
auto arg_count =
|
|
146
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
135
147
|
|
|
136
148
|
if (arg_count == 0)
|
|
137
149
|
{
|
|
@@ -150,7 +162,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
150
162
|
return nullptr;
|
|
151
163
|
}
|
|
152
164
|
|
|
153
|
-
return py::convert(
|
|
165
|
+
return py::convert([&]()
|
|
166
|
+
{
|
|
167
|
+
auto _gil = release_gil();
|
|
168
|
+
return self->obj.GetPublicFolderAsync();
|
|
169
|
+
}());
|
|
154
170
|
}
|
|
155
171
|
catch (...)
|
|
156
172
|
{
|
|
@@ -167,7 +183,7 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
167
183
|
|
|
168
184
|
static PyObject* AppExtension_GetPublicPath(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtension* self, PyObject* args) noexcept
|
|
169
185
|
{
|
|
170
|
-
auto arg_count =
|
|
186
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
171
187
|
|
|
172
188
|
if (arg_count == 0)
|
|
173
189
|
{
|
|
@@ -186,7 +202,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
186
202
|
return nullptr;
|
|
187
203
|
}
|
|
188
204
|
|
|
189
|
-
return py::convert(
|
|
205
|
+
return py::convert([&]()
|
|
206
|
+
{
|
|
207
|
+
auto _gil = release_gil();
|
|
208
|
+
return self->obj.GetPublicPath();
|
|
209
|
+
}());
|
|
190
210
|
}
|
|
191
211
|
catch (...)
|
|
192
212
|
{
|
|
@@ -218,7 +238,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
218
238
|
return nullptr;
|
|
219
239
|
}
|
|
220
240
|
|
|
221
|
-
return py::convert(
|
|
241
|
+
return py::convert([&]()
|
|
242
|
+
{
|
|
243
|
+
auto _gil = release_gil();
|
|
244
|
+
return self->obj.AppInfo();
|
|
245
|
+
}());
|
|
222
246
|
}
|
|
223
247
|
catch (...)
|
|
224
248
|
{
|
|
@@ -244,7 +268,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
244
268
|
return nullptr;
|
|
245
269
|
}
|
|
246
270
|
|
|
247
|
-
return py::convert(
|
|
271
|
+
return py::convert([&]()
|
|
272
|
+
{
|
|
273
|
+
auto _gil = release_gil();
|
|
274
|
+
return self->obj.Description();
|
|
275
|
+
}());
|
|
248
276
|
}
|
|
249
277
|
catch (...)
|
|
250
278
|
{
|
|
@@ -270,7 +298,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
270
298
|
return nullptr;
|
|
271
299
|
}
|
|
272
300
|
|
|
273
|
-
return py::convert(
|
|
301
|
+
return py::convert([&]()
|
|
302
|
+
{
|
|
303
|
+
auto _gil = release_gil();
|
|
304
|
+
return self->obj.DisplayName();
|
|
305
|
+
}());
|
|
274
306
|
}
|
|
275
307
|
catch (...)
|
|
276
308
|
{
|
|
@@ -296,7 +328,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
296
328
|
return nullptr;
|
|
297
329
|
}
|
|
298
330
|
|
|
299
|
-
return py::convert(
|
|
331
|
+
return py::convert([&]()
|
|
332
|
+
{
|
|
333
|
+
auto _gil = release_gil();
|
|
334
|
+
return self->obj.Id();
|
|
335
|
+
}());
|
|
300
336
|
}
|
|
301
337
|
catch (...)
|
|
302
338
|
{
|
|
@@ -322,7 +358,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
322
358
|
return nullptr;
|
|
323
359
|
}
|
|
324
360
|
|
|
325
|
-
return py::convert(
|
|
361
|
+
return py::convert([&]()
|
|
362
|
+
{
|
|
363
|
+
auto _gil = release_gil();
|
|
364
|
+
return self->obj.Package();
|
|
365
|
+
}());
|
|
326
366
|
}
|
|
327
367
|
catch (...)
|
|
328
368
|
{
|
|
@@ -348,7 +388,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
348
388
|
return nullptr;
|
|
349
389
|
}
|
|
350
390
|
|
|
351
|
-
return py::convert(
|
|
391
|
+
return py::convert([&]()
|
|
392
|
+
{
|
|
393
|
+
auto _gil = release_gil();
|
|
394
|
+
return self->obj.AppUserModelId();
|
|
395
|
+
}());
|
|
352
396
|
}
|
|
353
397
|
catch (...)
|
|
354
398
|
{
|
|
@@ -389,8 +433,7 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
389
433
|
{ "get_public_path", reinterpret_cast<PyCFunction>(AppExtension_GetPublicPath), METH_VARARGS, nullptr },
|
|
390
434
|
{ "_assign_array_", _assign_array_AppExtension, METH_O | METH_STATIC, nullptr },
|
|
391
435
|
{ "_from", reinterpret_cast<PyCFunction>(_from_AppExtension), METH_O | METH_STATIC, nullptr },
|
|
392
|
-
{ }
|
|
393
|
-
};
|
|
436
|
+
{ }};
|
|
394
437
|
|
|
395
438
|
static PyGetSetDef _getset_AppExtension[] = {
|
|
396
439
|
{ "app_info", reinterpret_cast<getter>(AppExtension_get_AppInfo), nullptr, nullptr, nullptr },
|
|
@@ -399,16 +442,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
399
442
|
{ "id", reinterpret_cast<getter>(AppExtension_get_Id), nullptr, nullptr, nullptr },
|
|
400
443
|
{ "package", reinterpret_cast<getter>(AppExtension_get_Package), nullptr, nullptr, nullptr },
|
|
401
444
|
{ "app_user_model_id", reinterpret_cast<getter>(AppExtension_get_AppUserModelId), nullptr, nullptr, nullptr },
|
|
402
|
-
{ }
|
|
403
|
-
};
|
|
445
|
+
{ }};
|
|
404
446
|
|
|
405
447
|
static PyType_Slot _type_slots_AppExtension[] = {
|
|
406
448
|
{ Py_tp_new, reinterpret_cast<void*>(_new_AppExtension) },
|
|
407
449
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppExtension) },
|
|
408
450
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_AppExtension) },
|
|
409
451
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_AppExtension) },
|
|
410
|
-
{ }
|
|
411
|
-
};
|
|
452
|
+
{ }};
|
|
412
453
|
|
|
413
454
|
static PyType_Spec type_spec_AppExtension = {
|
|
414
455
|
"winrt._winrt_windows_applicationmodel_appextensions.AppExtension",
|
|
@@ -436,7 +477,7 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
436
477
|
|
|
437
478
|
static PyObject* AppExtensionCatalog_FindAll(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog* self, PyObject* args) noexcept
|
|
438
479
|
{
|
|
439
|
-
auto arg_count =
|
|
480
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
440
481
|
|
|
441
482
|
if (arg_count == 0)
|
|
442
483
|
{
|
|
@@ -455,7 +496,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
455
496
|
return nullptr;
|
|
456
497
|
}
|
|
457
498
|
|
|
458
|
-
return py::convert(
|
|
499
|
+
return py::convert([&]()
|
|
500
|
+
{
|
|
501
|
+
auto _gil = release_gil();
|
|
502
|
+
return self->obj.FindAll();
|
|
503
|
+
}());
|
|
459
504
|
}
|
|
460
505
|
catch (...)
|
|
461
506
|
{
|
|
@@ -472,7 +517,7 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
472
517
|
|
|
473
518
|
static PyObject* AppExtensionCatalog_FindAllAsync(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog* self, PyObject* args) noexcept
|
|
474
519
|
{
|
|
475
|
-
auto arg_count =
|
|
520
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
476
521
|
|
|
477
522
|
if (arg_count == 0)
|
|
478
523
|
{
|
|
@@ -491,7 +536,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
491
536
|
return nullptr;
|
|
492
537
|
}
|
|
493
538
|
|
|
494
|
-
return py::convert(
|
|
539
|
+
return py::convert([&]()
|
|
540
|
+
{
|
|
541
|
+
auto _gil = release_gil();
|
|
542
|
+
return self->obj.FindAllAsync();
|
|
543
|
+
}());
|
|
495
544
|
}
|
|
496
545
|
catch (...)
|
|
497
546
|
{
|
|
@@ -508,7 +557,7 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
508
557
|
|
|
509
558
|
static PyObject* AppExtensionCatalog_Open(PyObject* /*unused*/, PyObject* args) noexcept
|
|
510
559
|
{
|
|
511
|
-
auto arg_count =
|
|
560
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
512
561
|
|
|
513
562
|
if (arg_count == 1)
|
|
514
563
|
{
|
|
@@ -529,7 +578,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
529
578
|
|
|
530
579
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
531
580
|
|
|
532
|
-
return py::convert(
|
|
581
|
+
return py::convert([&]()
|
|
582
|
+
{
|
|
583
|
+
auto _gil = release_gil();
|
|
584
|
+
return winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog::Open(param0);
|
|
585
|
+
}());
|
|
533
586
|
}
|
|
534
587
|
catch (...)
|
|
535
588
|
{
|
|
@@ -546,7 +599,7 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
546
599
|
|
|
547
600
|
static PyObject* AppExtensionCatalog_RequestRemovePackageAsync(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog* self, PyObject* args) noexcept
|
|
548
601
|
{
|
|
549
|
-
auto arg_count =
|
|
602
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
550
603
|
|
|
551
604
|
if (arg_count == 1)
|
|
552
605
|
{
|
|
@@ -567,7 +620,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
567
620
|
|
|
568
621
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
569
622
|
|
|
570
|
-
return py::convert(
|
|
623
|
+
return py::convert([&]()
|
|
624
|
+
{
|
|
625
|
+
auto _gil = release_gil();
|
|
626
|
+
return self->obj.RequestRemovePackageAsync(param0);
|
|
627
|
+
}());
|
|
571
628
|
}
|
|
572
629
|
catch (...)
|
|
573
630
|
{
|
|
@@ -601,7 +658,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
601
658
|
|
|
602
659
|
auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageInstalledEventArgs>>(arg);
|
|
603
660
|
|
|
604
|
-
return py::convert(
|
|
661
|
+
return py::convert([&]()
|
|
662
|
+
{
|
|
663
|
+
auto _gil = release_gil();
|
|
664
|
+
return self->obj.PackageInstalled(param0);
|
|
665
|
+
}());
|
|
605
666
|
}
|
|
606
667
|
catch (...)
|
|
607
668
|
{
|
|
@@ -629,7 +690,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
629
690
|
|
|
630
691
|
auto param0 = py::convert_to<winrt::event_token>(arg);
|
|
631
692
|
|
|
632
|
-
|
|
693
|
+
{
|
|
694
|
+
auto _gil = release_gil();
|
|
695
|
+
self->obj.PackageInstalled(param0);
|
|
696
|
+
}
|
|
697
|
+
|
|
633
698
|
Py_RETURN_NONE;
|
|
634
699
|
}
|
|
635
700
|
catch (...)
|
|
@@ -658,7 +723,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
658
723
|
|
|
659
724
|
auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageStatusChangedEventArgs>>(arg);
|
|
660
725
|
|
|
661
|
-
return py::convert(
|
|
726
|
+
return py::convert([&]()
|
|
727
|
+
{
|
|
728
|
+
auto _gil = release_gil();
|
|
729
|
+
return self->obj.PackageStatusChanged(param0);
|
|
730
|
+
}());
|
|
662
731
|
}
|
|
663
732
|
catch (...)
|
|
664
733
|
{
|
|
@@ -686,7 +755,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
686
755
|
|
|
687
756
|
auto param0 = py::convert_to<winrt::event_token>(arg);
|
|
688
757
|
|
|
689
|
-
|
|
758
|
+
{
|
|
759
|
+
auto _gil = release_gil();
|
|
760
|
+
self->obj.PackageStatusChanged(param0);
|
|
761
|
+
}
|
|
762
|
+
|
|
690
763
|
Py_RETURN_NONE;
|
|
691
764
|
}
|
|
692
765
|
catch (...)
|
|
@@ -715,7 +788,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
715
788
|
|
|
716
789
|
auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUninstallingEventArgs>>(arg);
|
|
717
790
|
|
|
718
|
-
return py::convert(
|
|
791
|
+
return py::convert([&]()
|
|
792
|
+
{
|
|
793
|
+
auto _gil = release_gil();
|
|
794
|
+
return self->obj.PackageUninstalling(param0);
|
|
795
|
+
}());
|
|
719
796
|
}
|
|
720
797
|
catch (...)
|
|
721
798
|
{
|
|
@@ -743,7 +820,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
743
820
|
|
|
744
821
|
auto param0 = py::convert_to<winrt::event_token>(arg);
|
|
745
822
|
|
|
746
|
-
|
|
823
|
+
{
|
|
824
|
+
auto _gil = release_gil();
|
|
825
|
+
self->obj.PackageUninstalling(param0);
|
|
826
|
+
}
|
|
827
|
+
|
|
747
828
|
Py_RETURN_NONE;
|
|
748
829
|
}
|
|
749
830
|
catch (...)
|
|
@@ -772,7 +853,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
772
853
|
|
|
773
854
|
auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatedEventArgs>>(arg);
|
|
774
855
|
|
|
775
|
-
return py::convert(
|
|
856
|
+
return py::convert([&]()
|
|
857
|
+
{
|
|
858
|
+
auto _gil = release_gil();
|
|
859
|
+
return self->obj.PackageUpdated(param0);
|
|
860
|
+
}());
|
|
776
861
|
}
|
|
777
862
|
catch (...)
|
|
778
863
|
{
|
|
@@ -800,7 +885,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
800
885
|
|
|
801
886
|
auto param0 = py::convert_to<winrt::event_token>(arg);
|
|
802
887
|
|
|
803
|
-
|
|
888
|
+
{
|
|
889
|
+
auto _gil = release_gil();
|
|
890
|
+
self->obj.PackageUpdated(param0);
|
|
891
|
+
}
|
|
892
|
+
|
|
804
893
|
Py_RETURN_NONE;
|
|
805
894
|
}
|
|
806
895
|
catch (...)
|
|
@@ -829,7 +918,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
829
918
|
|
|
830
919
|
auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatingEventArgs>>(arg);
|
|
831
920
|
|
|
832
|
-
return py::convert(
|
|
921
|
+
return py::convert([&]()
|
|
922
|
+
{
|
|
923
|
+
auto _gil = release_gil();
|
|
924
|
+
return self->obj.PackageUpdating(param0);
|
|
925
|
+
}());
|
|
833
926
|
}
|
|
834
927
|
catch (...)
|
|
835
928
|
{
|
|
@@ -857,7 +950,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
857
950
|
|
|
858
951
|
auto param0 = py::convert_to<winrt::event_token>(arg);
|
|
859
952
|
|
|
860
|
-
|
|
953
|
+
{
|
|
954
|
+
auto _gil = release_gil();
|
|
955
|
+
self->obj.PackageUpdating(param0);
|
|
956
|
+
}
|
|
957
|
+
|
|
861
958
|
Py_RETURN_NONE;
|
|
862
959
|
}
|
|
863
960
|
catch (...)
|
|
@@ -907,20 +1004,17 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
907
1004
|
{ "remove_package_updating", reinterpret_cast<PyCFunction>(AppExtensionCatalog_remove_PackageUpdating), METH_O, nullptr },
|
|
908
1005
|
{ "_assign_array_", _assign_array_AppExtensionCatalog, METH_O | METH_STATIC, nullptr },
|
|
909
1006
|
{ "_from", reinterpret_cast<PyCFunction>(_from_AppExtensionCatalog), METH_O | METH_STATIC, nullptr },
|
|
910
|
-
{ }
|
|
911
|
-
};
|
|
1007
|
+
{ }};
|
|
912
1008
|
|
|
913
1009
|
static PyGetSetDef _getset_AppExtensionCatalog[] = {
|
|
914
|
-
{ }
|
|
915
|
-
};
|
|
1010
|
+
{ }};
|
|
916
1011
|
|
|
917
1012
|
static PyType_Slot _type_slots_AppExtensionCatalog[] = {
|
|
918
1013
|
{ Py_tp_new, reinterpret_cast<void*>(_new_AppExtensionCatalog) },
|
|
919
1014
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppExtensionCatalog) },
|
|
920
1015
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_AppExtensionCatalog) },
|
|
921
1016
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_AppExtensionCatalog) },
|
|
922
|
-
{ }
|
|
923
|
-
};
|
|
1017
|
+
{ }};
|
|
924
1018
|
|
|
925
1019
|
static PyType_Spec type_spec_AppExtensionCatalog = {
|
|
926
1020
|
"winrt._winrt_windows_applicationmodel_appextensions.AppExtensionCatalog",
|
|
@@ -930,13 +1024,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
930
1024
|
_type_slots_AppExtensionCatalog};
|
|
931
1025
|
|
|
932
1026
|
static PyGetSetDef getset_AppExtensionCatalog_Static[] = {
|
|
933
|
-
{ }
|
|
934
|
-
};
|
|
1027
|
+
{ }};
|
|
935
1028
|
|
|
936
1029
|
static PyMethodDef methods_AppExtensionCatalog_Static[] = {
|
|
937
1030
|
{ "open", reinterpret_cast<PyCFunction>(AppExtensionCatalog_Open), METH_VARARGS, nullptr },
|
|
938
|
-
{ }
|
|
939
|
-
};
|
|
1031
|
+
{ }};
|
|
940
1032
|
|
|
941
1033
|
static PyType_Slot type_slots_AppExtensionCatalog_Static[] =
|
|
942
1034
|
{
|
|
@@ -946,14 +1038,12 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
946
1038
|
{ }
|
|
947
1039
|
};
|
|
948
1040
|
|
|
949
|
-
static PyType_Spec type_spec_AppExtensionCatalog_Static =
|
|
950
|
-
{
|
|
1041
|
+
static PyType_Spec type_spec_AppExtensionCatalog_Static = {
|
|
951
1042
|
"winrt._winrt_windows_applicationmodel_appextensions.AppExtensionCatalog_Static",
|
|
952
1043
|
static_cast<int>(PyType_Type.tp_basicsize),
|
|
953
1044
|
static_cast<int>(PyType_Type.tp_itemsize),
|
|
954
1045
|
Py_TPFLAGS_DEFAULT,
|
|
955
|
-
type_slots_AppExtensionCatalog_Static
|
|
956
|
-
};
|
|
1046
|
+
type_slots_AppExtensionCatalog_Static};
|
|
957
1047
|
|
|
958
1048
|
// ----- AppExtensionPackageInstalledEventArgs class --------------------
|
|
959
1049
|
|
|
@@ -989,7 +1079,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
989
1079
|
return nullptr;
|
|
990
1080
|
}
|
|
991
1081
|
|
|
992
|
-
return py::convert(
|
|
1082
|
+
return py::convert([&]()
|
|
1083
|
+
{
|
|
1084
|
+
auto _gil = release_gil();
|
|
1085
|
+
return self->obj.AppExtensionName();
|
|
1086
|
+
}());
|
|
993
1087
|
}
|
|
994
1088
|
catch (...)
|
|
995
1089
|
{
|
|
@@ -1015,7 +1109,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1015
1109
|
return nullptr;
|
|
1016
1110
|
}
|
|
1017
1111
|
|
|
1018
|
-
return py::convert(
|
|
1112
|
+
return py::convert([&]()
|
|
1113
|
+
{
|
|
1114
|
+
auto _gil = release_gil();
|
|
1115
|
+
return self->obj.Extensions();
|
|
1116
|
+
}());
|
|
1019
1117
|
}
|
|
1020
1118
|
catch (...)
|
|
1021
1119
|
{
|
|
@@ -1041,7 +1139,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1041
1139
|
return nullptr;
|
|
1042
1140
|
}
|
|
1043
1141
|
|
|
1044
|
-
return py::convert(
|
|
1142
|
+
return py::convert([&]()
|
|
1143
|
+
{
|
|
1144
|
+
auto _gil = release_gil();
|
|
1145
|
+
return self->obj.Package();
|
|
1146
|
+
}());
|
|
1045
1147
|
}
|
|
1046
1148
|
catch (...)
|
|
1047
1149
|
{
|
|
@@ -1077,23 +1179,20 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1077
1179
|
static PyMethodDef _methods_AppExtensionPackageInstalledEventArgs[] = {
|
|
1078
1180
|
{ "_assign_array_", _assign_array_AppExtensionPackageInstalledEventArgs, METH_O | METH_STATIC, nullptr },
|
|
1079
1181
|
{ "_from", reinterpret_cast<PyCFunction>(_from_AppExtensionPackageInstalledEventArgs), METH_O | METH_STATIC, nullptr },
|
|
1080
|
-
{ }
|
|
1081
|
-
};
|
|
1182
|
+
{ }};
|
|
1082
1183
|
|
|
1083
1184
|
static PyGetSetDef _getset_AppExtensionPackageInstalledEventArgs[] = {
|
|
1084
1185
|
{ "app_extension_name", reinterpret_cast<getter>(AppExtensionPackageInstalledEventArgs_get_AppExtensionName), nullptr, nullptr, nullptr },
|
|
1085
1186
|
{ "extensions", reinterpret_cast<getter>(AppExtensionPackageInstalledEventArgs_get_Extensions), nullptr, nullptr, nullptr },
|
|
1086
1187
|
{ "package", reinterpret_cast<getter>(AppExtensionPackageInstalledEventArgs_get_Package), nullptr, nullptr, nullptr },
|
|
1087
|
-
{ }
|
|
1088
|
-
};
|
|
1188
|
+
{ }};
|
|
1089
1189
|
|
|
1090
1190
|
static PyType_Slot _type_slots_AppExtensionPackageInstalledEventArgs[] = {
|
|
1091
1191
|
{ Py_tp_new, reinterpret_cast<void*>(_new_AppExtensionPackageInstalledEventArgs) },
|
|
1092
1192
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppExtensionPackageInstalledEventArgs) },
|
|
1093
1193
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_AppExtensionPackageInstalledEventArgs) },
|
|
1094
1194
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_AppExtensionPackageInstalledEventArgs) },
|
|
1095
|
-
{ }
|
|
1096
|
-
};
|
|
1195
|
+
{ }};
|
|
1097
1196
|
|
|
1098
1197
|
static PyType_Spec type_spec_AppExtensionPackageInstalledEventArgs = {
|
|
1099
1198
|
"winrt._winrt_windows_applicationmodel_appextensions.AppExtensionPackageInstalledEventArgs",
|
|
@@ -1136,7 +1235,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1136
1235
|
return nullptr;
|
|
1137
1236
|
}
|
|
1138
1237
|
|
|
1139
|
-
return py::convert(
|
|
1238
|
+
return py::convert([&]()
|
|
1239
|
+
{
|
|
1240
|
+
auto _gil = release_gil();
|
|
1241
|
+
return self->obj.AppExtensionName();
|
|
1242
|
+
}());
|
|
1140
1243
|
}
|
|
1141
1244
|
catch (...)
|
|
1142
1245
|
{
|
|
@@ -1162,7 +1265,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1162
1265
|
return nullptr;
|
|
1163
1266
|
}
|
|
1164
1267
|
|
|
1165
|
-
return py::convert(
|
|
1268
|
+
return py::convert([&]()
|
|
1269
|
+
{
|
|
1270
|
+
auto _gil = release_gil();
|
|
1271
|
+
return self->obj.Package();
|
|
1272
|
+
}());
|
|
1166
1273
|
}
|
|
1167
1274
|
catch (...)
|
|
1168
1275
|
{
|
|
@@ -1198,22 +1305,19 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1198
1305
|
static PyMethodDef _methods_AppExtensionPackageStatusChangedEventArgs[] = {
|
|
1199
1306
|
{ "_assign_array_", _assign_array_AppExtensionPackageStatusChangedEventArgs, METH_O | METH_STATIC, nullptr },
|
|
1200
1307
|
{ "_from", reinterpret_cast<PyCFunction>(_from_AppExtensionPackageStatusChangedEventArgs), METH_O | METH_STATIC, nullptr },
|
|
1201
|
-
{ }
|
|
1202
|
-
};
|
|
1308
|
+
{ }};
|
|
1203
1309
|
|
|
1204
1310
|
static PyGetSetDef _getset_AppExtensionPackageStatusChangedEventArgs[] = {
|
|
1205
1311
|
{ "app_extension_name", reinterpret_cast<getter>(AppExtensionPackageStatusChangedEventArgs_get_AppExtensionName), nullptr, nullptr, nullptr },
|
|
1206
1312
|
{ "package", reinterpret_cast<getter>(AppExtensionPackageStatusChangedEventArgs_get_Package), nullptr, nullptr, nullptr },
|
|
1207
|
-
{ }
|
|
1208
|
-
};
|
|
1313
|
+
{ }};
|
|
1209
1314
|
|
|
1210
1315
|
static PyType_Slot _type_slots_AppExtensionPackageStatusChangedEventArgs[] = {
|
|
1211
1316
|
{ Py_tp_new, reinterpret_cast<void*>(_new_AppExtensionPackageStatusChangedEventArgs) },
|
|
1212
1317
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppExtensionPackageStatusChangedEventArgs) },
|
|
1213
1318
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_AppExtensionPackageStatusChangedEventArgs) },
|
|
1214
1319
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_AppExtensionPackageStatusChangedEventArgs) },
|
|
1215
|
-
{ }
|
|
1216
|
-
};
|
|
1320
|
+
{ }};
|
|
1217
1321
|
|
|
1218
1322
|
static PyType_Spec type_spec_AppExtensionPackageStatusChangedEventArgs = {
|
|
1219
1323
|
"winrt._winrt_windows_applicationmodel_appextensions.AppExtensionPackageStatusChangedEventArgs",
|
|
@@ -1256,7 +1360,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1256
1360
|
return nullptr;
|
|
1257
1361
|
}
|
|
1258
1362
|
|
|
1259
|
-
return py::convert(
|
|
1363
|
+
return py::convert([&]()
|
|
1364
|
+
{
|
|
1365
|
+
auto _gil = release_gil();
|
|
1366
|
+
return self->obj.AppExtensionName();
|
|
1367
|
+
}());
|
|
1260
1368
|
}
|
|
1261
1369
|
catch (...)
|
|
1262
1370
|
{
|
|
@@ -1282,7 +1390,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1282
1390
|
return nullptr;
|
|
1283
1391
|
}
|
|
1284
1392
|
|
|
1285
|
-
return py::convert(
|
|
1393
|
+
return py::convert([&]()
|
|
1394
|
+
{
|
|
1395
|
+
auto _gil = release_gil();
|
|
1396
|
+
return self->obj.Package();
|
|
1397
|
+
}());
|
|
1286
1398
|
}
|
|
1287
1399
|
catch (...)
|
|
1288
1400
|
{
|
|
@@ -1318,22 +1430,19 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1318
1430
|
static PyMethodDef _methods_AppExtensionPackageUninstallingEventArgs[] = {
|
|
1319
1431
|
{ "_assign_array_", _assign_array_AppExtensionPackageUninstallingEventArgs, METH_O | METH_STATIC, nullptr },
|
|
1320
1432
|
{ "_from", reinterpret_cast<PyCFunction>(_from_AppExtensionPackageUninstallingEventArgs), METH_O | METH_STATIC, nullptr },
|
|
1321
|
-
{ }
|
|
1322
|
-
};
|
|
1433
|
+
{ }};
|
|
1323
1434
|
|
|
1324
1435
|
static PyGetSetDef _getset_AppExtensionPackageUninstallingEventArgs[] = {
|
|
1325
1436
|
{ "app_extension_name", reinterpret_cast<getter>(AppExtensionPackageUninstallingEventArgs_get_AppExtensionName), nullptr, nullptr, nullptr },
|
|
1326
1437
|
{ "package", reinterpret_cast<getter>(AppExtensionPackageUninstallingEventArgs_get_Package), nullptr, nullptr, nullptr },
|
|
1327
|
-
{ }
|
|
1328
|
-
};
|
|
1438
|
+
{ }};
|
|
1329
1439
|
|
|
1330
1440
|
static PyType_Slot _type_slots_AppExtensionPackageUninstallingEventArgs[] = {
|
|
1331
1441
|
{ Py_tp_new, reinterpret_cast<void*>(_new_AppExtensionPackageUninstallingEventArgs) },
|
|
1332
1442
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppExtensionPackageUninstallingEventArgs) },
|
|
1333
1443
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_AppExtensionPackageUninstallingEventArgs) },
|
|
1334
1444
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_AppExtensionPackageUninstallingEventArgs) },
|
|
1335
|
-
{ }
|
|
1336
|
-
};
|
|
1445
|
+
{ }};
|
|
1337
1446
|
|
|
1338
1447
|
static PyType_Spec type_spec_AppExtensionPackageUninstallingEventArgs = {
|
|
1339
1448
|
"winrt._winrt_windows_applicationmodel_appextensions.AppExtensionPackageUninstallingEventArgs",
|
|
@@ -1376,7 +1485,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1376
1485
|
return nullptr;
|
|
1377
1486
|
}
|
|
1378
1487
|
|
|
1379
|
-
return py::convert(
|
|
1488
|
+
return py::convert([&]()
|
|
1489
|
+
{
|
|
1490
|
+
auto _gil = release_gil();
|
|
1491
|
+
return self->obj.AppExtensionName();
|
|
1492
|
+
}());
|
|
1380
1493
|
}
|
|
1381
1494
|
catch (...)
|
|
1382
1495
|
{
|
|
@@ -1402,7 +1515,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1402
1515
|
return nullptr;
|
|
1403
1516
|
}
|
|
1404
1517
|
|
|
1405
|
-
return py::convert(
|
|
1518
|
+
return py::convert([&]()
|
|
1519
|
+
{
|
|
1520
|
+
auto _gil = release_gil();
|
|
1521
|
+
return self->obj.Extensions();
|
|
1522
|
+
}());
|
|
1406
1523
|
}
|
|
1407
1524
|
catch (...)
|
|
1408
1525
|
{
|
|
@@ -1428,7 +1545,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1428
1545
|
return nullptr;
|
|
1429
1546
|
}
|
|
1430
1547
|
|
|
1431
|
-
return py::convert(
|
|
1548
|
+
return py::convert([&]()
|
|
1549
|
+
{
|
|
1550
|
+
auto _gil = release_gil();
|
|
1551
|
+
return self->obj.Package();
|
|
1552
|
+
}());
|
|
1432
1553
|
}
|
|
1433
1554
|
catch (...)
|
|
1434
1555
|
{
|
|
@@ -1464,23 +1585,20 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1464
1585
|
static PyMethodDef _methods_AppExtensionPackageUpdatedEventArgs[] = {
|
|
1465
1586
|
{ "_assign_array_", _assign_array_AppExtensionPackageUpdatedEventArgs, METH_O | METH_STATIC, nullptr },
|
|
1466
1587
|
{ "_from", reinterpret_cast<PyCFunction>(_from_AppExtensionPackageUpdatedEventArgs), METH_O | METH_STATIC, nullptr },
|
|
1467
|
-
{ }
|
|
1468
|
-
};
|
|
1588
|
+
{ }};
|
|
1469
1589
|
|
|
1470
1590
|
static PyGetSetDef _getset_AppExtensionPackageUpdatedEventArgs[] = {
|
|
1471
1591
|
{ "app_extension_name", reinterpret_cast<getter>(AppExtensionPackageUpdatedEventArgs_get_AppExtensionName), nullptr, nullptr, nullptr },
|
|
1472
1592
|
{ "extensions", reinterpret_cast<getter>(AppExtensionPackageUpdatedEventArgs_get_Extensions), nullptr, nullptr, nullptr },
|
|
1473
1593
|
{ "package", reinterpret_cast<getter>(AppExtensionPackageUpdatedEventArgs_get_Package), nullptr, nullptr, nullptr },
|
|
1474
|
-
{ }
|
|
1475
|
-
};
|
|
1594
|
+
{ }};
|
|
1476
1595
|
|
|
1477
1596
|
static PyType_Slot _type_slots_AppExtensionPackageUpdatedEventArgs[] = {
|
|
1478
1597
|
{ Py_tp_new, reinterpret_cast<void*>(_new_AppExtensionPackageUpdatedEventArgs) },
|
|
1479
1598
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppExtensionPackageUpdatedEventArgs) },
|
|
1480
1599
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_AppExtensionPackageUpdatedEventArgs) },
|
|
1481
1600
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_AppExtensionPackageUpdatedEventArgs) },
|
|
1482
|
-
{ }
|
|
1483
|
-
};
|
|
1601
|
+
{ }};
|
|
1484
1602
|
|
|
1485
1603
|
static PyType_Spec type_spec_AppExtensionPackageUpdatedEventArgs = {
|
|
1486
1604
|
"winrt._winrt_windows_applicationmodel_appextensions.AppExtensionPackageUpdatedEventArgs",
|
|
@@ -1523,7 +1641,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1523
1641
|
return nullptr;
|
|
1524
1642
|
}
|
|
1525
1643
|
|
|
1526
|
-
return py::convert(
|
|
1644
|
+
return py::convert([&]()
|
|
1645
|
+
{
|
|
1646
|
+
auto _gil = release_gil();
|
|
1647
|
+
return self->obj.AppExtensionName();
|
|
1648
|
+
}());
|
|
1527
1649
|
}
|
|
1528
1650
|
catch (...)
|
|
1529
1651
|
{
|
|
@@ -1549,7 +1671,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1549
1671
|
return nullptr;
|
|
1550
1672
|
}
|
|
1551
1673
|
|
|
1552
|
-
return py::convert(
|
|
1674
|
+
return py::convert([&]()
|
|
1675
|
+
{
|
|
1676
|
+
auto _gil = release_gil();
|
|
1677
|
+
return self->obj.Package();
|
|
1678
|
+
}());
|
|
1553
1679
|
}
|
|
1554
1680
|
catch (...)
|
|
1555
1681
|
{
|
|
@@ -1585,22 +1711,19 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1585
1711
|
static PyMethodDef _methods_AppExtensionPackageUpdatingEventArgs[] = {
|
|
1586
1712
|
{ "_assign_array_", _assign_array_AppExtensionPackageUpdatingEventArgs, METH_O | METH_STATIC, nullptr },
|
|
1587
1713
|
{ "_from", reinterpret_cast<PyCFunction>(_from_AppExtensionPackageUpdatingEventArgs), METH_O | METH_STATIC, nullptr },
|
|
1588
|
-
{ }
|
|
1589
|
-
};
|
|
1714
|
+
{ }};
|
|
1590
1715
|
|
|
1591
1716
|
static PyGetSetDef _getset_AppExtensionPackageUpdatingEventArgs[] = {
|
|
1592
1717
|
{ "app_extension_name", reinterpret_cast<getter>(AppExtensionPackageUpdatingEventArgs_get_AppExtensionName), nullptr, nullptr, nullptr },
|
|
1593
1718
|
{ "package", reinterpret_cast<getter>(AppExtensionPackageUpdatingEventArgs_get_Package), nullptr, nullptr, nullptr },
|
|
1594
|
-
{ }
|
|
1595
|
-
};
|
|
1719
|
+
{ }};
|
|
1596
1720
|
|
|
1597
1721
|
static PyType_Slot _type_slots_AppExtensionPackageUpdatingEventArgs[] = {
|
|
1598
1722
|
{ Py_tp_new, reinterpret_cast<void*>(_new_AppExtensionPackageUpdatingEventArgs) },
|
|
1599
1723
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppExtensionPackageUpdatingEventArgs) },
|
|
1600
1724
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_AppExtensionPackageUpdatingEventArgs) },
|
|
1601
1725
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_AppExtensionPackageUpdatingEventArgs) },
|
|
1602
|
-
{ }
|
|
1603
|
-
};
|
|
1726
|
+
{ }};
|
|
1604
1727
|
|
|
1605
1728
|
static PyType_Spec type_spec_AppExtensionPackageUpdatingEventArgs = {
|
|
1606
1729
|
"winrt._winrt_windows_applicationmodel_appextensions.AppExtensionPackageUpdatingEventArgs",
|
|
@@ -1641,6 +1764,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_appextensions(void) noexce
|
|
|
1641
1764
|
return nullptr;
|
|
1642
1765
|
}
|
|
1643
1766
|
|
|
1767
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
1768
|
+
if (!inspectable_meta_type)
|
|
1769
|
+
{
|
|
1770
|
+
return nullptr;
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1644
1773
|
auto object_type = py::get_object_type();
|
|
1645
1774
|
if (!object_type)
|
|
1646
1775
|
{
|
|
@@ -1654,13 +1783,19 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_appextensions(void) noexce
|
|
|
1654
1783
|
return nullptr;
|
|
1655
1784
|
}
|
|
1656
1785
|
|
|
1657
|
-
py::pytype_handle AppExtension_type{py::register_python_type(module.get(), &type_spec_AppExtension, object_bases.get(),
|
|
1786
|
+
py::pytype_handle AppExtension_type{py::register_python_type(module.get(), &type_spec_AppExtension, object_bases.get(), inspectable_meta_type)};
|
|
1658
1787
|
if (!AppExtension_type)
|
|
1659
1788
|
{
|
|
1660
1789
|
return nullptr;
|
|
1661
1790
|
}
|
|
1662
1791
|
|
|
1663
|
-
py::pyobj_handle
|
|
1792
|
+
py::pyobj_handle AppExtensionCatalog_Static_bases{PyTuple_Pack(1, reinterpret_cast<PyObject*>(inspectable_meta_type))};
|
|
1793
|
+
if (!AppExtensionCatalog_Static_bases)
|
|
1794
|
+
{
|
|
1795
|
+
return nullptr;
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
py::pyobj_handle type_AppExtensionCatalog_Static{PyType_FromSpecWithBases(&type_spec_AppExtensionCatalog_Static, AppExtensionCatalog_Static_bases.get())};
|
|
1664
1799
|
if (!type_AppExtensionCatalog_Static)
|
|
1665
1800
|
{
|
|
1666
1801
|
return nullptr;
|
|
@@ -1672,31 +1807,31 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_appextensions(void) noexce
|
|
|
1672
1807
|
return nullptr;
|
|
1673
1808
|
}
|
|
1674
1809
|
|
|
1675
|
-
py::pytype_handle AppExtensionPackageInstalledEventArgs_type{py::register_python_type(module.get(), &type_spec_AppExtensionPackageInstalledEventArgs, object_bases.get(),
|
|
1810
|
+
py::pytype_handle AppExtensionPackageInstalledEventArgs_type{py::register_python_type(module.get(), &type_spec_AppExtensionPackageInstalledEventArgs, object_bases.get(), inspectable_meta_type)};
|
|
1676
1811
|
if (!AppExtensionPackageInstalledEventArgs_type)
|
|
1677
1812
|
{
|
|
1678
1813
|
return nullptr;
|
|
1679
1814
|
}
|
|
1680
1815
|
|
|
1681
|
-
py::pytype_handle AppExtensionPackageStatusChangedEventArgs_type{py::register_python_type(module.get(), &type_spec_AppExtensionPackageStatusChangedEventArgs, object_bases.get(),
|
|
1816
|
+
py::pytype_handle AppExtensionPackageStatusChangedEventArgs_type{py::register_python_type(module.get(), &type_spec_AppExtensionPackageStatusChangedEventArgs, object_bases.get(), inspectable_meta_type)};
|
|
1682
1817
|
if (!AppExtensionPackageStatusChangedEventArgs_type)
|
|
1683
1818
|
{
|
|
1684
1819
|
return nullptr;
|
|
1685
1820
|
}
|
|
1686
1821
|
|
|
1687
|
-
py::pytype_handle AppExtensionPackageUninstallingEventArgs_type{py::register_python_type(module.get(), &type_spec_AppExtensionPackageUninstallingEventArgs, object_bases.get(),
|
|
1822
|
+
py::pytype_handle AppExtensionPackageUninstallingEventArgs_type{py::register_python_type(module.get(), &type_spec_AppExtensionPackageUninstallingEventArgs, object_bases.get(), inspectable_meta_type)};
|
|
1688
1823
|
if (!AppExtensionPackageUninstallingEventArgs_type)
|
|
1689
1824
|
{
|
|
1690
1825
|
return nullptr;
|
|
1691
1826
|
}
|
|
1692
1827
|
|
|
1693
|
-
py::pytype_handle AppExtensionPackageUpdatedEventArgs_type{py::register_python_type(module.get(), &type_spec_AppExtensionPackageUpdatedEventArgs, object_bases.get(),
|
|
1828
|
+
py::pytype_handle AppExtensionPackageUpdatedEventArgs_type{py::register_python_type(module.get(), &type_spec_AppExtensionPackageUpdatedEventArgs, object_bases.get(), inspectable_meta_type)};
|
|
1694
1829
|
if (!AppExtensionPackageUpdatedEventArgs_type)
|
|
1695
1830
|
{
|
|
1696
1831
|
return nullptr;
|
|
1697
1832
|
}
|
|
1698
1833
|
|
|
1699
|
-
py::pytype_handle AppExtensionPackageUpdatingEventArgs_type{py::register_python_type(module.get(), &type_spec_AppExtensionPackageUpdatingEventArgs, object_bases.get(),
|
|
1834
|
+
py::pytype_handle AppExtensionPackageUpdatingEventArgs_type{py::register_python_type(module.get(), &type_spec_AppExtensionPackageUpdatingEventArgs, object_bases.get(), inspectable_meta_type)};
|
|
1700
1835
|
if (!AppExtensionPackageUpdatingEventArgs_type)
|
|
1701
1836
|
{
|
|
1702
1837
|
return nullptr;
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9
|
|
19
|
+
requires-python = ">=3.9"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -34,7 +34,7 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
34
34
|
|
|
35
35
|
[tool.cibuildwheel]
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
|
-
environment = { PYTHONPATH="
|
|
37
|
+
environment = { PYTHONPATH="../../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
39
|
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
40
|
before-build = "uv pip install setuptools"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.0.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==
|
|
3
|
+
winrt-runtime==3.0.0
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.applicationmodel as windows_applicationmodel
|
|
13
|
+
import winrt.windows.foundation as windows_foundation
|
|
14
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
+
import winrt.windows.storage as windows_storage
|
|
16
|
+
|
|
17
|
+
Self = typing.TypeVar('Self')
|
|
18
|
+
|
|
19
|
+
@typing.final
|
|
20
|
+
class AppExtension(winrt.system.Object):
|
|
21
|
+
# Windows.Foundation.Collections.IPropertySet Windows.ApplicationModel.AppExtensions.AppExtension::GetExtensionProperties()
|
|
22
|
+
def get_extension_properties(self) -> windows_foundation_collections.IPropertySet: ...
|
|
23
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IPropertySet> Windows.ApplicationModel.AppExtensions.AppExtension::GetExtensionPropertiesAsync()
|
|
24
|
+
def get_extension_properties_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IPropertySet]: ...
|
|
25
|
+
# Windows.Storage.StorageFolder Windows.ApplicationModel.AppExtensions.AppExtension::GetPublicFolder()
|
|
26
|
+
def get_public_folder(self) -> windows_storage.StorageFolder: ...
|
|
27
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFolder> Windows.ApplicationModel.AppExtensions.AppExtension::GetPublicFolderAsync()
|
|
28
|
+
def get_public_folder_async(self) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
|
|
29
|
+
# System.String Windows.ApplicationModel.AppExtensions.AppExtension::GetPublicPath()
|
|
30
|
+
def get_public_path(self) -> str: ...
|
|
31
|
+
# Windows.ApplicationModel.AppInfo Windows.ApplicationModel.AppExtensions.AppExtension::get_AppInfo()
|
|
32
|
+
@_property
|
|
33
|
+
def app_info(self) -> windows_applicationmodel.AppInfo: ...
|
|
34
|
+
# System.String Windows.ApplicationModel.AppExtensions.AppExtension::get_Description()
|
|
35
|
+
@_property
|
|
36
|
+
def description(self) -> str: ...
|
|
37
|
+
# System.String Windows.ApplicationModel.AppExtensions.AppExtension::get_DisplayName()
|
|
38
|
+
@_property
|
|
39
|
+
def display_name(self) -> str: ...
|
|
40
|
+
# System.String Windows.ApplicationModel.AppExtensions.AppExtension::get_Id()
|
|
41
|
+
@_property
|
|
42
|
+
def id(self) -> str: ...
|
|
43
|
+
# Windows.ApplicationModel.Package Windows.ApplicationModel.AppExtensions.AppExtension::get_Package()
|
|
44
|
+
@_property
|
|
45
|
+
def package(self) -> windows_applicationmodel.Package: ...
|
|
46
|
+
# System.String Windows.ApplicationModel.AppExtensions.AppExtension::get_AppUserModelId()
|
|
47
|
+
@_property
|
|
48
|
+
def app_user_model_id(self) -> str: ...
|
|
49
|
+
|
|
50
|
+
@typing.final
|
|
51
|
+
class AppExtensionCatalog_Static(winrt._winrt.IInspectable_Static):
|
|
52
|
+
# Windows.ApplicationModel.AppExtensions.AppExtensionCatalog Windows.ApplicationModel.AppExtensions.AppExtensionCatalog::Open(System.String)
|
|
53
|
+
def open(cls, app_extension_name: str, /) -> AppExtensionCatalog: ...
|
|
54
|
+
|
|
55
|
+
@typing.final
|
|
56
|
+
class AppExtensionCatalog(winrt.system.Object, metaclass=AppExtensionCatalog_Static):
|
|
57
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.AppExtensions.AppExtension> Windows.ApplicationModel.AppExtensions.AppExtensionCatalog::FindAll()
|
|
58
|
+
def find_all(self) -> typing.Sequence[AppExtension]: ...
|
|
59
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.AppExtensions.AppExtension>> Windows.ApplicationModel.AppExtensions.AppExtensionCatalog::FindAllAsync()
|
|
60
|
+
def find_all_async(self) -> windows_foundation.IAsyncOperation[typing.Sequence[AppExtension]]: ...
|
|
61
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.AppExtensions.AppExtensionCatalog::RequestRemovePackageAsync(System.String)
|
|
62
|
+
def request_remove_package_async(self, package_full_name: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
63
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.AppExtensions.AppExtensionCatalog::add_PackageInstalled(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.AppExtensions.AppExtensionCatalog,Windows.ApplicationModel.AppExtensions.AppExtensionPackageInstalledEventArgs>)
|
|
64
|
+
def add_package_installed(self, handler: windows_foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageInstalledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
65
|
+
# System.Void Windows.ApplicationModel.AppExtensions.AppExtensionCatalog::remove_PackageInstalled(Windows.Foundation.EventRegistrationToken)
|
|
66
|
+
def remove_package_installed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
67
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.AppExtensions.AppExtensionCatalog::add_PackageStatusChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.AppExtensions.AppExtensionCatalog,Windows.ApplicationModel.AppExtensions.AppExtensionPackageStatusChangedEventArgs>)
|
|
68
|
+
def add_package_status_changed(self, handler: windows_foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageStatusChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
69
|
+
# System.Void Windows.ApplicationModel.AppExtensions.AppExtensionCatalog::remove_PackageStatusChanged(Windows.Foundation.EventRegistrationToken)
|
|
70
|
+
def remove_package_status_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
71
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.AppExtensions.AppExtensionCatalog::add_PackageUninstalling(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.AppExtensions.AppExtensionCatalog,Windows.ApplicationModel.AppExtensions.AppExtensionPackageUninstallingEventArgs>)
|
|
72
|
+
def add_package_uninstalling(self, handler: windows_foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageUninstallingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
73
|
+
# System.Void Windows.ApplicationModel.AppExtensions.AppExtensionCatalog::remove_PackageUninstalling(Windows.Foundation.EventRegistrationToken)
|
|
74
|
+
def remove_package_uninstalling(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
75
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.AppExtensions.AppExtensionCatalog::add_PackageUpdated(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.AppExtensions.AppExtensionCatalog,Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatedEventArgs>)
|
|
76
|
+
def add_package_updated(self, handler: windows_foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageUpdatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
77
|
+
# System.Void Windows.ApplicationModel.AppExtensions.AppExtensionCatalog::remove_PackageUpdated(Windows.Foundation.EventRegistrationToken)
|
|
78
|
+
def remove_package_updated(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
79
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.AppExtensions.AppExtensionCatalog::add_PackageUpdating(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.AppExtensions.AppExtensionCatalog,Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatingEventArgs>)
|
|
80
|
+
def add_package_updating(self, handler: windows_foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageUpdatingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
81
|
+
# System.Void Windows.ApplicationModel.AppExtensions.AppExtensionCatalog::remove_PackageUpdating(Windows.Foundation.EventRegistrationToken)
|
|
82
|
+
def remove_package_updating(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
83
|
+
|
|
84
|
+
@typing.final
|
|
85
|
+
class AppExtensionPackageInstalledEventArgs(winrt.system.Object):
|
|
86
|
+
# System.String Windows.ApplicationModel.AppExtensions.AppExtensionPackageInstalledEventArgs::get_AppExtensionName()
|
|
87
|
+
@_property
|
|
88
|
+
def app_extension_name(self) -> str: ...
|
|
89
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.AppExtensions.AppExtension> Windows.ApplicationModel.AppExtensions.AppExtensionPackageInstalledEventArgs::get_Extensions()
|
|
90
|
+
@_property
|
|
91
|
+
def extensions(self) -> typing.Sequence[AppExtension]: ...
|
|
92
|
+
# Windows.ApplicationModel.Package Windows.ApplicationModel.AppExtensions.AppExtensionPackageInstalledEventArgs::get_Package()
|
|
93
|
+
@_property
|
|
94
|
+
def package(self) -> windows_applicationmodel.Package: ...
|
|
95
|
+
|
|
96
|
+
@typing.final
|
|
97
|
+
class AppExtensionPackageStatusChangedEventArgs(winrt.system.Object):
|
|
98
|
+
# System.String Windows.ApplicationModel.AppExtensions.AppExtensionPackageStatusChangedEventArgs::get_AppExtensionName()
|
|
99
|
+
@_property
|
|
100
|
+
def app_extension_name(self) -> str: ...
|
|
101
|
+
# Windows.ApplicationModel.Package Windows.ApplicationModel.AppExtensions.AppExtensionPackageStatusChangedEventArgs::get_Package()
|
|
102
|
+
@_property
|
|
103
|
+
def package(self) -> windows_applicationmodel.Package: ...
|
|
104
|
+
|
|
105
|
+
@typing.final
|
|
106
|
+
class AppExtensionPackageUninstallingEventArgs(winrt.system.Object):
|
|
107
|
+
# System.String Windows.ApplicationModel.AppExtensions.AppExtensionPackageUninstallingEventArgs::get_AppExtensionName()
|
|
108
|
+
@_property
|
|
109
|
+
def app_extension_name(self) -> str: ...
|
|
110
|
+
# Windows.ApplicationModel.Package Windows.ApplicationModel.AppExtensions.AppExtensionPackageUninstallingEventArgs::get_Package()
|
|
111
|
+
@_property
|
|
112
|
+
def package(self) -> windows_applicationmodel.Package: ...
|
|
113
|
+
|
|
114
|
+
@typing.final
|
|
115
|
+
class AppExtensionPackageUpdatedEventArgs(winrt.system.Object):
|
|
116
|
+
# System.String Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatedEventArgs::get_AppExtensionName()
|
|
117
|
+
@_property
|
|
118
|
+
def app_extension_name(self) -> str: ...
|
|
119
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.AppExtensions.AppExtension> Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatedEventArgs::get_Extensions()
|
|
120
|
+
@_property
|
|
121
|
+
def extensions(self) -> typing.Sequence[AppExtension]: ...
|
|
122
|
+
# Windows.ApplicationModel.Package Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatedEventArgs::get_Package()
|
|
123
|
+
@_property
|
|
124
|
+
def package(self) -> windows_applicationmodel.Package: ...
|
|
125
|
+
|
|
126
|
+
@typing.final
|
|
127
|
+
class AppExtensionPackageUpdatingEventArgs(winrt.system.Object):
|
|
128
|
+
# System.String Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatingEventArgs::get_AppExtensionName()
|
|
129
|
+
@_property
|
|
130
|
+
def app_extension_name(self) -> str: ...
|
|
131
|
+
# Windows.ApplicationModel.Package Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatingEventArgs::get_Package()
|
|
132
|
+
@_property
|
|
133
|
+
def package(self) -> windows_applicationmodel.Package: ...
|
|
134
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
|
+
|
|
3
|
+
import winrt.system
|
|
4
|
+
from winrt._winrt_windows_applicationmodel_appextensions import (
|
|
5
|
+
AppExtension,
|
|
6
|
+
AppExtensionCatalog,
|
|
7
|
+
AppExtensionPackageInstalledEventArgs,
|
|
8
|
+
AppExtensionPackageStatusChangedEventArgs,
|
|
9
|
+
AppExtensionPackageUninstallingEventArgs,
|
|
10
|
+
AppExtensionPackageUpdatedEventArgs,
|
|
11
|
+
AppExtensionPackageUpdatingEventArgs,
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
__all__ = [
|
|
15
|
+
"AppExtension",
|
|
16
|
+
"AppExtensionCatalog",
|
|
17
|
+
"AppExtensionPackageInstalledEventArgs",
|
|
18
|
+
"AppExtensionPackageStatusChangedEventArgs",
|
|
19
|
+
"AppExtensionPackageUninstallingEventArgs",
|
|
20
|
+
"AppExtensionPackageUpdatedEventArgs",
|
|
21
|
+
"AppExtensionPackageUpdatingEventArgs",
|
|
22
|
+
]
|
|
23
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.AppExtensions
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.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,14 +10,14 @@ 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:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==
|
|
20
|
-
Requires-Dist: winrt-Windows.Storage[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel[all]==3.0.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.0.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.0.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage[all]==3.0.0; extra == "all"
|
|
21
21
|
|
|
22
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
23
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.3.0
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
|
-
|
|
3
|
-
import datetime
|
|
4
|
-
import sys
|
|
5
|
-
import types
|
|
6
|
-
import typing
|
|
7
|
-
import uuid as _uuid
|
|
8
|
-
from builtins import property as _property
|
|
9
|
-
|
|
10
|
-
import winrt._winrt
|
|
11
|
-
import winrt.system
|
|
12
|
-
import winrt.windows.applicationmodel as windows_applicationmodel
|
|
13
|
-
import winrt.windows.foundation as windows_foundation
|
|
14
|
-
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
-
import winrt.windows.storage as windows_storage
|
|
16
|
-
|
|
17
|
-
Self = typing.TypeVar('Self')
|
|
18
|
-
|
|
19
|
-
@typing.final
|
|
20
|
-
class AppExtension(winrt.system.Object):
|
|
21
|
-
@staticmethod
|
|
22
|
-
def _from(obj: winrt.system.Object, /) -> AppExtension: ...
|
|
23
|
-
def get_extension_properties(self) -> typing.Optional[windows_foundation_collections.IPropertySet]: ...
|
|
24
|
-
def get_extension_properties_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IPropertySet]: ...
|
|
25
|
-
def get_public_folder(self) -> typing.Optional[windows_storage.StorageFolder]: ...
|
|
26
|
-
def get_public_folder_async(self) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
|
|
27
|
-
def get_public_path(self) -> str: ...
|
|
28
|
-
@_property
|
|
29
|
-
def app_info(self) -> typing.Optional[windows_applicationmodel.AppInfo]: ...
|
|
30
|
-
@_property
|
|
31
|
-
def description(self) -> str: ...
|
|
32
|
-
@_property
|
|
33
|
-
def display_name(self) -> str: ...
|
|
34
|
-
@_property
|
|
35
|
-
def id(self) -> str: ...
|
|
36
|
-
@_property
|
|
37
|
-
def package(self) -> typing.Optional[windows_applicationmodel.Package]: ...
|
|
38
|
-
@_property
|
|
39
|
-
def app_user_model_id(self) -> str: ...
|
|
40
|
-
|
|
41
|
-
@typing.final
|
|
42
|
-
class AppExtensionCatalog_Static(type):
|
|
43
|
-
def open(cls, app_extension_name: str, /) -> typing.Optional[AppExtensionCatalog]: ...
|
|
44
|
-
|
|
45
|
-
@typing.final
|
|
46
|
-
class AppExtensionCatalog(winrt.system.Object, metaclass=AppExtensionCatalog_Static):
|
|
47
|
-
@staticmethod
|
|
48
|
-
def _from(obj: winrt.system.Object, /) -> AppExtensionCatalog: ...
|
|
49
|
-
def find_all(self) -> typing.Optional[windows_foundation_collections.IVectorView[AppExtension]]: ...
|
|
50
|
-
def find_all_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[AppExtension]]: ...
|
|
51
|
-
def request_remove_package_async(self, package_full_name: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
52
|
-
def add_package_installed(self, handler: windows_foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageInstalledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
53
|
-
def remove_package_installed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
54
|
-
def add_package_status_changed(self, handler: windows_foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageStatusChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
55
|
-
def remove_package_status_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
56
|
-
def add_package_uninstalling(self, handler: windows_foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageUninstallingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
57
|
-
def remove_package_uninstalling(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
58
|
-
def add_package_updated(self, handler: windows_foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageUpdatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
59
|
-
def remove_package_updated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
60
|
-
def add_package_updating(self, handler: windows_foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageUpdatingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
61
|
-
def remove_package_updating(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
62
|
-
|
|
63
|
-
@typing.final
|
|
64
|
-
class AppExtensionPackageInstalledEventArgs(winrt.system.Object):
|
|
65
|
-
@staticmethod
|
|
66
|
-
def _from(obj: winrt.system.Object, /) -> AppExtensionPackageInstalledEventArgs: ...
|
|
67
|
-
@_property
|
|
68
|
-
def app_extension_name(self) -> str: ...
|
|
69
|
-
@_property
|
|
70
|
-
def extensions(self) -> typing.Optional[windows_foundation_collections.IVectorView[AppExtension]]: ...
|
|
71
|
-
@_property
|
|
72
|
-
def package(self) -> typing.Optional[windows_applicationmodel.Package]: ...
|
|
73
|
-
|
|
74
|
-
@typing.final
|
|
75
|
-
class AppExtensionPackageStatusChangedEventArgs(winrt.system.Object):
|
|
76
|
-
@staticmethod
|
|
77
|
-
def _from(obj: winrt.system.Object, /) -> AppExtensionPackageStatusChangedEventArgs: ...
|
|
78
|
-
@_property
|
|
79
|
-
def app_extension_name(self) -> str: ...
|
|
80
|
-
@_property
|
|
81
|
-
def package(self) -> typing.Optional[windows_applicationmodel.Package]: ...
|
|
82
|
-
|
|
83
|
-
@typing.final
|
|
84
|
-
class AppExtensionPackageUninstallingEventArgs(winrt.system.Object):
|
|
85
|
-
@staticmethod
|
|
86
|
-
def _from(obj: winrt.system.Object, /) -> AppExtensionPackageUninstallingEventArgs: ...
|
|
87
|
-
@_property
|
|
88
|
-
def app_extension_name(self) -> str: ...
|
|
89
|
-
@_property
|
|
90
|
-
def package(self) -> typing.Optional[windows_applicationmodel.Package]: ...
|
|
91
|
-
|
|
92
|
-
@typing.final
|
|
93
|
-
class AppExtensionPackageUpdatedEventArgs(winrt.system.Object):
|
|
94
|
-
@staticmethod
|
|
95
|
-
def _from(obj: winrt.system.Object, /) -> AppExtensionPackageUpdatedEventArgs: ...
|
|
96
|
-
@_property
|
|
97
|
-
def app_extension_name(self) -> str: ...
|
|
98
|
-
@_property
|
|
99
|
-
def extensions(self) -> typing.Optional[windows_foundation_collections.IVectorView[AppExtension]]: ...
|
|
100
|
-
@_property
|
|
101
|
-
def package(self) -> typing.Optional[windows_applicationmodel.Package]: ...
|
|
102
|
-
|
|
103
|
-
@typing.final
|
|
104
|
-
class AppExtensionPackageUpdatingEventArgs(winrt.system.Object):
|
|
105
|
-
@staticmethod
|
|
106
|
-
def _from(obj: winrt.system.Object, /) -> AppExtensionPackageUpdatingEventArgs: ...
|
|
107
|
-
@_property
|
|
108
|
-
def app_extension_name(self) -> str: ...
|
|
109
|
-
@_property
|
|
110
|
-
def package(self) -> typing.Optional[windows_applicationmodel.Package]: ...
|
|
111
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
|
-
|
|
3
|
-
import winrt.system
|
|
4
|
-
from winrt import _winrt_windows_applicationmodel_appextensions
|
|
5
|
-
|
|
6
|
-
__all__ = [
|
|
7
|
-
"AppExtension",
|
|
8
|
-
"AppExtensionCatalog",
|
|
9
|
-
"AppExtensionPackageInstalledEventArgs",
|
|
10
|
-
"AppExtensionPackageStatusChangedEventArgs",
|
|
11
|
-
"AppExtensionPackageUninstallingEventArgs",
|
|
12
|
-
"AppExtensionPackageUpdatedEventArgs",
|
|
13
|
-
"AppExtensionPackageUpdatingEventArgs",
|
|
14
|
-
]
|
|
15
|
-
|
|
16
|
-
AppExtension = _winrt_windows_applicationmodel_appextensions.AppExtension
|
|
17
|
-
AppExtensionCatalog = _winrt_windows_applicationmodel_appextensions.AppExtensionCatalog
|
|
18
|
-
AppExtensionPackageInstalledEventArgs = _winrt_windows_applicationmodel_appextensions.AppExtensionPackageInstalledEventArgs
|
|
19
|
-
AppExtensionPackageStatusChangedEventArgs = _winrt_windows_applicationmodel_appextensions.AppExtensionPackageStatusChangedEventArgs
|
|
20
|
-
AppExtensionPackageUninstallingEventArgs = _winrt_windows_applicationmodel_appextensions.AppExtensionPackageUninstallingEventArgs
|
|
21
|
-
AppExtensionPackageUpdatedEventArgs = _winrt_windows_applicationmodel_appextensions.AppExtensionPackageUpdatedEventArgs
|
|
22
|
-
AppExtensionPackageUpdatingEventArgs = _winrt_windows_applicationmodel_appextensions.AppExtensionPackageUpdatingEventArgs
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|