winrt-Windows.Devices.Background 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_devices_background-2.0.1 → winrt_windows_devices_background-2.1.0}/PKG-INFO +3 -3
- {winrt_windows_devices_background-2.0.1 → winrt_windows_devices_background-2.1.0}/all-requirements.txt +2 -2
- {winrt_windows_devices_background-2.0.1 → winrt_windows_devices_background-2.1.0}/py.Windows.Devices.Background.cpp +50 -58
- winrt_windows_devices_background-2.1.0/pywinrt-version.txt +1 -0
- {winrt_windows_devices_background-2.0.1 → winrt_windows_devices_background-2.1.0}/requirements.txt +2 -2
- {winrt_windows_devices_background-2.0.1 → winrt_windows_devices_background-2.1.0}/winrt/_winrt_windows_devices_background.pyi +2 -2
- {winrt_windows_devices_background-2.0.1 → winrt_windows_devices_background-2.1.0}/winrt/windows/devices/background/__init__.py +1 -1
- {winrt_windows_devices_background-2.0.1 → winrt_windows_devices_background-2.1.0}/winrt_Windows.Devices.Background.egg-info/PKG-INFO +3 -3
- winrt_windows_devices_background-2.1.0/winrt_Windows.Devices.Background.egg-info/requires.txt +4 -0
- winrt_windows_devices_background-2.0.1/pywinrt-version.txt +0 -1
- winrt_windows_devices_background-2.0.1/winrt_Windows.Devices.Background.egg-info/requires.txt +0 -4
- {winrt_windows_devices_background-2.0.1 → winrt_windows_devices_background-2.1.0}/README.md +0 -0
- {winrt_windows_devices_background-2.0.1 → winrt_windows_devices_background-2.1.0}/pyproject.toml +0 -0
- {winrt_windows_devices_background-2.0.1 → winrt_windows_devices_background-2.1.0}/setup.cfg +0 -0
- {winrt_windows_devices_background-2.0.1 → winrt_windows_devices_background-2.1.0}/setup.py +0 -0
- {winrt_windows_devices_background-2.0.1 → winrt_windows_devices_background-2.1.0}/winrt/windows/devices/background/py.typed +0 -0
- {winrt_windows_devices_background-2.0.1 → winrt_windows_devices_background-2.1.0}/winrt_Windows.Devices.Background.egg-info/SOURCES.txt +0 -0
- {winrt_windows_devices_background-2.0.1 → winrt_windows_devices_background-2.1.0}/winrt_Windows.Devices.Background.egg-info/dependency_links.txt +0 -0
- {winrt_windows_devices_background-2.0.1 → winrt_windows_devices_background-2.1.0}/winrt_Windows.Devices.Background.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Devices.Background
|
|
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,9 +12,9 @@ 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.Foundation[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
|
@@ -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-Windows.Foundation[all]==2.0
|
|
3
|
+
winrt-Windows.Foundation[all]==2.1.0
|
|
@@ -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.Devices.Background.h"
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
namespace py::cpp::Windows::Devices::Background
|
|
7
6
|
{
|
|
8
7
|
// ----- DeviceServicingDetails class --------------------
|
|
@@ -24,14 +23,14 @@ namespace py::cpp::Windows::Devices::Background
|
|
|
24
23
|
|
|
25
24
|
static PyObject* DeviceServicingDetails_get_Arguments(py::wrapper::Windows::Devices::Background::DeviceServicingDetails* self, void* /*unused*/) noexcept
|
|
26
25
|
{
|
|
27
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Devices.Background.DeviceServicingDetails", L"Arguments"))
|
|
28
|
-
{
|
|
29
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
30
|
-
return nullptr;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
26
|
try
|
|
34
27
|
{
|
|
28
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Devices.Background.DeviceServicingDetails", L"Arguments"))
|
|
29
|
+
{
|
|
30
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
31
|
+
return nullptr;
|
|
32
|
+
}
|
|
33
|
+
|
|
35
34
|
return py::convert(self->obj.Arguments());
|
|
36
35
|
}
|
|
37
36
|
catch (...)
|
|
@@ -43,14 +42,14 @@ namespace py::cpp::Windows::Devices::Background
|
|
|
43
42
|
|
|
44
43
|
static PyObject* DeviceServicingDetails_get_DeviceId(py::wrapper::Windows::Devices::Background::DeviceServicingDetails* self, void* /*unused*/) noexcept
|
|
45
44
|
{
|
|
46
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Devices.Background.DeviceServicingDetails", L"DeviceId"))
|
|
47
|
-
{
|
|
48
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
49
|
-
return nullptr;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
45
|
try
|
|
53
46
|
{
|
|
47
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Devices.Background.DeviceServicingDetails", L"DeviceId"))
|
|
48
|
+
{
|
|
49
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
50
|
+
return nullptr;
|
|
51
|
+
}
|
|
52
|
+
|
|
54
53
|
return py::convert(self->obj.DeviceId());
|
|
55
54
|
}
|
|
56
55
|
catch (...)
|
|
@@ -62,14 +61,14 @@ namespace py::cpp::Windows::Devices::Background
|
|
|
62
61
|
|
|
63
62
|
static PyObject* DeviceServicingDetails_get_ExpectedDuration(py::wrapper::Windows::Devices::Background::DeviceServicingDetails* self, void* /*unused*/) noexcept
|
|
64
63
|
{
|
|
65
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Devices.Background.DeviceServicingDetails", L"ExpectedDuration"))
|
|
66
|
-
{
|
|
67
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
68
|
-
return nullptr;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
64
|
try
|
|
72
65
|
{
|
|
66
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Devices.Background.DeviceServicingDetails", L"ExpectedDuration"))
|
|
67
|
+
{
|
|
68
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
69
|
+
return nullptr;
|
|
70
|
+
}
|
|
71
|
+
|
|
73
72
|
return py::convert(self->obj.ExpectedDuration());
|
|
74
73
|
}
|
|
75
74
|
catch (...)
|
|
@@ -116,23 +115,20 @@ namespace py::cpp::Windows::Devices::Background
|
|
|
116
115
|
{ }
|
|
117
116
|
};
|
|
118
117
|
|
|
119
|
-
static PyType_Slot _type_slots_DeviceServicingDetails[] =
|
|
120
|
-
{
|
|
118
|
+
static PyType_Slot _type_slots_DeviceServicingDetails[] = {
|
|
121
119
|
{ Py_tp_new, reinterpret_cast<void*>(_new_DeviceServicingDetails) },
|
|
122
120
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_DeviceServicingDetails) },
|
|
123
121
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_DeviceServicingDetails) },
|
|
124
122
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_DeviceServicingDetails) },
|
|
125
|
-
{ }
|
|
123
|
+
{ }
|
|
126
124
|
};
|
|
127
125
|
|
|
128
|
-
static PyType_Spec type_spec_DeviceServicingDetails =
|
|
129
|
-
{
|
|
126
|
+
static PyType_Spec type_spec_DeviceServicingDetails = {
|
|
130
127
|
"winrt._winrt_windows_devices_background.DeviceServicingDetails",
|
|
131
128
|
sizeof(py::wrapper::Windows::Devices::Background::DeviceServicingDetails),
|
|
132
129
|
0,
|
|
133
130
|
Py_TPFLAGS_DEFAULT,
|
|
134
|
-
_type_slots_DeviceServicingDetails
|
|
135
|
-
};
|
|
131
|
+
_type_slots_DeviceServicingDetails};
|
|
136
132
|
|
|
137
133
|
// ----- DeviceUseDetails class --------------------
|
|
138
134
|
|
|
@@ -153,14 +149,14 @@ namespace py::cpp::Windows::Devices::Background
|
|
|
153
149
|
|
|
154
150
|
static PyObject* DeviceUseDetails_get_Arguments(py::wrapper::Windows::Devices::Background::DeviceUseDetails* self, void* /*unused*/) noexcept
|
|
155
151
|
{
|
|
156
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Devices.Background.DeviceUseDetails", L"Arguments"))
|
|
157
|
-
{
|
|
158
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
159
|
-
return nullptr;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
152
|
try
|
|
163
153
|
{
|
|
154
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Devices.Background.DeviceUseDetails", L"Arguments"))
|
|
155
|
+
{
|
|
156
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
157
|
+
return nullptr;
|
|
158
|
+
}
|
|
159
|
+
|
|
164
160
|
return py::convert(self->obj.Arguments());
|
|
165
161
|
}
|
|
166
162
|
catch (...)
|
|
@@ -172,14 +168,14 @@ namespace py::cpp::Windows::Devices::Background
|
|
|
172
168
|
|
|
173
169
|
static PyObject* DeviceUseDetails_get_DeviceId(py::wrapper::Windows::Devices::Background::DeviceUseDetails* self, void* /*unused*/) noexcept
|
|
174
170
|
{
|
|
175
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Devices.Background.DeviceUseDetails", L"DeviceId"))
|
|
176
|
-
{
|
|
177
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
178
|
-
return nullptr;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
171
|
try
|
|
182
172
|
{
|
|
173
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Devices.Background.DeviceUseDetails", L"DeviceId"))
|
|
174
|
+
{
|
|
175
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
176
|
+
return nullptr;
|
|
177
|
+
}
|
|
178
|
+
|
|
183
179
|
return py::convert(self->obj.DeviceId());
|
|
184
180
|
}
|
|
185
181
|
catch (...)
|
|
@@ -225,39 +221,35 @@ namespace py::cpp::Windows::Devices::Background
|
|
|
225
221
|
{ }
|
|
226
222
|
};
|
|
227
223
|
|
|
228
|
-
static PyType_Slot _type_slots_DeviceUseDetails[] =
|
|
229
|
-
{
|
|
224
|
+
static PyType_Slot _type_slots_DeviceUseDetails[] = {
|
|
230
225
|
{ Py_tp_new, reinterpret_cast<void*>(_new_DeviceUseDetails) },
|
|
231
226
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_DeviceUseDetails) },
|
|
232
227
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_DeviceUseDetails) },
|
|
233
228
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_DeviceUseDetails) },
|
|
234
|
-
{ }
|
|
229
|
+
{ }
|
|
235
230
|
};
|
|
236
231
|
|
|
237
|
-
static PyType_Spec type_spec_DeviceUseDetails =
|
|
238
|
-
{
|
|
232
|
+
static PyType_Spec type_spec_DeviceUseDetails = {
|
|
239
233
|
"winrt._winrt_windows_devices_background.DeviceUseDetails",
|
|
240
234
|
sizeof(py::wrapper::Windows::Devices::Background::DeviceUseDetails),
|
|
241
235
|
0,
|
|
242
236
|
Py_TPFLAGS_DEFAULT,
|
|
243
|
-
_type_slots_DeviceUseDetails
|
|
244
|
-
};
|
|
237
|
+
_type_slots_DeviceUseDetails};
|
|
245
238
|
|
|
246
239
|
// ----- Windows.Devices.Background Initialization --------------------
|
|
247
|
-
PyDoc_STRVAR(module_doc, "Windows::Devices::Background");
|
|
248
240
|
|
|
241
|
+
PyDoc_STRVAR(module_doc, "Windows.Devices.Background");
|
|
249
242
|
|
|
250
|
-
static PyModuleDef module_def
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
243
|
+
static PyModuleDef module_def = {
|
|
244
|
+
PyModuleDef_HEAD_INIT,
|
|
245
|
+
"_winrt_windows_devices_background",
|
|
246
|
+
module_doc,
|
|
247
|
+
0,
|
|
248
|
+
nullptr,
|
|
249
|
+
nullptr,
|
|
250
|
+
nullptr,
|
|
251
|
+
nullptr,
|
|
252
|
+
nullptr};
|
|
261
253
|
} // py::cpp::Windows::Devices::Background
|
|
262
254
|
|
|
263
255
|
PyMODINIT_FUNC PyInit__winrt_windows_devices_background(void) noexcept
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.1.0
|
{winrt_windows_devices_background-2.0.1 → winrt_windows_devices_background-2.1.0}/requirements.txt
RENAMED
|
@@ -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
|
|
@@ -1,4 +1,4 @@
|
|
|
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
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -9,7 +9,7 @@ from builtins import property as _property
|
|
|
9
9
|
|
|
10
10
|
import winrt._winrt
|
|
11
11
|
import winrt.system
|
|
12
|
-
import winrt.windows.foundation
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
13
|
|
|
14
14
|
Self = typing.TypeVar('Self')
|
|
15
15
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Devices.Background
|
|
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,9 +12,9 @@ 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.Foundation[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.1
|
|
File without changes
|
{winrt_windows_devices_background-2.0.1 → winrt_windows_devices_background-2.1.0}/pyproject.toml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|