winrt-Windows.ApplicationModel.AppExtensions 2.0.1__tar.gz → 2.1.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.0.1 → winrt_windows_applicationmodel_appextensions-2.1.0}/PKG-INFO +6 -6
- winrt_windows_applicationmodel_appextensions-2.1.0/all-requirements.txt +6 -0
- {winrt_windows_applicationmodel_appextensions-2.0.1 → winrt_windows_applicationmodel_appextensions-2.1.0}/py.Windows.ApplicationModel.AppExtensions.cpp +238 -261
- winrt_windows_applicationmodel_appextensions-2.1.0/pywinrt-version.txt +1 -0
- {winrt_windows_applicationmodel_appextensions-2.0.1 → winrt_windows_applicationmodel_appextensions-2.1.0}/requirements.txt +2 -2
- winrt_windows_applicationmodel_appextensions-2.1.0/winrt/_winrt_windows_applicationmodel_appextensions.pyi +107 -0
- {winrt_windows_applicationmodel_appextensions-2.0.1 → winrt_windows_applicationmodel_appextensions-2.1.0}/winrt/windows/applicationmodel/appextensions/__init__.py +1 -1
- {winrt_windows_applicationmodel_appextensions-2.0.1 → winrt_windows_applicationmodel_appextensions-2.1.0}/winrt_Windows.ApplicationModel.AppExtensions.egg-info/PKG-INFO +6 -6
- winrt_windows_applicationmodel_appextensions-2.1.0/winrt_Windows.ApplicationModel.AppExtensions.egg-info/requires.txt +7 -0
- winrt_windows_applicationmodel_appextensions-2.0.1/all-requirements.txt +0 -6
- winrt_windows_applicationmodel_appextensions-2.0.1/pywinrt-version.txt +0 -1
- winrt_windows_applicationmodel_appextensions-2.0.1/winrt/_winrt_windows_applicationmodel_appextensions.pyi +0 -107
- winrt_windows_applicationmodel_appextensions-2.0.1/winrt_Windows.ApplicationModel.AppExtensions.egg-info/requires.txt +0 -7
- {winrt_windows_applicationmodel_appextensions-2.0.1 → winrt_windows_applicationmodel_appextensions-2.1.0}/README.md +0 -0
- {winrt_windows_applicationmodel_appextensions-2.0.1 → winrt_windows_applicationmodel_appextensions-2.1.0}/pyproject.toml +0 -0
- {winrt_windows_applicationmodel_appextensions-2.0.1 → winrt_windows_applicationmodel_appextensions-2.1.0}/setup.cfg +0 -0
- {winrt_windows_applicationmodel_appextensions-2.0.1 → winrt_windows_applicationmodel_appextensions-2.1.0}/setup.py +0 -0
- {winrt_windows_applicationmodel_appextensions-2.0.1 → winrt_windows_applicationmodel_appextensions-2.1.0}/winrt/windows/applicationmodel/appextensions/py.typed +0 -0
- {winrt_windows_applicationmodel_appextensions-2.0.1 → winrt_windows_applicationmodel_appextensions-2.1.0}/winrt_Windows.ApplicationModel.AppExtensions.egg-info/SOURCES.txt +0 -0
- {winrt_windows_applicationmodel_appextensions-2.0.1 → winrt_windows_applicationmodel_appextensions-2.1.0}/winrt_Windows.ApplicationModel.AppExtensions.egg-info/dependency_links.txt +0 -0
- {winrt_windows_applicationmodel_appextensions-2.0.1 → winrt_windows_applicationmodel_appextensions-2.1.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: 2.0
|
|
3
|
+
Version: 2.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -12,12 +12,12 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: <3.13,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.0
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0
|
|
20
|
-
Requires-Dist: winrt-Windows.Storage[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel[all]==2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage[all]==2.1.0; extra == "all"
|
|
21
21
|
|
|
22
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
23
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.ApplicationModel.AppExtensions.h"
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
7
6
|
{
|
|
8
7
|
// ----- AppExtension class --------------------
|
|
@@ -28,14 +27,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
28
27
|
|
|
29
28
|
if (arg_count == 0)
|
|
30
29
|
{
|
|
31
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"GetExtensionPropertiesAsync", 0))
|
|
32
|
-
{
|
|
33
|
-
py::set_arg_count_version_error(0);
|
|
34
|
-
return nullptr;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
30
|
try
|
|
38
31
|
{
|
|
32
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"GetExtensionPropertiesAsync", 0))
|
|
33
|
+
{
|
|
34
|
+
py::set_arg_count_version_error(0);
|
|
35
|
+
return nullptr;
|
|
36
|
+
}
|
|
37
|
+
|
|
39
38
|
return py::convert(self->obj.GetExtensionPropertiesAsync());
|
|
40
39
|
}
|
|
41
40
|
catch (...)
|
|
@@ -57,14 +56,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
57
56
|
|
|
58
57
|
if (arg_count == 0)
|
|
59
58
|
{
|
|
60
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"GetPublicFolderAsync", 0))
|
|
61
|
-
{
|
|
62
|
-
py::set_arg_count_version_error(0);
|
|
63
|
-
return nullptr;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
59
|
try
|
|
67
60
|
{
|
|
61
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"GetPublicFolderAsync", 0))
|
|
62
|
+
{
|
|
63
|
+
py::set_arg_count_version_error(0);
|
|
64
|
+
return nullptr;
|
|
65
|
+
}
|
|
66
|
+
|
|
68
67
|
return py::convert(self->obj.GetPublicFolderAsync());
|
|
69
68
|
}
|
|
70
69
|
catch (...)
|
|
@@ -82,14 +81,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
82
81
|
|
|
83
82
|
static PyObject* AppExtension_get_AppInfo(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtension* self, void* /*unused*/) noexcept
|
|
84
83
|
{
|
|
85
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"AppInfo"))
|
|
86
|
-
{
|
|
87
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
88
|
-
return nullptr;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
84
|
try
|
|
92
85
|
{
|
|
86
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"AppInfo"))
|
|
87
|
+
{
|
|
88
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
89
|
+
return nullptr;
|
|
90
|
+
}
|
|
91
|
+
|
|
93
92
|
return py::convert(self->obj.AppInfo());
|
|
94
93
|
}
|
|
95
94
|
catch (...)
|
|
@@ -101,14 +100,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
101
100
|
|
|
102
101
|
static PyObject* AppExtension_get_Description(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtension* self, void* /*unused*/) noexcept
|
|
103
102
|
{
|
|
104
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"Description"))
|
|
105
|
-
{
|
|
106
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
107
|
-
return nullptr;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
103
|
try
|
|
111
104
|
{
|
|
105
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"Description"))
|
|
106
|
+
{
|
|
107
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
108
|
+
return nullptr;
|
|
109
|
+
}
|
|
110
|
+
|
|
112
111
|
return py::convert(self->obj.Description());
|
|
113
112
|
}
|
|
114
113
|
catch (...)
|
|
@@ -120,14 +119,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
120
119
|
|
|
121
120
|
static PyObject* AppExtension_get_DisplayName(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtension* self, void* /*unused*/) noexcept
|
|
122
121
|
{
|
|
123
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"DisplayName"))
|
|
124
|
-
{
|
|
125
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
126
|
-
return nullptr;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
122
|
try
|
|
130
123
|
{
|
|
124
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"DisplayName"))
|
|
125
|
+
{
|
|
126
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
127
|
+
return nullptr;
|
|
128
|
+
}
|
|
129
|
+
|
|
131
130
|
return py::convert(self->obj.DisplayName());
|
|
132
131
|
}
|
|
133
132
|
catch (...)
|
|
@@ -139,14 +138,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
139
138
|
|
|
140
139
|
static PyObject* AppExtension_get_Id(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtension* self, void* /*unused*/) noexcept
|
|
141
140
|
{
|
|
142
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"Id"))
|
|
143
|
-
{
|
|
144
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
145
|
-
return nullptr;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
141
|
try
|
|
149
142
|
{
|
|
143
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"Id"))
|
|
144
|
+
{
|
|
145
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
146
|
+
return nullptr;
|
|
147
|
+
}
|
|
148
|
+
|
|
150
149
|
return py::convert(self->obj.Id());
|
|
151
150
|
}
|
|
152
151
|
catch (...)
|
|
@@ -158,14 +157,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
158
157
|
|
|
159
158
|
static PyObject* AppExtension_get_Package(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtension* self, void* /*unused*/) noexcept
|
|
160
159
|
{
|
|
161
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"Package"))
|
|
162
|
-
{
|
|
163
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
164
|
-
return nullptr;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
160
|
try
|
|
168
161
|
{
|
|
162
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"Package"))
|
|
163
|
+
{
|
|
164
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
165
|
+
return nullptr;
|
|
166
|
+
}
|
|
167
|
+
|
|
169
168
|
return py::convert(self->obj.Package());
|
|
170
169
|
}
|
|
171
170
|
catch (...)
|
|
@@ -177,14 +176,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
177
176
|
|
|
178
177
|
static PyObject* AppExtension_get_AppUserModelId(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtension* self, void* /*unused*/) noexcept
|
|
179
178
|
{
|
|
180
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"AppUserModelId"))
|
|
181
|
-
{
|
|
182
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
183
|
-
return nullptr;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
179
|
try
|
|
187
180
|
{
|
|
181
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"AppUserModelId"))
|
|
182
|
+
{
|
|
183
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
184
|
+
return nullptr;
|
|
185
|
+
}
|
|
186
|
+
|
|
188
187
|
return py::convert(self->obj.AppUserModelId());
|
|
189
188
|
}
|
|
190
189
|
catch (...)
|
|
@@ -236,23 +235,20 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
236
235
|
{ }
|
|
237
236
|
};
|
|
238
237
|
|
|
239
|
-
static PyType_Slot _type_slots_AppExtension[] =
|
|
240
|
-
{
|
|
238
|
+
static PyType_Slot _type_slots_AppExtension[] = {
|
|
241
239
|
{ Py_tp_new, reinterpret_cast<void*>(_new_AppExtension) },
|
|
242
240
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppExtension) },
|
|
243
241
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_AppExtension) },
|
|
244
242
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_AppExtension) },
|
|
245
|
-
{ }
|
|
243
|
+
{ }
|
|
246
244
|
};
|
|
247
245
|
|
|
248
|
-
static PyType_Spec type_spec_AppExtension =
|
|
249
|
-
{
|
|
246
|
+
static PyType_Spec type_spec_AppExtension = {
|
|
250
247
|
"winrt._winrt_windows_applicationmodel_appextensions.AppExtension",
|
|
251
248
|
sizeof(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtension),
|
|
252
249
|
0,
|
|
253
250
|
Py_TPFLAGS_DEFAULT,
|
|
254
|
-
_type_slots_AppExtension
|
|
255
|
-
};
|
|
251
|
+
_type_slots_AppExtension};
|
|
256
252
|
|
|
257
253
|
// ----- AppExtensionCatalog class --------------------
|
|
258
254
|
|
|
@@ -277,14 +273,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
277
273
|
|
|
278
274
|
if (arg_count == 0)
|
|
279
275
|
{
|
|
280
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"FindAllAsync", 0))
|
|
281
|
-
{
|
|
282
|
-
py::set_arg_count_version_error(0);
|
|
283
|
-
return nullptr;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
276
|
try
|
|
287
277
|
{
|
|
278
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"FindAllAsync", 0))
|
|
279
|
+
{
|
|
280
|
+
py::set_arg_count_version_error(0);
|
|
281
|
+
return nullptr;
|
|
282
|
+
}
|
|
283
|
+
|
|
288
284
|
return py::convert(self->obj.FindAllAsync());
|
|
289
285
|
}
|
|
290
286
|
catch (...)
|
|
@@ -306,14 +302,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
306
302
|
|
|
307
303
|
if (arg_count == 1)
|
|
308
304
|
{
|
|
309
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"Open", 1))
|
|
310
|
-
{
|
|
311
|
-
py::set_arg_count_version_error(1);
|
|
312
|
-
return nullptr;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
305
|
try
|
|
316
306
|
{
|
|
307
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"Open", 1))
|
|
308
|
+
{
|
|
309
|
+
py::set_arg_count_version_error(1);
|
|
310
|
+
return nullptr;
|
|
311
|
+
}
|
|
312
|
+
|
|
317
313
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
318
314
|
|
|
319
315
|
return py::convert(winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog::Open(param0));
|
|
@@ -337,14 +333,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
337
333
|
|
|
338
334
|
if (arg_count == 1)
|
|
339
335
|
{
|
|
340
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"RequestRemovePackageAsync", 1))
|
|
341
|
-
{
|
|
342
|
-
py::set_arg_count_version_error(1);
|
|
343
|
-
return nullptr;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
336
|
try
|
|
347
337
|
{
|
|
338
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"RequestRemovePackageAsync", 1))
|
|
339
|
+
{
|
|
340
|
+
py::set_arg_count_version_error(1);
|
|
341
|
+
return nullptr;
|
|
342
|
+
}
|
|
343
|
+
|
|
348
344
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
349
345
|
|
|
350
346
|
return py::convert(self->obj.RequestRemovePackageAsync(param0));
|
|
@@ -364,14 +360,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
364
360
|
|
|
365
361
|
static PyObject* AppExtensionCatalog_add_PackageInstalled(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog* self, PyObject* arg) noexcept
|
|
366
362
|
{
|
|
367
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageInstalled"))
|
|
368
|
-
{
|
|
369
|
-
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
370
|
-
return nullptr;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
363
|
try
|
|
374
364
|
{
|
|
365
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageInstalled"))
|
|
366
|
+
{
|
|
367
|
+
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
368
|
+
return nullptr;
|
|
369
|
+
}
|
|
370
|
+
|
|
375
371
|
auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageInstalledEventArgs>>(arg);
|
|
376
372
|
|
|
377
373
|
return py::convert(self->obj.PackageInstalled(param0));
|
|
@@ -385,14 +381,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
385
381
|
|
|
386
382
|
static PyObject* AppExtensionCatalog_remove_PackageInstalled(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog* self, PyObject* arg) noexcept
|
|
387
383
|
{
|
|
388
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageInstalled"))
|
|
389
|
-
{
|
|
390
|
-
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
391
|
-
return nullptr;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
384
|
try
|
|
395
385
|
{
|
|
386
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageInstalled"))
|
|
387
|
+
{
|
|
388
|
+
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
389
|
+
return nullptr;
|
|
390
|
+
}
|
|
391
|
+
|
|
396
392
|
auto param0 = py::convert_to<winrt::event_token>(arg);
|
|
397
393
|
|
|
398
394
|
self->obj.PackageInstalled(param0);
|
|
@@ -407,14 +403,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
407
403
|
|
|
408
404
|
static PyObject* AppExtensionCatalog_add_PackageStatusChanged(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog* self, PyObject* arg) noexcept
|
|
409
405
|
{
|
|
410
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageStatusChanged"))
|
|
411
|
-
{
|
|
412
|
-
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
413
|
-
return nullptr;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
406
|
try
|
|
417
407
|
{
|
|
408
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageStatusChanged"))
|
|
409
|
+
{
|
|
410
|
+
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
411
|
+
return nullptr;
|
|
412
|
+
}
|
|
413
|
+
|
|
418
414
|
auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageStatusChangedEventArgs>>(arg);
|
|
419
415
|
|
|
420
416
|
return py::convert(self->obj.PackageStatusChanged(param0));
|
|
@@ -428,14 +424,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
428
424
|
|
|
429
425
|
static PyObject* AppExtensionCatalog_remove_PackageStatusChanged(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog* self, PyObject* arg) noexcept
|
|
430
426
|
{
|
|
431
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageStatusChanged"))
|
|
432
|
-
{
|
|
433
|
-
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
434
|
-
return nullptr;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
427
|
try
|
|
438
428
|
{
|
|
429
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageStatusChanged"))
|
|
430
|
+
{
|
|
431
|
+
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
432
|
+
return nullptr;
|
|
433
|
+
}
|
|
434
|
+
|
|
439
435
|
auto param0 = py::convert_to<winrt::event_token>(arg);
|
|
440
436
|
|
|
441
437
|
self->obj.PackageStatusChanged(param0);
|
|
@@ -450,14 +446,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
450
446
|
|
|
451
447
|
static PyObject* AppExtensionCatalog_add_PackageUninstalling(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog* self, PyObject* arg) noexcept
|
|
452
448
|
{
|
|
453
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageUninstalling"))
|
|
454
|
-
{
|
|
455
|
-
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
456
|
-
return nullptr;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
449
|
try
|
|
460
450
|
{
|
|
451
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageUninstalling"))
|
|
452
|
+
{
|
|
453
|
+
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
454
|
+
return nullptr;
|
|
455
|
+
}
|
|
456
|
+
|
|
461
457
|
auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUninstallingEventArgs>>(arg);
|
|
462
458
|
|
|
463
459
|
return py::convert(self->obj.PackageUninstalling(param0));
|
|
@@ -471,14 +467,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
471
467
|
|
|
472
468
|
static PyObject* AppExtensionCatalog_remove_PackageUninstalling(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog* self, PyObject* arg) noexcept
|
|
473
469
|
{
|
|
474
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageUninstalling"))
|
|
475
|
-
{
|
|
476
|
-
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
477
|
-
return nullptr;
|
|
478
|
-
}
|
|
479
|
-
|
|
480
470
|
try
|
|
481
471
|
{
|
|
472
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageUninstalling"))
|
|
473
|
+
{
|
|
474
|
+
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
475
|
+
return nullptr;
|
|
476
|
+
}
|
|
477
|
+
|
|
482
478
|
auto param0 = py::convert_to<winrt::event_token>(arg);
|
|
483
479
|
|
|
484
480
|
self->obj.PackageUninstalling(param0);
|
|
@@ -493,14 +489,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
493
489
|
|
|
494
490
|
static PyObject* AppExtensionCatalog_add_PackageUpdated(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog* self, PyObject* arg) noexcept
|
|
495
491
|
{
|
|
496
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageUpdated"))
|
|
497
|
-
{
|
|
498
|
-
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
499
|
-
return nullptr;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
492
|
try
|
|
503
493
|
{
|
|
494
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageUpdated"))
|
|
495
|
+
{
|
|
496
|
+
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
497
|
+
return nullptr;
|
|
498
|
+
}
|
|
499
|
+
|
|
504
500
|
auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatedEventArgs>>(arg);
|
|
505
501
|
|
|
506
502
|
return py::convert(self->obj.PackageUpdated(param0));
|
|
@@ -514,14 +510,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
514
510
|
|
|
515
511
|
static PyObject* AppExtensionCatalog_remove_PackageUpdated(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog* self, PyObject* arg) noexcept
|
|
516
512
|
{
|
|
517
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageUpdated"))
|
|
518
|
-
{
|
|
519
|
-
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
520
|
-
return nullptr;
|
|
521
|
-
}
|
|
522
|
-
|
|
523
513
|
try
|
|
524
514
|
{
|
|
515
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageUpdated"))
|
|
516
|
+
{
|
|
517
|
+
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
518
|
+
return nullptr;
|
|
519
|
+
}
|
|
520
|
+
|
|
525
521
|
auto param0 = py::convert_to<winrt::event_token>(arg);
|
|
526
522
|
|
|
527
523
|
self->obj.PackageUpdated(param0);
|
|
@@ -536,14 +532,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
536
532
|
|
|
537
533
|
static PyObject* AppExtensionCatalog_add_PackageUpdating(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog* self, PyObject* arg) noexcept
|
|
538
534
|
{
|
|
539
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageUpdating"))
|
|
540
|
-
{
|
|
541
|
-
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
542
|
-
return nullptr;
|
|
543
|
-
}
|
|
544
|
-
|
|
545
535
|
try
|
|
546
536
|
{
|
|
537
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageUpdating"))
|
|
538
|
+
{
|
|
539
|
+
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
540
|
+
return nullptr;
|
|
541
|
+
}
|
|
542
|
+
|
|
547
543
|
auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatingEventArgs>>(arg);
|
|
548
544
|
|
|
549
545
|
return py::convert(self->obj.PackageUpdating(param0));
|
|
@@ -557,14 +553,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
557
553
|
|
|
558
554
|
static PyObject* AppExtensionCatalog_remove_PackageUpdating(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog* self, PyObject* arg) noexcept
|
|
559
555
|
{
|
|
560
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageUpdating"))
|
|
561
|
-
{
|
|
562
|
-
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
563
|
-
return nullptr;
|
|
564
|
-
}
|
|
565
|
-
|
|
566
556
|
try
|
|
567
557
|
{
|
|
558
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"PackageUpdating"))
|
|
559
|
+
{
|
|
560
|
+
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
561
|
+
return nullptr;
|
|
562
|
+
}
|
|
563
|
+
|
|
568
564
|
auto param0 = py::convert_to<winrt::event_token>(arg);
|
|
569
565
|
|
|
570
566
|
self->obj.PackageUpdating(param0);
|
|
@@ -623,23 +619,20 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
623
619
|
{ }
|
|
624
620
|
};
|
|
625
621
|
|
|
626
|
-
static PyType_Slot _type_slots_AppExtensionCatalog[] =
|
|
627
|
-
{
|
|
622
|
+
static PyType_Slot _type_slots_AppExtensionCatalog[] = {
|
|
628
623
|
{ Py_tp_new, reinterpret_cast<void*>(_new_AppExtensionCatalog) },
|
|
629
624
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppExtensionCatalog) },
|
|
630
625
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_AppExtensionCatalog) },
|
|
631
626
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_AppExtensionCatalog) },
|
|
632
|
-
{ }
|
|
627
|
+
{ }
|
|
633
628
|
};
|
|
634
629
|
|
|
635
|
-
static PyType_Spec type_spec_AppExtensionCatalog =
|
|
636
|
-
{
|
|
630
|
+
static PyType_Spec type_spec_AppExtensionCatalog = {
|
|
637
631
|
"winrt._winrt_windows_applicationmodel_appextensions.AppExtensionCatalog",
|
|
638
632
|
sizeof(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog),
|
|
639
633
|
0,
|
|
640
634
|
Py_TPFLAGS_DEFAULT,
|
|
641
|
-
_type_slots_AppExtensionCatalog
|
|
642
|
-
};
|
|
635
|
+
_type_slots_AppExtensionCatalog};
|
|
643
636
|
|
|
644
637
|
static PyGetSetDef getset_AppExtensionCatalog_Static[] = {
|
|
645
638
|
{ }
|
|
@@ -686,14 +679,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
686
679
|
|
|
687
680
|
static PyObject* AppExtensionPackageInstalledEventArgs_get_AppExtensionName(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionPackageInstalledEventArgs* self, void* /*unused*/) noexcept
|
|
688
681
|
{
|
|
689
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageInstalledEventArgs", L"AppExtensionName"))
|
|
690
|
-
{
|
|
691
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
692
|
-
return nullptr;
|
|
693
|
-
}
|
|
694
|
-
|
|
695
682
|
try
|
|
696
683
|
{
|
|
684
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageInstalledEventArgs", L"AppExtensionName"))
|
|
685
|
+
{
|
|
686
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
687
|
+
return nullptr;
|
|
688
|
+
}
|
|
689
|
+
|
|
697
690
|
return py::convert(self->obj.AppExtensionName());
|
|
698
691
|
}
|
|
699
692
|
catch (...)
|
|
@@ -705,14 +698,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
705
698
|
|
|
706
699
|
static PyObject* AppExtensionPackageInstalledEventArgs_get_Extensions(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionPackageInstalledEventArgs* self, void* /*unused*/) noexcept
|
|
707
700
|
{
|
|
708
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageInstalledEventArgs", L"Extensions"))
|
|
709
|
-
{
|
|
710
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
711
|
-
return nullptr;
|
|
712
|
-
}
|
|
713
|
-
|
|
714
701
|
try
|
|
715
702
|
{
|
|
703
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageInstalledEventArgs", L"Extensions"))
|
|
704
|
+
{
|
|
705
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
706
|
+
return nullptr;
|
|
707
|
+
}
|
|
708
|
+
|
|
716
709
|
return py::convert(self->obj.Extensions());
|
|
717
710
|
}
|
|
718
711
|
catch (...)
|
|
@@ -724,14 +717,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
724
717
|
|
|
725
718
|
static PyObject* AppExtensionPackageInstalledEventArgs_get_Package(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionPackageInstalledEventArgs* self, void* /*unused*/) noexcept
|
|
726
719
|
{
|
|
727
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageInstalledEventArgs", L"Package"))
|
|
728
|
-
{
|
|
729
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
730
|
-
return nullptr;
|
|
731
|
-
}
|
|
732
|
-
|
|
733
720
|
try
|
|
734
721
|
{
|
|
722
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageInstalledEventArgs", L"Package"))
|
|
723
|
+
{
|
|
724
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
725
|
+
return nullptr;
|
|
726
|
+
}
|
|
727
|
+
|
|
735
728
|
return py::convert(self->obj.Package());
|
|
736
729
|
}
|
|
737
730
|
catch (...)
|
|
@@ -778,23 +771,20 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
778
771
|
{ }
|
|
779
772
|
};
|
|
780
773
|
|
|
781
|
-
static PyType_Slot _type_slots_AppExtensionPackageInstalledEventArgs[] =
|
|
782
|
-
{
|
|
774
|
+
static PyType_Slot _type_slots_AppExtensionPackageInstalledEventArgs[] = {
|
|
783
775
|
{ Py_tp_new, reinterpret_cast<void*>(_new_AppExtensionPackageInstalledEventArgs) },
|
|
784
776
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppExtensionPackageInstalledEventArgs) },
|
|
785
777
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_AppExtensionPackageInstalledEventArgs) },
|
|
786
778
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_AppExtensionPackageInstalledEventArgs) },
|
|
787
|
-
{ }
|
|
779
|
+
{ }
|
|
788
780
|
};
|
|
789
781
|
|
|
790
|
-
static PyType_Spec type_spec_AppExtensionPackageInstalledEventArgs =
|
|
791
|
-
{
|
|
782
|
+
static PyType_Spec type_spec_AppExtensionPackageInstalledEventArgs = {
|
|
792
783
|
"winrt._winrt_windows_applicationmodel_appextensions.AppExtensionPackageInstalledEventArgs",
|
|
793
784
|
sizeof(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionPackageInstalledEventArgs),
|
|
794
785
|
0,
|
|
795
786
|
Py_TPFLAGS_DEFAULT,
|
|
796
|
-
_type_slots_AppExtensionPackageInstalledEventArgs
|
|
797
|
-
};
|
|
787
|
+
_type_slots_AppExtensionPackageInstalledEventArgs};
|
|
798
788
|
|
|
799
789
|
// ----- AppExtensionPackageStatusChangedEventArgs class --------------------
|
|
800
790
|
|
|
@@ -815,14 +805,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
815
805
|
|
|
816
806
|
static PyObject* AppExtensionPackageStatusChangedEventArgs_get_AppExtensionName(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionPackageStatusChangedEventArgs* self, void* /*unused*/) noexcept
|
|
817
807
|
{
|
|
818
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageStatusChangedEventArgs", L"AppExtensionName"))
|
|
819
|
-
{
|
|
820
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
821
|
-
return nullptr;
|
|
822
|
-
}
|
|
823
|
-
|
|
824
808
|
try
|
|
825
809
|
{
|
|
810
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageStatusChangedEventArgs", L"AppExtensionName"))
|
|
811
|
+
{
|
|
812
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
813
|
+
return nullptr;
|
|
814
|
+
}
|
|
815
|
+
|
|
826
816
|
return py::convert(self->obj.AppExtensionName());
|
|
827
817
|
}
|
|
828
818
|
catch (...)
|
|
@@ -834,14 +824,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
834
824
|
|
|
835
825
|
static PyObject* AppExtensionPackageStatusChangedEventArgs_get_Package(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionPackageStatusChangedEventArgs* self, void* /*unused*/) noexcept
|
|
836
826
|
{
|
|
837
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageStatusChangedEventArgs", L"Package"))
|
|
838
|
-
{
|
|
839
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
840
|
-
return nullptr;
|
|
841
|
-
}
|
|
842
|
-
|
|
843
827
|
try
|
|
844
828
|
{
|
|
829
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageStatusChangedEventArgs", L"Package"))
|
|
830
|
+
{
|
|
831
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
832
|
+
return nullptr;
|
|
833
|
+
}
|
|
834
|
+
|
|
845
835
|
return py::convert(self->obj.Package());
|
|
846
836
|
}
|
|
847
837
|
catch (...)
|
|
@@ -887,23 +877,20 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
887
877
|
{ }
|
|
888
878
|
};
|
|
889
879
|
|
|
890
|
-
static PyType_Slot _type_slots_AppExtensionPackageStatusChangedEventArgs[] =
|
|
891
|
-
{
|
|
880
|
+
static PyType_Slot _type_slots_AppExtensionPackageStatusChangedEventArgs[] = {
|
|
892
881
|
{ Py_tp_new, reinterpret_cast<void*>(_new_AppExtensionPackageStatusChangedEventArgs) },
|
|
893
882
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppExtensionPackageStatusChangedEventArgs) },
|
|
894
883
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_AppExtensionPackageStatusChangedEventArgs) },
|
|
895
884
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_AppExtensionPackageStatusChangedEventArgs) },
|
|
896
|
-
{ }
|
|
885
|
+
{ }
|
|
897
886
|
};
|
|
898
887
|
|
|
899
|
-
static PyType_Spec type_spec_AppExtensionPackageStatusChangedEventArgs =
|
|
900
|
-
{
|
|
888
|
+
static PyType_Spec type_spec_AppExtensionPackageStatusChangedEventArgs = {
|
|
901
889
|
"winrt._winrt_windows_applicationmodel_appextensions.AppExtensionPackageStatusChangedEventArgs",
|
|
902
890
|
sizeof(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionPackageStatusChangedEventArgs),
|
|
903
891
|
0,
|
|
904
892
|
Py_TPFLAGS_DEFAULT,
|
|
905
|
-
_type_slots_AppExtensionPackageStatusChangedEventArgs
|
|
906
|
-
};
|
|
893
|
+
_type_slots_AppExtensionPackageStatusChangedEventArgs};
|
|
907
894
|
|
|
908
895
|
// ----- AppExtensionPackageUninstallingEventArgs class --------------------
|
|
909
896
|
|
|
@@ -924,14 +911,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
924
911
|
|
|
925
912
|
static PyObject* AppExtensionPackageUninstallingEventArgs_get_AppExtensionName(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUninstallingEventArgs* self, void* /*unused*/) noexcept
|
|
926
913
|
{
|
|
927
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageUninstallingEventArgs", L"AppExtensionName"))
|
|
928
|
-
{
|
|
929
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
930
|
-
return nullptr;
|
|
931
|
-
}
|
|
932
|
-
|
|
933
914
|
try
|
|
934
915
|
{
|
|
916
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageUninstallingEventArgs", L"AppExtensionName"))
|
|
917
|
+
{
|
|
918
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
919
|
+
return nullptr;
|
|
920
|
+
}
|
|
921
|
+
|
|
935
922
|
return py::convert(self->obj.AppExtensionName());
|
|
936
923
|
}
|
|
937
924
|
catch (...)
|
|
@@ -943,14 +930,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
943
930
|
|
|
944
931
|
static PyObject* AppExtensionPackageUninstallingEventArgs_get_Package(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUninstallingEventArgs* self, void* /*unused*/) noexcept
|
|
945
932
|
{
|
|
946
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageUninstallingEventArgs", L"Package"))
|
|
947
|
-
{
|
|
948
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
949
|
-
return nullptr;
|
|
950
|
-
}
|
|
951
|
-
|
|
952
933
|
try
|
|
953
934
|
{
|
|
935
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageUninstallingEventArgs", L"Package"))
|
|
936
|
+
{
|
|
937
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
938
|
+
return nullptr;
|
|
939
|
+
}
|
|
940
|
+
|
|
954
941
|
return py::convert(self->obj.Package());
|
|
955
942
|
}
|
|
956
943
|
catch (...)
|
|
@@ -996,23 +983,20 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
996
983
|
{ }
|
|
997
984
|
};
|
|
998
985
|
|
|
999
|
-
static PyType_Slot _type_slots_AppExtensionPackageUninstallingEventArgs[] =
|
|
1000
|
-
{
|
|
986
|
+
static PyType_Slot _type_slots_AppExtensionPackageUninstallingEventArgs[] = {
|
|
1001
987
|
{ Py_tp_new, reinterpret_cast<void*>(_new_AppExtensionPackageUninstallingEventArgs) },
|
|
1002
988
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppExtensionPackageUninstallingEventArgs) },
|
|
1003
989
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_AppExtensionPackageUninstallingEventArgs) },
|
|
1004
990
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_AppExtensionPackageUninstallingEventArgs) },
|
|
1005
|
-
{ }
|
|
991
|
+
{ }
|
|
1006
992
|
};
|
|
1007
993
|
|
|
1008
|
-
static PyType_Spec type_spec_AppExtensionPackageUninstallingEventArgs =
|
|
1009
|
-
{
|
|
994
|
+
static PyType_Spec type_spec_AppExtensionPackageUninstallingEventArgs = {
|
|
1010
995
|
"winrt._winrt_windows_applicationmodel_appextensions.AppExtensionPackageUninstallingEventArgs",
|
|
1011
996
|
sizeof(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUninstallingEventArgs),
|
|
1012
997
|
0,
|
|
1013
998
|
Py_TPFLAGS_DEFAULT,
|
|
1014
|
-
_type_slots_AppExtensionPackageUninstallingEventArgs
|
|
1015
|
-
};
|
|
999
|
+
_type_slots_AppExtensionPackageUninstallingEventArgs};
|
|
1016
1000
|
|
|
1017
1001
|
// ----- AppExtensionPackageUpdatedEventArgs class --------------------
|
|
1018
1002
|
|
|
@@ -1033,14 +1017,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1033
1017
|
|
|
1034
1018
|
static PyObject* AppExtensionPackageUpdatedEventArgs_get_AppExtensionName(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatedEventArgs* self, void* /*unused*/) noexcept
|
|
1035
1019
|
{
|
|
1036
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatedEventArgs", L"AppExtensionName"))
|
|
1037
|
-
{
|
|
1038
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1039
|
-
return nullptr;
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
1020
|
try
|
|
1043
1021
|
{
|
|
1022
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatedEventArgs", L"AppExtensionName"))
|
|
1023
|
+
{
|
|
1024
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1025
|
+
return nullptr;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1044
1028
|
return py::convert(self->obj.AppExtensionName());
|
|
1045
1029
|
}
|
|
1046
1030
|
catch (...)
|
|
@@ -1052,14 +1036,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1052
1036
|
|
|
1053
1037
|
static PyObject* AppExtensionPackageUpdatedEventArgs_get_Extensions(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatedEventArgs* self, void* /*unused*/) noexcept
|
|
1054
1038
|
{
|
|
1055
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatedEventArgs", L"Extensions"))
|
|
1056
|
-
{
|
|
1057
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1058
|
-
return nullptr;
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
1039
|
try
|
|
1062
1040
|
{
|
|
1041
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatedEventArgs", L"Extensions"))
|
|
1042
|
+
{
|
|
1043
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1044
|
+
return nullptr;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1063
1047
|
return py::convert(self->obj.Extensions());
|
|
1064
1048
|
}
|
|
1065
1049
|
catch (...)
|
|
@@ -1071,14 +1055,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1071
1055
|
|
|
1072
1056
|
static PyObject* AppExtensionPackageUpdatedEventArgs_get_Package(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatedEventArgs* self, void* /*unused*/) noexcept
|
|
1073
1057
|
{
|
|
1074
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatedEventArgs", L"Package"))
|
|
1075
|
-
{
|
|
1076
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1077
|
-
return nullptr;
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
1058
|
try
|
|
1081
1059
|
{
|
|
1060
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatedEventArgs", L"Package"))
|
|
1061
|
+
{
|
|
1062
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1063
|
+
return nullptr;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1082
1066
|
return py::convert(self->obj.Package());
|
|
1083
1067
|
}
|
|
1084
1068
|
catch (...)
|
|
@@ -1125,23 +1109,20 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1125
1109
|
{ }
|
|
1126
1110
|
};
|
|
1127
1111
|
|
|
1128
|
-
static PyType_Slot _type_slots_AppExtensionPackageUpdatedEventArgs[] =
|
|
1129
|
-
{
|
|
1112
|
+
static PyType_Slot _type_slots_AppExtensionPackageUpdatedEventArgs[] = {
|
|
1130
1113
|
{ Py_tp_new, reinterpret_cast<void*>(_new_AppExtensionPackageUpdatedEventArgs) },
|
|
1131
1114
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppExtensionPackageUpdatedEventArgs) },
|
|
1132
1115
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_AppExtensionPackageUpdatedEventArgs) },
|
|
1133
1116
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_AppExtensionPackageUpdatedEventArgs) },
|
|
1134
|
-
{ }
|
|
1117
|
+
{ }
|
|
1135
1118
|
};
|
|
1136
1119
|
|
|
1137
|
-
static PyType_Spec type_spec_AppExtensionPackageUpdatedEventArgs =
|
|
1138
|
-
{
|
|
1120
|
+
static PyType_Spec type_spec_AppExtensionPackageUpdatedEventArgs = {
|
|
1139
1121
|
"winrt._winrt_windows_applicationmodel_appextensions.AppExtensionPackageUpdatedEventArgs",
|
|
1140
1122
|
sizeof(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatedEventArgs),
|
|
1141
1123
|
0,
|
|
1142
1124
|
Py_TPFLAGS_DEFAULT,
|
|
1143
|
-
_type_slots_AppExtensionPackageUpdatedEventArgs
|
|
1144
|
-
};
|
|
1125
|
+
_type_slots_AppExtensionPackageUpdatedEventArgs};
|
|
1145
1126
|
|
|
1146
1127
|
// ----- AppExtensionPackageUpdatingEventArgs class --------------------
|
|
1147
1128
|
|
|
@@ -1162,14 +1143,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1162
1143
|
|
|
1163
1144
|
static PyObject* AppExtensionPackageUpdatingEventArgs_get_AppExtensionName(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatingEventArgs* self, void* /*unused*/) noexcept
|
|
1164
1145
|
{
|
|
1165
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatingEventArgs", L"AppExtensionName"))
|
|
1166
|
-
{
|
|
1167
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1168
|
-
return nullptr;
|
|
1169
|
-
}
|
|
1170
|
-
|
|
1171
1146
|
try
|
|
1172
1147
|
{
|
|
1148
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatingEventArgs", L"AppExtensionName"))
|
|
1149
|
+
{
|
|
1150
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1151
|
+
return nullptr;
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1173
1154
|
return py::convert(self->obj.AppExtensionName());
|
|
1174
1155
|
}
|
|
1175
1156
|
catch (...)
|
|
@@ -1181,14 +1162,14 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1181
1162
|
|
|
1182
1163
|
static PyObject* AppExtensionPackageUpdatingEventArgs_get_Package(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatingEventArgs* self, void* /*unused*/) noexcept
|
|
1183
1164
|
{
|
|
1184
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatingEventArgs", L"Package"))
|
|
1185
|
-
{
|
|
1186
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1187
|
-
return nullptr;
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
1165
|
try
|
|
1191
1166
|
{
|
|
1167
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatingEventArgs", L"Package"))
|
|
1168
|
+
{
|
|
1169
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1170
|
+
return nullptr;
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1192
1173
|
return py::convert(self->obj.Package());
|
|
1193
1174
|
}
|
|
1194
1175
|
catch (...)
|
|
@@ -1234,39 +1215,35 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
1234
1215
|
{ }
|
|
1235
1216
|
};
|
|
1236
1217
|
|
|
1237
|
-
static PyType_Slot _type_slots_AppExtensionPackageUpdatingEventArgs[] =
|
|
1238
|
-
{
|
|
1218
|
+
static PyType_Slot _type_slots_AppExtensionPackageUpdatingEventArgs[] = {
|
|
1239
1219
|
{ Py_tp_new, reinterpret_cast<void*>(_new_AppExtensionPackageUpdatingEventArgs) },
|
|
1240
1220
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppExtensionPackageUpdatingEventArgs) },
|
|
1241
1221
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_AppExtensionPackageUpdatingEventArgs) },
|
|
1242
1222
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_AppExtensionPackageUpdatingEventArgs) },
|
|
1243
|
-
{ }
|
|
1223
|
+
{ }
|
|
1244
1224
|
};
|
|
1245
1225
|
|
|
1246
|
-
static PyType_Spec type_spec_AppExtensionPackageUpdatingEventArgs =
|
|
1247
|
-
{
|
|
1226
|
+
static PyType_Spec type_spec_AppExtensionPackageUpdatingEventArgs = {
|
|
1248
1227
|
"winrt._winrt_windows_applicationmodel_appextensions.AppExtensionPackageUpdatingEventArgs",
|
|
1249
1228
|
sizeof(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatingEventArgs),
|
|
1250
1229
|
0,
|
|
1251
1230
|
Py_TPFLAGS_DEFAULT,
|
|
1252
|
-
_type_slots_AppExtensionPackageUpdatingEventArgs
|
|
1253
|
-
};
|
|
1231
|
+
_type_slots_AppExtensionPackageUpdatingEventArgs};
|
|
1254
1232
|
|
|
1255
1233
|
// ----- Windows.ApplicationModel.AppExtensions Initialization --------------------
|
|
1256
|
-
PyDoc_STRVAR(module_doc, "Windows::ApplicationModel::AppExtensions");
|
|
1257
1234
|
|
|
1235
|
+
PyDoc_STRVAR(module_doc, "Windows.ApplicationModel.AppExtensions");
|
|
1258
1236
|
|
|
1259
|
-
static PyModuleDef module_def
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1237
|
+
static PyModuleDef module_def = {
|
|
1238
|
+
PyModuleDef_HEAD_INIT,
|
|
1239
|
+
"_winrt_windows_applicationmodel_appextensions",
|
|
1240
|
+
module_doc,
|
|
1241
|
+
0,
|
|
1242
|
+
nullptr,
|
|
1243
|
+
nullptr,
|
|
1244
|
+
nullptr,
|
|
1245
|
+
nullptr,
|
|
1246
|
+
nullptr};
|
|
1270
1247
|
} // py::cpp::Windows::ApplicationModel::AppExtensions
|
|
1271
1248
|
|
|
1272
1249
|
PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_appextensions(void) noexcept
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.1.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0
|
|
3
|
+
winrt-runtime==2.1.0
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.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_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IPropertySet]: ...
|
|
24
|
+
def get_public_folder_async(self) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
|
|
25
|
+
@_property
|
|
26
|
+
def app_info(self) -> typing.Optional[windows_applicationmodel.AppInfo]: ...
|
|
27
|
+
@_property
|
|
28
|
+
def description(self) -> str: ...
|
|
29
|
+
@_property
|
|
30
|
+
def display_name(self) -> str: ...
|
|
31
|
+
@_property
|
|
32
|
+
def id(self) -> str: ...
|
|
33
|
+
@_property
|
|
34
|
+
def package(self) -> typing.Optional[windows_applicationmodel.Package]: ...
|
|
35
|
+
@_property
|
|
36
|
+
def app_user_model_id(self) -> str: ...
|
|
37
|
+
|
|
38
|
+
@typing.final
|
|
39
|
+
class AppExtensionCatalog_Static(type):
|
|
40
|
+
def open(cls, app_extension_name: str, /) -> typing.Optional[AppExtensionCatalog]: ...
|
|
41
|
+
|
|
42
|
+
@typing.final
|
|
43
|
+
class AppExtensionCatalog(winrt.system.Object, metaclass=AppExtensionCatalog_Static):
|
|
44
|
+
@staticmethod
|
|
45
|
+
def _from(obj: winrt.system.Object, /) -> AppExtensionCatalog: ...
|
|
46
|
+
def find_all_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[AppExtension]]: ...
|
|
47
|
+
def request_remove_package_async(self, package_full_name: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
48
|
+
def add_package_installed(self, handler: windows_foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageInstalledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
49
|
+
def remove_package_installed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
50
|
+
def add_package_status_changed(self, handler: windows_foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageStatusChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
51
|
+
def remove_package_status_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
52
|
+
def add_package_uninstalling(self, handler: windows_foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageUninstallingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
53
|
+
def remove_package_uninstalling(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
54
|
+
def add_package_updated(self, handler: windows_foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageUpdatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
55
|
+
def remove_package_updated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
56
|
+
def add_package_updating(self, handler: windows_foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageUpdatingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
57
|
+
def remove_package_updating(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
58
|
+
|
|
59
|
+
@typing.final
|
|
60
|
+
class AppExtensionPackageInstalledEventArgs(winrt.system.Object):
|
|
61
|
+
@staticmethod
|
|
62
|
+
def _from(obj: winrt.system.Object, /) -> AppExtensionPackageInstalledEventArgs: ...
|
|
63
|
+
@_property
|
|
64
|
+
def app_extension_name(self) -> str: ...
|
|
65
|
+
@_property
|
|
66
|
+
def extensions(self) -> typing.Optional[windows_foundation_collections.IVectorView[AppExtension]]: ...
|
|
67
|
+
@_property
|
|
68
|
+
def package(self) -> typing.Optional[windows_applicationmodel.Package]: ...
|
|
69
|
+
|
|
70
|
+
@typing.final
|
|
71
|
+
class AppExtensionPackageStatusChangedEventArgs(winrt.system.Object):
|
|
72
|
+
@staticmethod
|
|
73
|
+
def _from(obj: winrt.system.Object, /) -> AppExtensionPackageStatusChangedEventArgs: ...
|
|
74
|
+
@_property
|
|
75
|
+
def app_extension_name(self) -> str: ...
|
|
76
|
+
@_property
|
|
77
|
+
def package(self) -> typing.Optional[windows_applicationmodel.Package]: ...
|
|
78
|
+
|
|
79
|
+
@typing.final
|
|
80
|
+
class AppExtensionPackageUninstallingEventArgs(winrt.system.Object):
|
|
81
|
+
@staticmethod
|
|
82
|
+
def _from(obj: winrt.system.Object, /) -> AppExtensionPackageUninstallingEventArgs: ...
|
|
83
|
+
@_property
|
|
84
|
+
def app_extension_name(self) -> str: ...
|
|
85
|
+
@_property
|
|
86
|
+
def package(self) -> typing.Optional[windows_applicationmodel.Package]: ...
|
|
87
|
+
|
|
88
|
+
@typing.final
|
|
89
|
+
class AppExtensionPackageUpdatedEventArgs(winrt.system.Object):
|
|
90
|
+
@staticmethod
|
|
91
|
+
def _from(obj: winrt.system.Object, /) -> AppExtensionPackageUpdatedEventArgs: ...
|
|
92
|
+
@_property
|
|
93
|
+
def app_extension_name(self) -> str: ...
|
|
94
|
+
@_property
|
|
95
|
+
def extensions(self) -> typing.Optional[windows_foundation_collections.IVectorView[AppExtension]]: ...
|
|
96
|
+
@_property
|
|
97
|
+
def package(self) -> typing.Optional[windows_applicationmodel.Package]: ...
|
|
98
|
+
|
|
99
|
+
@typing.final
|
|
100
|
+
class AppExtensionPackageUpdatingEventArgs(winrt.system.Object):
|
|
101
|
+
@staticmethod
|
|
102
|
+
def _from(obj: winrt.system.Object, /) -> AppExtensionPackageUpdatingEventArgs: ...
|
|
103
|
+
@_property
|
|
104
|
+
def app_extension_name(self) -> str: ...
|
|
105
|
+
@_property
|
|
106
|
+
def package(self) -> typing.Optional[windows_applicationmodel.Package]: ...
|
|
107
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.AppExtensions
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -12,12 +12,12 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: <3.13,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.0
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0
|
|
20
|
-
Requires-Dist: winrt-Windows.Storage[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel[all]==2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage[all]==2.1.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.0.1
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
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
|
|
13
|
-
import winrt.windows.foundation
|
|
14
|
-
import winrt.windows.foundation.collections
|
|
15
|
-
import winrt.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_async(self) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IPropertySet]: ...
|
|
24
|
-
def get_public_folder_async(self) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.StorageFolder]: ...
|
|
25
|
-
@_property
|
|
26
|
-
def app_info(self) -> typing.Optional[winrt.windows.applicationmodel.AppInfo]: ...
|
|
27
|
-
@_property
|
|
28
|
-
def description(self) -> str: ...
|
|
29
|
-
@_property
|
|
30
|
-
def display_name(self) -> str: ...
|
|
31
|
-
@_property
|
|
32
|
-
def id(self) -> str: ...
|
|
33
|
-
@_property
|
|
34
|
-
def package(self) -> typing.Optional[winrt.windows.applicationmodel.Package]: ...
|
|
35
|
-
@_property
|
|
36
|
-
def app_user_model_id(self) -> str: ...
|
|
37
|
-
|
|
38
|
-
@typing.final
|
|
39
|
-
class AppExtensionCatalog_Static(type):
|
|
40
|
-
def open(cls, app_extension_name: str, /) -> typing.Optional[AppExtensionCatalog]: ...
|
|
41
|
-
|
|
42
|
-
@typing.final
|
|
43
|
-
class AppExtensionCatalog(winrt.system.Object, metaclass=AppExtensionCatalog_Static):
|
|
44
|
-
@staticmethod
|
|
45
|
-
def _from(obj: winrt.system.Object, /) -> AppExtensionCatalog: ...
|
|
46
|
-
def find_all_async(self) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[AppExtension]]: ...
|
|
47
|
-
def request_remove_package_async(self, package_full_name: str, /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
|
|
48
|
-
def add_package_installed(self, handler: winrt.windows.foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageInstalledEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
49
|
-
def remove_package_installed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
50
|
-
def add_package_status_changed(self, handler: winrt.windows.foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageStatusChangedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
51
|
-
def remove_package_status_changed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
52
|
-
def add_package_uninstalling(self, handler: winrt.windows.foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageUninstallingEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
53
|
-
def remove_package_uninstalling(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
54
|
-
def add_package_updated(self, handler: winrt.windows.foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageUpdatedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
55
|
-
def remove_package_updated(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
56
|
-
def add_package_updating(self, handler: winrt.windows.foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageUpdatingEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
57
|
-
def remove_package_updating(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
58
|
-
|
|
59
|
-
@typing.final
|
|
60
|
-
class AppExtensionPackageInstalledEventArgs(winrt.system.Object):
|
|
61
|
-
@staticmethod
|
|
62
|
-
def _from(obj: winrt.system.Object, /) -> AppExtensionPackageInstalledEventArgs: ...
|
|
63
|
-
@_property
|
|
64
|
-
def app_extension_name(self) -> str: ...
|
|
65
|
-
@_property
|
|
66
|
-
def extensions(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[AppExtension]]: ...
|
|
67
|
-
@_property
|
|
68
|
-
def package(self) -> typing.Optional[winrt.windows.applicationmodel.Package]: ...
|
|
69
|
-
|
|
70
|
-
@typing.final
|
|
71
|
-
class AppExtensionPackageStatusChangedEventArgs(winrt.system.Object):
|
|
72
|
-
@staticmethod
|
|
73
|
-
def _from(obj: winrt.system.Object, /) -> AppExtensionPackageStatusChangedEventArgs: ...
|
|
74
|
-
@_property
|
|
75
|
-
def app_extension_name(self) -> str: ...
|
|
76
|
-
@_property
|
|
77
|
-
def package(self) -> typing.Optional[winrt.windows.applicationmodel.Package]: ...
|
|
78
|
-
|
|
79
|
-
@typing.final
|
|
80
|
-
class AppExtensionPackageUninstallingEventArgs(winrt.system.Object):
|
|
81
|
-
@staticmethod
|
|
82
|
-
def _from(obj: winrt.system.Object, /) -> AppExtensionPackageUninstallingEventArgs: ...
|
|
83
|
-
@_property
|
|
84
|
-
def app_extension_name(self) -> str: ...
|
|
85
|
-
@_property
|
|
86
|
-
def package(self) -> typing.Optional[winrt.windows.applicationmodel.Package]: ...
|
|
87
|
-
|
|
88
|
-
@typing.final
|
|
89
|
-
class AppExtensionPackageUpdatedEventArgs(winrt.system.Object):
|
|
90
|
-
@staticmethod
|
|
91
|
-
def _from(obj: winrt.system.Object, /) -> AppExtensionPackageUpdatedEventArgs: ...
|
|
92
|
-
@_property
|
|
93
|
-
def app_extension_name(self) -> str: ...
|
|
94
|
-
@_property
|
|
95
|
-
def extensions(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[AppExtension]]: ...
|
|
96
|
-
@_property
|
|
97
|
-
def package(self) -> typing.Optional[winrt.windows.applicationmodel.Package]: ...
|
|
98
|
-
|
|
99
|
-
@typing.final
|
|
100
|
-
class AppExtensionPackageUpdatingEventArgs(winrt.system.Object):
|
|
101
|
-
@staticmethod
|
|
102
|
-
def _from(obj: winrt.system.Object, /) -> AppExtensionPackageUpdatingEventArgs: ...
|
|
103
|
-
@_property
|
|
104
|
-
def app_extension_name(self) -> str: ...
|
|
105
|
-
@_property
|
|
106
|
-
def package(self) -> typing.Optional[winrt.windows.applicationmodel.Package]: ...
|
|
107
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|