winrt-Windows.ApplicationModel.AppExtensions 2.2.0__tar.gz → 2.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {winrt_windows_applicationmodel_appextensions-2.2.0 → winrt_windows_applicationmodel_appextensions-2.3.0}/PKG-INFO +6 -6
- winrt_windows_applicationmodel_appextensions-2.3.0/all-requirements.txt +6 -0
- {winrt_windows_applicationmodel_appextensions-2.2.0 → winrt_windows_applicationmodel_appextensions-2.3.0}/py.Windows.ApplicationModel.AppExtensions.cpp +149 -1
- winrt_windows_applicationmodel_appextensions-2.3.0/pywinrt-version.txt +1 -0
- {winrt_windows_applicationmodel_appextensions-2.2.0 → winrt_windows_applicationmodel_appextensions-2.3.0}/requirements.txt +2 -2
- {winrt_windows_applicationmodel_appextensions-2.2.0 → winrt_windows_applicationmodel_appextensions-2.3.0}/winrt/_winrt_windows_applicationmodel_appextensions.pyi +5 -1
- {winrt_windows_applicationmodel_appextensions-2.2.0 → winrt_windows_applicationmodel_appextensions-2.3.0}/winrt/windows/applicationmodel/appextensions/__init__.py +1 -1
- {winrt_windows_applicationmodel_appextensions-2.2.0 → winrt_windows_applicationmodel_appextensions-2.3.0}/winrt_Windows.ApplicationModel.AppExtensions.egg-info/PKG-INFO +6 -6
- winrt_windows_applicationmodel_appextensions-2.3.0/winrt_Windows.ApplicationModel.AppExtensions.egg-info/requires.txt +7 -0
- winrt_windows_applicationmodel_appextensions-2.2.0/all-requirements.txt +0 -6
- winrt_windows_applicationmodel_appextensions-2.2.0/pywinrt-version.txt +0 -1
- winrt_windows_applicationmodel_appextensions-2.2.0/winrt_Windows.ApplicationModel.AppExtensions.egg-info/requires.txt +0 -7
- {winrt_windows_applicationmodel_appextensions-2.2.0 → winrt_windows_applicationmodel_appextensions-2.3.0}/README.md +0 -0
- {winrt_windows_applicationmodel_appextensions-2.2.0 → winrt_windows_applicationmodel_appextensions-2.3.0}/pyproject.toml +0 -0
- {winrt_windows_applicationmodel_appextensions-2.2.0 → winrt_windows_applicationmodel_appextensions-2.3.0}/setup.cfg +0 -0
- {winrt_windows_applicationmodel_appextensions-2.2.0 → winrt_windows_applicationmodel_appextensions-2.3.0}/setup.py +0 -0
- {winrt_windows_applicationmodel_appextensions-2.2.0 → winrt_windows_applicationmodel_appextensions-2.3.0}/winrt/windows/applicationmodel/appextensions/py.typed +0 -0
- {winrt_windows_applicationmodel_appextensions-2.2.0 → winrt_windows_applicationmodel_appextensions-2.3.0}/winrt_Windows.ApplicationModel.AppExtensions.egg-info/SOURCES.txt +0 -0
- {winrt_windows_applicationmodel_appextensions-2.2.0 → winrt_windows_applicationmodel_appextensions-2.3.0}/winrt_Windows.ApplicationModel.AppExtensions.egg-info/dependency_links.txt +0 -0
- {winrt_windows_applicationmodel_appextensions-2.2.0 → winrt_windows_applicationmodel_appextensions-2.3.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.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -12,12 +12,12 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.3.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
20
|
-
Requires-Dist: winrt-Windows.Storage[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel[all]==2.3.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage[all]==2.3.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 v2.
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.ApplicationModel.AppExtensions.h"
|
|
4
4
|
|
|
@@ -21,6 +21,42 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
21
21
|
Py_DECREF(tp);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
static PyObject* AppExtension_GetExtensionProperties(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtension* self, PyObject* args) noexcept
|
|
25
|
+
{
|
|
26
|
+
auto arg_count = PyTuple_Size(args);
|
|
27
|
+
|
|
28
|
+
if (arg_count == 0)
|
|
29
|
+
{
|
|
30
|
+
try
|
|
31
|
+
{
|
|
32
|
+
static std::optional<bool> is_overload_present{};
|
|
33
|
+
|
|
34
|
+
if (!is_overload_present.has_value())
|
|
35
|
+
{
|
|
36
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"GetExtensionProperties", 0);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
if (!is_overload_present.value())
|
|
40
|
+
{
|
|
41
|
+
py::set_arg_count_version_error(0);
|
|
42
|
+
return nullptr;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
return py::convert(self->obj.GetExtensionProperties());
|
|
46
|
+
}
|
|
47
|
+
catch (...)
|
|
48
|
+
{
|
|
49
|
+
py::to_PyErr();
|
|
50
|
+
return nullptr;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
else
|
|
54
|
+
{
|
|
55
|
+
py::set_invalid_arg_count_error(arg_count);
|
|
56
|
+
return nullptr;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
24
60
|
static PyObject* AppExtension_GetExtensionPropertiesAsync(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtension* self, PyObject* args) noexcept
|
|
25
61
|
{
|
|
26
62
|
auto arg_count = PyTuple_Size(args);
|
|
@@ -57,6 +93,42 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
57
93
|
}
|
|
58
94
|
}
|
|
59
95
|
|
|
96
|
+
static PyObject* AppExtension_GetPublicFolder(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtension* self, PyObject* args) noexcept
|
|
97
|
+
{
|
|
98
|
+
auto arg_count = PyTuple_Size(args);
|
|
99
|
+
|
|
100
|
+
if (arg_count == 0)
|
|
101
|
+
{
|
|
102
|
+
try
|
|
103
|
+
{
|
|
104
|
+
static std::optional<bool> is_overload_present{};
|
|
105
|
+
|
|
106
|
+
if (!is_overload_present.has_value())
|
|
107
|
+
{
|
|
108
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"GetPublicFolder", 0);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
if (!is_overload_present.value())
|
|
112
|
+
{
|
|
113
|
+
py::set_arg_count_version_error(0);
|
|
114
|
+
return nullptr;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return py::convert(self->obj.GetPublicFolder());
|
|
118
|
+
}
|
|
119
|
+
catch (...)
|
|
120
|
+
{
|
|
121
|
+
py::to_PyErr();
|
|
122
|
+
return nullptr;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
else
|
|
126
|
+
{
|
|
127
|
+
py::set_invalid_arg_count_error(arg_count);
|
|
128
|
+
return nullptr;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
60
132
|
static PyObject* AppExtension_GetPublicFolderAsync(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtension* self, PyObject* args) noexcept
|
|
61
133
|
{
|
|
62
134
|
auto arg_count = PyTuple_Size(args);
|
|
@@ -93,6 +165,42 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
93
165
|
}
|
|
94
166
|
}
|
|
95
167
|
|
|
168
|
+
static PyObject* AppExtension_GetPublicPath(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtension* self, PyObject* args) noexcept
|
|
169
|
+
{
|
|
170
|
+
auto arg_count = PyTuple_Size(args);
|
|
171
|
+
|
|
172
|
+
if (arg_count == 0)
|
|
173
|
+
{
|
|
174
|
+
try
|
|
175
|
+
{
|
|
176
|
+
static std::optional<bool> is_overload_present{};
|
|
177
|
+
|
|
178
|
+
if (!is_overload_present.has_value())
|
|
179
|
+
{
|
|
180
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppExtensions.AppExtension", L"GetPublicPath", 0);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
if (!is_overload_present.value())
|
|
184
|
+
{
|
|
185
|
+
py::set_arg_count_version_error(0);
|
|
186
|
+
return nullptr;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
return py::convert(self->obj.GetPublicPath());
|
|
190
|
+
}
|
|
191
|
+
catch (...)
|
|
192
|
+
{
|
|
193
|
+
py::to_PyErr();
|
|
194
|
+
return nullptr;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
else
|
|
198
|
+
{
|
|
199
|
+
py::set_invalid_arg_count_error(arg_count);
|
|
200
|
+
return nullptr;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
96
204
|
static PyObject* AppExtension_get_AppInfo(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtension* self, void* /*unused*/) noexcept
|
|
97
205
|
{
|
|
98
206
|
try
|
|
@@ -274,8 +382,11 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
274
382
|
}
|
|
275
383
|
|
|
276
384
|
static PyMethodDef _methods_AppExtension[] = {
|
|
385
|
+
{ "get_extension_properties", reinterpret_cast<PyCFunction>(AppExtension_GetExtensionProperties), METH_VARARGS, nullptr },
|
|
277
386
|
{ "get_extension_properties_async", reinterpret_cast<PyCFunction>(AppExtension_GetExtensionPropertiesAsync), METH_VARARGS, nullptr },
|
|
387
|
+
{ "get_public_folder", reinterpret_cast<PyCFunction>(AppExtension_GetPublicFolder), METH_VARARGS, nullptr },
|
|
278
388
|
{ "get_public_folder_async", reinterpret_cast<PyCFunction>(AppExtension_GetPublicFolderAsync), METH_VARARGS, nullptr },
|
|
389
|
+
{ "get_public_path", reinterpret_cast<PyCFunction>(AppExtension_GetPublicPath), METH_VARARGS, nullptr },
|
|
279
390
|
{ "_assign_array_", _assign_array_AppExtension, METH_O | METH_STATIC, nullptr },
|
|
280
391
|
{ "_from", reinterpret_cast<PyCFunction>(_from_AppExtension), METH_O | METH_STATIC, nullptr },
|
|
281
392
|
{ }
|
|
@@ -323,6 +434,42 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
323
434
|
Py_DECREF(tp);
|
|
324
435
|
}
|
|
325
436
|
|
|
437
|
+
static PyObject* AppExtensionCatalog_FindAll(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog* self, PyObject* args) noexcept
|
|
438
|
+
{
|
|
439
|
+
auto arg_count = PyTuple_Size(args);
|
|
440
|
+
|
|
441
|
+
if (arg_count == 0)
|
|
442
|
+
{
|
|
443
|
+
try
|
|
444
|
+
{
|
|
445
|
+
static std::optional<bool> is_overload_present{};
|
|
446
|
+
|
|
447
|
+
if (!is_overload_present.has_value())
|
|
448
|
+
{
|
|
449
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppExtensions.AppExtensionCatalog", L"FindAll", 0);
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
if (!is_overload_present.value())
|
|
453
|
+
{
|
|
454
|
+
py::set_arg_count_version_error(0);
|
|
455
|
+
return nullptr;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
return py::convert(self->obj.FindAll());
|
|
459
|
+
}
|
|
460
|
+
catch (...)
|
|
461
|
+
{
|
|
462
|
+
py::to_PyErr();
|
|
463
|
+
return nullptr;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
else
|
|
467
|
+
{
|
|
468
|
+
py::set_invalid_arg_count_error(arg_count);
|
|
469
|
+
return nullptr;
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
|
|
326
473
|
static PyObject* AppExtensionCatalog_FindAllAsync(py::wrapper::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog* self, PyObject* args) noexcept
|
|
327
474
|
{
|
|
328
475
|
auto arg_count = PyTuple_Size(args);
|
|
@@ -745,6 +892,7 @@ namespace py::cpp::Windows::ApplicationModel::AppExtensions
|
|
|
745
892
|
}
|
|
746
893
|
|
|
747
894
|
static PyMethodDef _methods_AppExtensionCatalog[] = {
|
|
895
|
+
{ "find_all", reinterpret_cast<PyCFunction>(AppExtensionCatalog_FindAll), METH_VARARGS, nullptr },
|
|
748
896
|
{ "find_all_async", reinterpret_cast<PyCFunction>(AppExtensionCatalog_FindAllAsync), METH_VARARGS, nullptr },
|
|
749
897
|
{ "request_remove_package_async", reinterpret_cast<PyCFunction>(AppExtensionCatalog_RequestRemovePackageAsync), METH_VARARGS, nullptr },
|
|
750
898
|
{ "add_package_installed", reinterpret_cast<PyCFunction>(AppExtensionCatalog_add_PackageInstalled), METH_O, nullptr },
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.3.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.3.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -20,8 +20,11 @@ Self = typing.TypeVar('Self')
|
|
|
20
20
|
class AppExtension(winrt.system.Object):
|
|
21
21
|
@staticmethod
|
|
22
22
|
def _from(obj: winrt.system.Object, /) -> AppExtension: ...
|
|
23
|
+
def get_extension_properties(self) -> typing.Optional[windows_foundation_collections.IPropertySet]: ...
|
|
23
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]: ...
|
|
24
26
|
def get_public_folder_async(self) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
|
|
27
|
+
def get_public_path(self) -> str: ...
|
|
25
28
|
@_property
|
|
26
29
|
def app_info(self) -> typing.Optional[windows_applicationmodel.AppInfo]: ...
|
|
27
30
|
@_property
|
|
@@ -43,6 +46,7 @@ class AppExtensionCatalog_Static(type):
|
|
|
43
46
|
class AppExtensionCatalog(winrt.system.Object, metaclass=AppExtensionCatalog_Static):
|
|
44
47
|
@staticmethod
|
|
45
48
|
def _from(obj: winrt.system.Object, /) -> AppExtensionCatalog: ...
|
|
49
|
+
def find_all(self) -> typing.Optional[windows_foundation_collections.IVectorView[AppExtension]]: ...
|
|
46
50
|
def find_all_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[AppExtension]]: ...
|
|
47
51
|
def request_remove_package_async(self, package_full_name: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
48
52
|
def add_package_installed(self, handler: windows_foundation.TypedEventHandler[AppExtensionCatalog, AppExtensionPackageInstalledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.AppExtensions
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -12,12 +12,12 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.3.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
20
|
-
Requires-Dist: winrt-Windows.Storage[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel[all]==2.3.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage[all]==2.3.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.2.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|