winrt-Windows.ApplicationModel.Calls.Background 2.0.0b2__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.Calls.Background-2.0.0b2 → winrt_windows_applicationmodel_calls_background-2.1.0}/PKG-INFO +3 -1
- winrt_windows_applicationmodel_calls_background-2.1.0/all-requirements.txt +3 -0
- {winrt-Windows.ApplicationModel.Calls.Background-2.0.0b2 → winrt_windows_applicationmodel_calls_background-2.1.0}/py.Windows.ApplicationModel.Calls.Background.cpp +150 -170
- {winrt-Windows.ApplicationModel.Calls.Background-2.0.0b2 → winrt_windows_applicationmodel_calls_background-2.1.0}/pyproject.toml +2 -2
- winrt_windows_applicationmodel_calls_background-2.1.0/pywinrt-version.txt +1 -0
- {winrt-Windows.ApplicationModel.Calls.Background-2.0.0b2 → winrt_windows_applicationmodel_calls_background-2.1.0}/requirements.txt +2 -2
- winrt_windows_applicationmodel_calls_background-2.1.0/setup.py +31 -0
- {winrt-Windows.ApplicationModel.Calls.Background-2.0.0b2 → winrt_windows_applicationmodel_calls_background-2.1.0}/winrt/_winrt_windows_applicationmodel_calls_background.pyi +2 -2
- {winrt-Windows.ApplicationModel.Calls.Background-2.0.0b2 → winrt_windows_applicationmodel_calls_background-2.1.0}/winrt/windows/applicationmodel/calls/background/__init__.py +2 -2
- winrt_windows_applicationmodel_calls_background-2.1.0/winrt/windows/applicationmodel/calls/background/py.typed +0 -0
- {winrt-Windows.ApplicationModel.Calls.Background-2.0.0b2 → winrt_windows_applicationmodel_calls_background-2.1.0}/winrt_Windows.ApplicationModel.Calls.Background.egg-info/PKG-INFO +3 -1
- {winrt-Windows.ApplicationModel.Calls.Background-2.0.0b2 → winrt_windows_applicationmodel_calls_background-2.1.0}/winrt_Windows.ApplicationModel.Calls.Background.egg-info/SOURCES.txt +1 -0
- winrt_windows_applicationmodel_calls_background-2.1.0/winrt_Windows.ApplicationModel.Calls.Background.egg-info/requires.txt +4 -0
- winrt-Windows.ApplicationModel.Calls.Background-2.0.0b2/all-requirements.txt +0 -3
- winrt-Windows.ApplicationModel.Calls.Background-2.0.0b2/pywinrt-version.txt +0 -1
- winrt-Windows.ApplicationModel.Calls.Background-2.0.0b2/setup.py +0 -16
- winrt-Windows.ApplicationModel.Calls.Background-2.0.0b2/winrt_Windows.ApplicationModel.Calls.Background.egg-info/requires.txt +0 -4
- {winrt-Windows.ApplicationModel.Calls.Background-2.0.0b2 → winrt_windows_applicationmodel_calls_background-2.1.0}/README.md +0 -0
- {winrt-Windows.ApplicationModel.Calls.Background-2.0.0b2 → winrt_windows_applicationmodel_calls_background-2.1.0}/setup.cfg +0 -0
- {winrt-Windows.ApplicationModel.Calls.Background-2.0.0b2 → winrt_windows_applicationmodel_calls_background-2.1.0}/winrt_Windows.ApplicationModel.Calls.Background.egg-info/dependency_links.txt +0 -0
- {winrt-Windows.ApplicationModel.Calls.Background-2.0.0b2 → winrt_windows_applicationmodel_calls_background-2.1.0}/winrt_Windows.ApplicationModel.Calls.Background.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.Calls.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,7 +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.1.0
|
|
15
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
|
|
16
18
|
|
|
17
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
18
20
|
|
|
@@ -1,8 +1,7 @@
|
|
|
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.1.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.ApplicationModel.Calls.Background.h"
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
7
6
|
{
|
|
8
7
|
// ----- PhoneCallBlockedTriggerDetails class --------------------
|
|
@@ -24,14 +23,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
24
23
|
|
|
25
24
|
static PyObject* PhoneCallBlockedTriggerDetails_get_CallBlockedReason(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneCallBlockedTriggerDetails* self, void* /*unused*/) noexcept
|
|
26
25
|
{
|
|
27
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails", L"CallBlockedReason"))
|
|
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.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails", L"CallBlockedReason"))
|
|
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.CallBlockedReason());
|
|
36
35
|
}
|
|
37
36
|
catch (...)
|
|
@@ -43,14 +42,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
43
42
|
|
|
44
43
|
static PyObject* PhoneCallBlockedTriggerDetails_get_LineId(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneCallBlockedTriggerDetails* self, void* /*unused*/) noexcept
|
|
45
44
|
{
|
|
46
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails", L"LineId"))
|
|
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.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails", L"LineId"))
|
|
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.LineId());
|
|
55
54
|
}
|
|
56
55
|
catch (...)
|
|
@@ -62,14 +61,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
62
61
|
|
|
63
62
|
static PyObject* PhoneCallBlockedTriggerDetails_get_PhoneNumber(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneCallBlockedTriggerDetails* self, void* /*unused*/) noexcept
|
|
64
63
|
{
|
|
65
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails", L"PhoneNumber"))
|
|
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.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails", L"PhoneNumber"))
|
|
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.PhoneNumber());
|
|
74
73
|
}
|
|
75
74
|
catch (...)
|
|
@@ -116,23 +115,20 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
116
115
|
{ }
|
|
117
116
|
};
|
|
118
117
|
|
|
119
|
-
static PyType_Slot _type_slots_PhoneCallBlockedTriggerDetails[] =
|
|
120
|
-
{
|
|
118
|
+
static PyType_Slot _type_slots_PhoneCallBlockedTriggerDetails[] = {
|
|
121
119
|
{ Py_tp_new, reinterpret_cast<void*>(_new_PhoneCallBlockedTriggerDetails) },
|
|
122
120
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_PhoneCallBlockedTriggerDetails) },
|
|
123
121
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_PhoneCallBlockedTriggerDetails) },
|
|
124
122
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_PhoneCallBlockedTriggerDetails) },
|
|
125
|
-
{ }
|
|
123
|
+
{ }
|
|
126
124
|
};
|
|
127
125
|
|
|
128
|
-
static PyType_Spec type_spec_PhoneCallBlockedTriggerDetails =
|
|
129
|
-
{
|
|
126
|
+
static PyType_Spec type_spec_PhoneCallBlockedTriggerDetails = {
|
|
130
127
|
"winrt._winrt_windows_applicationmodel_calls_background.PhoneCallBlockedTriggerDetails",
|
|
131
128
|
sizeof(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneCallBlockedTriggerDetails),
|
|
132
129
|
0,
|
|
133
130
|
Py_TPFLAGS_DEFAULT,
|
|
134
|
-
_type_slots_PhoneCallBlockedTriggerDetails
|
|
135
|
-
};
|
|
131
|
+
_type_slots_PhoneCallBlockedTriggerDetails};
|
|
136
132
|
|
|
137
133
|
// ----- PhoneCallOriginDataRequestTriggerDetails class --------------------
|
|
138
134
|
|
|
@@ -153,14 +149,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
153
149
|
|
|
154
150
|
static PyObject* PhoneCallOriginDataRequestTriggerDetails_get_PhoneNumber(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneCallOriginDataRequestTriggerDetails* self, void* /*unused*/) noexcept
|
|
155
151
|
{
|
|
156
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneCallOriginDataRequestTriggerDetails", L"PhoneNumber"))
|
|
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.ApplicationModel.Calls.Background.PhoneCallOriginDataRequestTriggerDetails", L"PhoneNumber"))
|
|
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.PhoneNumber());
|
|
165
161
|
}
|
|
166
162
|
catch (...)
|
|
@@ -172,14 +168,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
172
168
|
|
|
173
169
|
static PyObject* PhoneCallOriginDataRequestTriggerDetails_get_RequestId(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneCallOriginDataRequestTriggerDetails* self, void* /*unused*/) noexcept
|
|
174
170
|
{
|
|
175
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneCallOriginDataRequestTriggerDetails", L"RequestId"))
|
|
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.ApplicationModel.Calls.Background.PhoneCallOriginDataRequestTriggerDetails", L"RequestId"))
|
|
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.RequestId());
|
|
184
180
|
}
|
|
185
181
|
catch (...)
|
|
@@ -225,23 +221,20 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
225
221
|
{ }
|
|
226
222
|
};
|
|
227
223
|
|
|
228
|
-
static PyType_Slot _type_slots_PhoneCallOriginDataRequestTriggerDetails[] =
|
|
229
|
-
{
|
|
224
|
+
static PyType_Slot _type_slots_PhoneCallOriginDataRequestTriggerDetails[] = {
|
|
230
225
|
{ Py_tp_new, reinterpret_cast<void*>(_new_PhoneCallOriginDataRequestTriggerDetails) },
|
|
231
226
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_PhoneCallOriginDataRequestTriggerDetails) },
|
|
232
227
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_PhoneCallOriginDataRequestTriggerDetails) },
|
|
233
228
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_PhoneCallOriginDataRequestTriggerDetails) },
|
|
234
|
-
{ }
|
|
229
|
+
{ }
|
|
235
230
|
};
|
|
236
231
|
|
|
237
|
-
static PyType_Spec type_spec_PhoneCallOriginDataRequestTriggerDetails =
|
|
238
|
-
{
|
|
232
|
+
static PyType_Spec type_spec_PhoneCallOriginDataRequestTriggerDetails = {
|
|
239
233
|
"winrt._winrt_windows_applicationmodel_calls_background.PhoneCallOriginDataRequestTriggerDetails",
|
|
240
234
|
sizeof(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneCallOriginDataRequestTriggerDetails),
|
|
241
235
|
0,
|
|
242
236
|
Py_TPFLAGS_DEFAULT,
|
|
243
|
-
_type_slots_PhoneCallOriginDataRequestTriggerDetails
|
|
244
|
-
};
|
|
237
|
+
_type_slots_PhoneCallOriginDataRequestTriggerDetails};
|
|
245
238
|
|
|
246
239
|
// ----- PhoneIncomingCallDismissedTriggerDetails class --------------------
|
|
247
240
|
|
|
@@ -262,14 +255,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
262
255
|
|
|
263
256
|
static PyObject* PhoneIncomingCallDismissedTriggerDetails_get_DismissalTime(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneIncomingCallDismissedTriggerDetails* self, void* /*unused*/) noexcept
|
|
264
257
|
{
|
|
265
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"DismissalTime"))
|
|
266
|
-
{
|
|
267
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
268
|
-
return nullptr;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
258
|
try
|
|
272
259
|
{
|
|
260
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"DismissalTime"))
|
|
261
|
+
{
|
|
262
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
263
|
+
return nullptr;
|
|
264
|
+
}
|
|
265
|
+
|
|
273
266
|
return py::convert(self->obj.DismissalTime());
|
|
274
267
|
}
|
|
275
268
|
catch (...)
|
|
@@ -281,14 +274,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
281
274
|
|
|
282
275
|
static PyObject* PhoneIncomingCallDismissedTriggerDetails_get_DisplayName(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneIncomingCallDismissedTriggerDetails* self, void* /*unused*/) noexcept
|
|
283
276
|
{
|
|
284
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"DisplayName"))
|
|
285
|
-
{
|
|
286
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
287
|
-
return nullptr;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
277
|
try
|
|
291
278
|
{
|
|
279
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"DisplayName"))
|
|
280
|
+
{
|
|
281
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
282
|
+
return nullptr;
|
|
283
|
+
}
|
|
284
|
+
|
|
292
285
|
return py::convert(self->obj.DisplayName());
|
|
293
286
|
}
|
|
294
287
|
catch (...)
|
|
@@ -300,14 +293,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
300
293
|
|
|
301
294
|
static PyObject* PhoneIncomingCallDismissedTriggerDetails_get_LineId(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneIncomingCallDismissedTriggerDetails* self, void* /*unused*/) noexcept
|
|
302
295
|
{
|
|
303
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"LineId"))
|
|
304
|
-
{
|
|
305
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
306
|
-
return nullptr;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
296
|
try
|
|
310
297
|
{
|
|
298
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"LineId"))
|
|
299
|
+
{
|
|
300
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
301
|
+
return nullptr;
|
|
302
|
+
}
|
|
303
|
+
|
|
311
304
|
return py::convert(self->obj.LineId());
|
|
312
305
|
}
|
|
313
306
|
catch (...)
|
|
@@ -319,14 +312,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
319
312
|
|
|
320
313
|
static PyObject* PhoneIncomingCallDismissedTriggerDetails_get_PhoneNumber(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneIncomingCallDismissedTriggerDetails* self, void* /*unused*/) noexcept
|
|
321
314
|
{
|
|
322
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"PhoneNumber"))
|
|
323
|
-
{
|
|
324
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
325
|
-
return nullptr;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
315
|
try
|
|
329
316
|
{
|
|
317
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"PhoneNumber"))
|
|
318
|
+
{
|
|
319
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
320
|
+
return nullptr;
|
|
321
|
+
}
|
|
322
|
+
|
|
330
323
|
return py::convert(self->obj.PhoneNumber());
|
|
331
324
|
}
|
|
332
325
|
catch (...)
|
|
@@ -338,14 +331,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
338
331
|
|
|
339
332
|
static PyObject* PhoneIncomingCallDismissedTriggerDetails_get_Reason(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneIncomingCallDismissedTriggerDetails* self, void* /*unused*/) noexcept
|
|
340
333
|
{
|
|
341
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"Reason"))
|
|
342
|
-
{
|
|
343
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
344
|
-
return nullptr;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
334
|
try
|
|
348
335
|
{
|
|
336
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"Reason"))
|
|
337
|
+
{
|
|
338
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
339
|
+
return nullptr;
|
|
340
|
+
}
|
|
341
|
+
|
|
349
342
|
return py::convert(self->obj.Reason());
|
|
350
343
|
}
|
|
351
344
|
catch (...)
|
|
@@ -357,14 +350,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
357
350
|
|
|
358
351
|
static PyObject* PhoneIncomingCallDismissedTriggerDetails_get_TextReplyMessage(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneIncomingCallDismissedTriggerDetails* self, void* /*unused*/) noexcept
|
|
359
352
|
{
|
|
360
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"TextReplyMessage"))
|
|
361
|
-
{
|
|
362
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
363
|
-
return nullptr;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
353
|
try
|
|
367
354
|
{
|
|
355
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"TextReplyMessage"))
|
|
356
|
+
{
|
|
357
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
358
|
+
return nullptr;
|
|
359
|
+
}
|
|
360
|
+
|
|
368
361
|
return py::convert(self->obj.TextReplyMessage());
|
|
369
362
|
}
|
|
370
363
|
catch (...)
|
|
@@ -414,23 +407,20 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
414
407
|
{ }
|
|
415
408
|
};
|
|
416
409
|
|
|
417
|
-
static PyType_Slot _type_slots_PhoneIncomingCallDismissedTriggerDetails[] =
|
|
418
|
-
{
|
|
410
|
+
static PyType_Slot _type_slots_PhoneIncomingCallDismissedTriggerDetails[] = {
|
|
419
411
|
{ Py_tp_new, reinterpret_cast<void*>(_new_PhoneIncomingCallDismissedTriggerDetails) },
|
|
420
412
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_PhoneIncomingCallDismissedTriggerDetails) },
|
|
421
413
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_PhoneIncomingCallDismissedTriggerDetails) },
|
|
422
414
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_PhoneIncomingCallDismissedTriggerDetails) },
|
|
423
|
-
{ }
|
|
415
|
+
{ }
|
|
424
416
|
};
|
|
425
417
|
|
|
426
|
-
static PyType_Spec type_spec_PhoneIncomingCallDismissedTriggerDetails =
|
|
427
|
-
{
|
|
418
|
+
static PyType_Spec type_spec_PhoneIncomingCallDismissedTriggerDetails = {
|
|
428
419
|
"winrt._winrt_windows_applicationmodel_calls_background.PhoneIncomingCallDismissedTriggerDetails",
|
|
429
420
|
sizeof(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneIncomingCallDismissedTriggerDetails),
|
|
430
421
|
0,
|
|
431
422
|
Py_TPFLAGS_DEFAULT,
|
|
432
|
-
_type_slots_PhoneIncomingCallDismissedTriggerDetails
|
|
433
|
-
};
|
|
423
|
+
_type_slots_PhoneIncomingCallDismissedTriggerDetails};
|
|
434
424
|
|
|
435
425
|
// ----- PhoneIncomingCallNotificationTriggerDetails class --------------------
|
|
436
426
|
|
|
@@ -451,14 +441,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
451
441
|
|
|
452
442
|
static PyObject* PhoneIncomingCallNotificationTriggerDetails_get_CallId(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneIncomingCallNotificationTriggerDetails* self, void* /*unused*/) noexcept
|
|
453
443
|
{
|
|
454
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallNotificationTriggerDetails", L"CallId"))
|
|
455
|
-
{
|
|
456
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
457
|
-
return nullptr;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
444
|
try
|
|
461
445
|
{
|
|
446
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallNotificationTriggerDetails", L"CallId"))
|
|
447
|
+
{
|
|
448
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
449
|
+
return nullptr;
|
|
450
|
+
}
|
|
451
|
+
|
|
462
452
|
return py::convert(self->obj.CallId());
|
|
463
453
|
}
|
|
464
454
|
catch (...)
|
|
@@ -470,14 +460,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
470
460
|
|
|
471
461
|
static PyObject* PhoneIncomingCallNotificationTriggerDetails_get_LineId(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneIncomingCallNotificationTriggerDetails* self, void* /*unused*/) noexcept
|
|
472
462
|
{
|
|
473
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallNotificationTriggerDetails", L"LineId"))
|
|
474
|
-
{
|
|
475
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
476
|
-
return nullptr;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
463
|
try
|
|
480
464
|
{
|
|
465
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallNotificationTriggerDetails", L"LineId"))
|
|
466
|
+
{
|
|
467
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
468
|
+
return nullptr;
|
|
469
|
+
}
|
|
470
|
+
|
|
481
471
|
return py::convert(self->obj.LineId());
|
|
482
472
|
}
|
|
483
473
|
catch (...)
|
|
@@ -523,23 +513,20 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
523
513
|
{ }
|
|
524
514
|
};
|
|
525
515
|
|
|
526
|
-
static PyType_Slot _type_slots_PhoneIncomingCallNotificationTriggerDetails[] =
|
|
527
|
-
{
|
|
516
|
+
static PyType_Slot _type_slots_PhoneIncomingCallNotificationTriggerDetails[] = {
|
|
528
517
|
{ Py_tp_new, reinterpret_cast<void*>(_new_PhoneIncomingCallNotificationTriggerDetails) },
|
|
529
518
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_PhoneIncomingCallNotificationTriggerDetails) },
|
|
530
519
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_PhoneIncomingCallNotificationTriggerDetails) },
|
|
531
520
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_PhoneIncomingCallNotificationTriggerDetails) },
|
|
532
|
-
{ }
|
|
521
|
+
{ }
|
|
533
522
|
};
|
|
534
523
|
|
|
535
|
-
static PyType_Spec type_spec_PhoneIncomingCallNotificationTriggerDetails =
|
|
536
|
-
{
|
|
524
|
+
static PyType_Spec type_spec_PhoneIncomingCallNotificationTriggerDetails = {
|
|
537
525
|
"winrt._winrt_windows_applicationmodel_calls_background.PhoneIncomingCallNotificationTriggerDetails",
|
|
538
526
|
sizeof(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneIncomingCallNotificationTriggerDetails),
|
|
539
527
|
0,
|
|
540
528
|
Py_TPFLAGS_DEFAULT,
|
|
541
|
-
_type_slots_PhoneIncomingCallNotificationTriggerDetails
|
|
542
|
-
};
|
|
529
|
+
_type_slots_PhoneIncomingCallNotificationTriggerDetails};
|
|
543
530
|
|
|
544
531
|
// ----- PhoneLineChangedTriggerDetails class --------------------
|
|
545
532
|
|
|
@@ -564,14 +551,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
564
551
|
|
|
565
552
|
if (arg_count == 1)
|
|
566
553
|
{
|
|
567
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails", L"HasLinePropertyChanged", 1))
|
|
568
|
-
{
|
|
569
|
-
py::set_arg_count_version_error(1);
|
|
570
|
-
return nullptr;
|
|
571
|
-
}
|
|
572
|
-
|
|
573
554
|
try
|
|
574
555
|
{
|
|
556
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails", L"HasLinePropertyChanged", 1))
|
|
557
|
+
{
|
|
558
|
+
py::set_arg_count_version_error(1);
|
|
559
|
+
return nullptr;
|
|
560
|
+
}
|
|
561
|
+
|
|
575
562
|
auto param0 = py::convert_to<winrt::Windows::ApplicationModel::Calls::Background::PhoneLineProperties>(args, 0);
|
|
576
563
|
|
|
577
564
|
return py::convert(self->obj.HasLinePropertyChanged(param0));
|
|
@@ -591,14 +578,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
591
578
|
|
|
592
579
|
static PyObject* PhoneLineChangedTriggerDetails_get_ChangeType(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneLineChangedTriggerDetails* self, void* /*unused*/) noexcept
|
|
593
580
|
{
|
|
594
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails", L"ChangeType"))
|
|
595
|
-
{
|
|
596
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
597
|
-
return nullptr;
|
|
598
|
-
}
|
|
599
|
-
|
|
600
581
|
try
|
|
601
582
|
{
|
|
583
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails", L"ChangeType"))
|
|
584
|
+
{
|
|
585
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
586
|
+
return nullptr;
|
|
587
|
+
}
|
|
588
|
+
|
|
602
589
|
return py::convert(self->obj.ChangeType());
|
|
603
590
|
}
|
|
604
591
|
catch (...)
|
|
@@ -610,14 +597,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
610
597
|
|
|
611
598
|
static PyObject* PhoneLineChangedTriggerDetails_get_LineId(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneLineChangedTriggerDetails* self, void* /*unused*/) noexcept
|
|
612
599
|
{
|
|
613
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails", L"LineId"))
|
|
614
|
-
{
|
|
615
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
616
|
-
return nullptr;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
600
|
try
|
|
620
601
|
{
|
|
602
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails", L"LineId"))
|
|
603
|
+
{
|
|
604
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
605
|
+
return nullptr;
|
|
606
|
+
}
|
|
607
|
+
|
|
621
608
|
return py::convert(self->obj.LineId());
|
|
622
609
|
}
|
|
623
610
|
catch (...)
|
|
@@ -664,23 +651,20 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
664
651
|
{ }
|
|
665
652
|
};
|
|
666
653
|
|
|
667
|
-
static PyType_Slot _type_slots_PhoneLineChangedTriggerDetails[] =
|
|
668
|
-
{
|
|
654
|
+
static PyType_Slot _type_slots_PhoneLineChangedTriggerDetails[] = {
|
|
669
655
|
{ Py_tp_new, reinterpret_cast<void*>(_new_PhoneLineChangedTriggerDetails) },
|
|
670
656
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_PhoneLineChangedTriggerDetails) },
|
|
671
657
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_PhoneLineChangedTriggerDetails) },
|
|
672
658
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_PhoneLineChangedTriggerDetails) },
|
|
673
|
-
{ }
|
|
659
|
+
{ }
|
|
674
660
|
};
|
|
675
661
|
|
|
676
|
-
static PyType_Spec type_spec_PhoneLineChangedTriggerDetails =
|
|
677
|
-
{
|
|
662
|
+
static PyType_Spec type_spec_PhoneLineChangedTriggerDetails = {
|
|
678
663
|
"winrt._winrt_windows_applicationmodel_calls_background.PhoneLineChangedTriggerDetails",
|
|
679
664
|
sizeof(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneLineChangedTriggerDetails),
|
|
680
665
|
0,
|
|
681
666
|
Py_TPFLAGS_DEFAULT,
|
|
682
|
-
_type_slots_PhoneLineChangedTriggerDetails
|
|
683
|
-
};
|
|
667
|
+
_type_slots_PhoneLineChangedTriggerDetails};
|
|
684
668
|
|
|
685
669
|
// ----- PhoneNewVoicemailMessageTriggerDetails class --------------------
|
|
686
670
|
|
|
@@ -701,14 +685,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
701
685
|
|
|
702
686
|
static PyObject* PhoneNewVoicemailMessageTriggerDetails_get_LineId(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneNewVoicemailMessageTriggerDetails* self, void* /*unused*/) noexcept
|
|
703
687
|
{
|
|
704
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails", L"LineId"))
|
|
705
|
-
{
|
|
706
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
707
|
-
return nullptr;
|
|
708
|
-
}
|
|
709
|
-
|
|
710
688
|
try
|
|
711
689
|
{
|
|
690
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails", L"LineId"))
|
|
691
|
+
{
|
|
692
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
693
|
+
return nullptr;
|
|
694
|
+
}
|
|
695
|
+
|
|
712
696
|
return py::convert(self->obj.LineId());
|
|
713
697
|
}
|
|
714
698
|
catch (...)
|
|
@@ -720,14 +704,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
720
704
|
|
|
721
705
|
static PyObject* PhoneNewVoicemailMessageTriggerDetails_get_OperatorMessage(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneNewVoicemailMessageTriggerDetails* self, void* /*unused*/) noexcept
|
|
722
706
|
{
|
|
723
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails", L"OperatorMessage"))
|
|
724
|
-
{
|
|
725
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
726
|
-
return nullptr;
|
|
727
|
-
}
|
|
728
|
-
|
|
729
707
|
try
|
|
730
708
|
{
|
|
709
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails", L"OperatorMessage"))
|
|
710
|
+
{
|
|
711
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
712
|
+
return nullptr;
|
|
713
|
+
}
|
|
714
|
+
|
|
731
715
|
return py::convert(self->obj.OperatorMessage());
|
|
732
716
|
}
|
|
733
717
|
catch (...)
|
|
@@ -739,14 +723,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
739
723
|
|
|
740
724
|
static PyObject* PhoneNewVoicemailMessageTriggerDetails_get_VoicemailCount(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneNewVoicemailMessageTriggerDetails* self, void* /*unused*/) noexcept
|
|
741
725
|
{
|
|
742
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails", L"VoicemailCount"))
|
|
743
|
-
{
|
|
744
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
745
|
-
return nullptr;
|
|
746
|
-
}
|
|
747
|
-
|
|
748
726
|
try
|
|
749
727
|
{
|
|
728
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails", L"VoicemailCount"))
|
|
729
|
+
{
|
|
730
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
731
|
+
return nullptr;
|
|
732
|
+
}
|
|
733
|
+
|
|
750
734
|
return py::convert(self->obj.VoicemailCount());
|
|
751
735
|
}
|
|
752
736
|
catch (...)
|
|
@@ -793,39 +777,35 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
793
777
|
{ }
|
|
794
778
|
};
|
|
795
779
|
|
|
796
|
-
static PyType_Slot _type_slots_PhoneNewVoicemailMessageTriggerDetails[] =
|
|
797
|
-
{
|
|
780
|
+
static PyType_Slot _type_slots_PhoneNewVoicemailMessageTriggerDetails[] = {
|
|
798
781
|
{ Py_tp_new, reinterpret_cast<void*>(_new_PhoneNewVoicemailMessageTriggerDetails) },
|
|
799
782
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_PhoneNewVoicemailMessageTriggerDetails) },
|
|
800
783
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_PhoneNewVoicemailMessageTriggerDetails) },
|
|
801
784
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_PhoneNewVoicemailMessageTriggerDetails) },
|
|
802
|
-
{ }
|
|
785
|
+
{ }
|
|
803
786
|
};
|
|
804
787
|
|
|
805
|
-
static PyType_Spec type_spec_PhoneNewVoicemailMessageTriggerDetails =
|
|
806
|
-
{
|
|
788
|
+
static PyType_Spec type_spec_PhoneNewVoicemailMessageTriggerDetails = {
|
|
807
789
|
"winrt._winrt_windows_applicationmodel_calls_background.PhoneNewVoicemailMessageTriggerDetails",
|
|
808
790
|
sizeof(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneNewVoicemailMessageTriggerDetails),
|
|
809
791
|
0,
|
|
810
792
|
Py_TPFLAGS_DEFAULT,
|
|
811
|
-
_type_slots_PhoneNewVoicemailMessageTriggerDetails
|
|
812
|
-
};
|
|
793
|
+
_type_slots_PhoneNewVoicemailMessageTriggerDetails};
|
|
813
794
|
|
|
814
795
|
// ----- Windows.ApplicationModel.Calls.Background Initialization --------------------
|
|
815
|
-
PyDoc_STRVAR(module_doc, "Windows::ApplicationModel::Calls::Background");
|
|
816
796
|
|
|
797
|
+
PyDoc_STRVAR(module_doc, "Windows.ApplicationModel.Calls.Background");
|
|
817
798
|
|
|
818
|
-
static PyModuleDef module_def
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
799
|
+
static PyModuleDef module_def = {
|
|
800
|
+
PyModuleDef_HEAD_INIT,
|
|
801
|
+
"_winrt_windows_applicationmodel_calls_background",
|
|
802
|
+
module_doc,
|
|
803
|
+
0,
|
|
804
|
+
nullptr,
|
|
805
|
+
nullptr,
|
|
806
|
+
nullptr,
|
|
807
|
+
nullptr,
|
|
808
|
+
nullptr};
|
|
829
809
|
} // py::cpp::Windows::ApplicationModel::Calls::Background
|
|
830
810
|
|
|
831
811
|
PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_calls_background(void) noexcept
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "
|
|
4
|
+
requires = ["setuptools", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
@@ -30,7 +30,7 @@ dependencies = { file = "requirements.txt" }
|
|
|
30
30
|
optional-dependencies.all = { file = "all-requirements.txt" }
|
|
31
31
|
|
|
32
32
|
[tool.setuptools.package-data]
|
|
33
|
-
|
|
33
|
+
"*" = ["*.pyi", "py.typed"]
|
|
34
34
|
|
|
35
35
|
[tool.cibuildwheel]
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
@@ -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.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.1.0
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
+
|
|
3
|
+
from setuptools import Extension, setup
|
|
4
|
+
from setuptools.command.build_ext import build_ext
|
|
5
|
+
from winrt_sdk import get_include_dirs
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class build_ext_ex(build_ext):
|
|
9
|
+
def build_extension(self, ext):
|
|
10
|
+
if self.compiler.compiler_type == "msvc":
|
|
11
|
+
ext.extra_compile_args = ["/std:c++20", "/permissive-"]
|
|
12
|
+
elif self.compiler.compiler_type == "mingw32":
|
|
13
|
+
ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
|
|
14
|
+
ext.extra_link_args = ["-loleaut32"]
|
|
15
|
+
else:
|
|
16
|
+
raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
|
|
17
|
+
|
|
18
|
+
build_ext.build_extension(self, ext)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
setup(
|
|
22
|
+
cmdclass = {'build_ext': build_ext_ex},
|
|
23
|
+
ext_modules=[
|
|
24
|
+
Extension(
|
|
25
|
+
"winrt._winrt_windows_applicationmodel_calls_background",
|
|
26
|
+
sources=["py.Windows.ApplicationModel.Calls.Background.cpp"],
|
|
27
|
+
include_dirs=get_include_dirs(),
|
|
28
|
+
libraries=["windowsapp"],
|
|
29
|
+
)
|
|
30
|
+
],
|
|
31
|
+
)
|
|
@@ -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.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
|
from winrt.windows.applicationmodel.calls.background import PhoneCallBlockedReason, PhoneIncomingCallDismissedReason, PhoneLineChangeKind, PhoneLineProperties, PhoneTriggerType
|
|
15
15
|
|
|
@@ -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.1.0
|
|
2
2
|
|
|
3
3
|
import enum
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ class PhoneLineChangeKind(enum.IntEnum):
|
|
|
36
36
|
PROPERTIES_CHANGED = 2
|
|
37
37
|
|
|
38
38
|
class PhoneLineProperties(enum.IntFlag):
|
|
39
|
-
NONE =
|
|
39
|
+
NONE = 0x0
|
|
40
40
|
BRANDING_OPTIONS = 0x1
|
|
41
41
|
CAN_DIAL = 0x2
|
|
42
42
|
CELLULAR_DETAILS = 0x4
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.Calls.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,7 +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.1.0
|
|
15
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
|
|
16
18
|
|
|
17
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
18
20
|
|
|
@@ -7,6 +7,7 @@ requirements.txt
|
|
|
7
7
|
setup.py
|
|
8
8
|
winrt/_winrt_windows_applicationmodel_calls_background.pyi
|
|
9
9
|
winrt/windows/applicationmodel/calls/background/__init__.py
|
|
10
|
+
winrt/windows/applicationmodel/calls/background/py.typed
|
|
10
11
|
winrt_Windows.ApplicationModel.Calls.Background.egg-info/PKG-INFO
|
|
11
12
|
winrt_Windows.ApplicationModel.Calls.Background.egg-info/SOURCES.txt
|
|
12
13
|
winrt_Windows.ApplicationModel.Calls.Background.egg-info/dependency_links.txt
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.0-beta.2
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
-
|
|
3
|
-
from setuptools import Extension, setup
|
|
4
|
-
from winrt_sdk import get_include_dirs
|
|
5
|
-
|
|
6
|
-
setup(
|
|
7
|
-
ext_modules=[
|
|
8
|
-
Extension(
|
|
9
|
-
"winrt._winrt_windows_applicationmodel_calls_background",
|
|
10
|
-
sources=["py.Windows.ApplicationModel.Calls.Background.cpp"],
|
|
11
|
-
include_dirs=get_include_dirs(),
|
|
12
|
-
extra_compile_args=["/std:c++20", "/permissive-"],
|
|
13
|
-
libraries=["windowsapp"],
|
|
14
|
-
)
|
|
15
|
-
],
|
|
16
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|