winrt-Windows.ApplicationModel.Wallet.System 2.3.0__tar.gz → 3.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_wallet_system-2.3.0 → winrt_windows_applicationmodel_wallet_system-3.1.0}/PKG-INFO +9 -9
- winrt_windows_applicationmodel_wallet_system-3.1.0/all-requirements.txt +6 -0
- {winrt_windows_applicationmodel_wallet_system-2.3.0 → winrt_windows_applicationmodel_wallet_system-3.1.0}/py.Windows.ApplicationModel.Wallet.System.cpp +71 -37
- {winrt_windows_applicationmodel_wallet_system-2.3.0 → winrt_windows_applicationmodel_wallet_system-3.1.0}/pyproject.toml +4 -4
- winrt_windows_applicationmodel_wallet_system-3.1.0/pywinrt-version.txt +1 -0
- {winrt_windows_applicationmodel_wallet_system-2.3.0 → winrt_windows_applicationmodel_wallet_system-3.1.0}/requirements.txt +2 -2
- {winrt_windows_applicationmodel_wallet_system-2.3.0 → winrt_windows_applicationmodel_wallet_system-3.1.0}/setup.py +1 -1
- winrt_windows_applicationmodel_wallet_system-3.1.0/winrt/_winrt_windows_applicationmodel_wallet_system.pyi +54 -0
- {winrt_windows_applicationmodel_wallet_system-2.3.0 → winrt_windows_applicationmodel_wallet_system-3.1.0}/winrt/windows/applicationmodel/wallet/system/__init__.py +5 -4
- {winrt_windows_applicationmodel_wallet_system-2.3.0 → winrt_windows_applicationmodel_wallet_system-3.1.0}/winrt_Windows.ApplicationModel.Wallet.System.egg-info/PKG-INFO +9 -9
- winrt_windows_applicationmodel_wallet_system-3.1.0/winrt_Windows.ApplicationModel.Wallet.System.egg-info/requires.txt +7 -0
- winrt_windows_applicationmodel_wallet_system-2.3.0/all-requirements.txt +0 -6
- winrt_windows_applicationmodel_wallet_system-2.3.0/pywinrt-version.txt +0 -1
- winrt_windows_applicationmodel_wallet_system-2.3.0/winrt/_winrt_windows_applicationmodel_wallet_system.pyi +0 -40
- winrt_windows_applicationmodel_wallet_system-2.3.0/winrt_Windows.ApplicationModel.Wallet.System.egg-info/requires.txt +0 -7
- {winrt_windows_applicationmodel_wallet_system-2.3.0 → winrt_windows_applicationmodel_wallet_system-3.1.0}/README.md +0 -0
- {winrt_windows_applicationmodel_wallet_system-2.3.0 → winrt_windows_applicationmodel_wallet_system-3.1.0}/setup.cfg +0 -0
- {winrt_windows_applicationmodel_wallet_system-2.3.0 → winrt_windows_applicationmodel_wallet_system-3.1.0}/winrt/windows/applicationmodel/wallet/system/py.typed +0 -0
- {winrt_windows_applicationmodel_wallet_system-2.3.0 → winrt_windows_applicationmodel_wallet_system-3.1.0}/winrt_Windows.ApplicationModel.Wallet.System.egg-info/SOURCES.txt +0 -0
- {winrt_windows_applicationmodel_wallet_system-2.3.0 → winrt_windows_applicationmodel_wallet_system-3.1.0}/winrt_Windows.ApplicationModel.Wallet.System.egg-info/dependency_links.txt +0 -0
- {winrt_windows_applicationmodel_wallet_system-2.3.0 → winrt_windows_applicationmodel_wallet_system-3.1.0}/winrt_Windows.ApplicationModel.Wallet.System.egg-info/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.Wallet.System
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -10,14 +10,14 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel.Wallet[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==
|
|
20
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Wallet[all]==3.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==3.1.0; extra == "all"
|
|
21
21
|
|
|
22
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
23
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.ApplicationModel.Wallet.System.h"
|
|
4
4
|
|
|
@@ -23,7 +23,7 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
|
|
|
23
23
|
|
|
24
24
|
static PyObject* WalletItemSystemStore_DeleteAsync(py::wrapper::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore* self, PyObject* args) noexcept
|
|
25
25
|
{
|
|
26
|
-
auto arg_count =
|
|
26
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
27
27
|
|
|
28
28
|
if (arg_count == 1)
|
|
29
29
|
{
|
|
@@ -44,7 +44,11 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
|
|
|
44
44
|
|
|
45
45
|
auto param0 = py::convert_to<winrt::Windows::ApplicationModel::Wallet::WalletItem>(args, 0);
|
|
46
46
|
|
|
47
|
-
return py::convert(
|
|
47
|
+
return py::convert([&]()
|
|
48
|
+
{
|
|
49
|
+
auto _gil = release_gil();
|
|
50
|
+
return self->obj.DeleteAsync(param0);
|
|
51
|
+
}());
|
|
48
52
|
}
|
|
49
53
|
catch (...)
|
|
50
54
|
{
|
|
@@ -61,7 +65,7 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
|
|
|
61
65
|
|
|
62
66
|
static PyObject* WalletItemSystemStore_GetAppStatusForItem(py::wrapper::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore* self, PyObject* args) noexcept
|
|
63
67
|
{
|
|
64
|
-
auto arg_count =
|
|
68
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
65
69
|
|
|
66
70
|
if (arg_count == 1)
|
|
67
71
|
{
|
|
@@ -82,7 +86,11 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
|
|
|
82
86
|
|
|
83
87
|
auto param0 = py::convert_to<winrt::Windows::ApplicationModel::Wallet::WalletItem>(args, 0);
|
|
84
88
|
|
|
85
|
-
return py::convert(
|
|
89
|
+
return py::convert([&]()
|
|
90
|
+
{
|
|
91
|
+
auto _gil = release_gil();
|
|
92
|
+
return self->obj.GetAppStatusForItem(param0);
|
|
93
|
+
}());
|
|
86
94
|
}
|
|
87
95
|
catch (...)
|
|
88
96
|
{
|
|
@@ -99,7 +107,7 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
|
|
|
99
107
|
|
|
100
108
|
static PyObject* WalletItemSystemStore_GetItemsAsync(py::wrapper::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore* self, PyObject* args) noexcept
|
|
101
109
|
{
|
|
102
|
-
auto arg_count =
|
|
110
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
103
111
|
|
|
104
112
|
if (arg_count == 0)
|
|
105
113
|
{
|
|
@@ -118,7 +126,11 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
|
|
|
118
126
|
return nullptr;
|
|
119
127
|
}
|
|
120
128
|
|
|
121
|
-
return py::convert(
|
|
129
|
+
return py::convert([&]()
|
|
130
|
+
{
|
|
131
|
+
auto _gil = release_gil();
|
|
132
|
+
return self->obj.GetItemsAsync();
|
|
133
|
+
}());
|
|
122
134
|
}
|
|
123
135
|
catch (...)
|
|
124
136
|
{
|
|
@@ -135,7 +147,7 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
|
|
|
135
147
|
|
|
136
148
|
static PyObject* WalletItemSystemStore_ImportItemAsync(py::wrapper::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore* self, PyObject* args) noexcept
|
|
137
149
|
{
|
|
138
|
-
auto arg_count =
|
|
150
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
139
151
|
|
|
140
152
|
if (arg_count == 1)
|
|
141
153
|
{
|
|
@@ -156,7 +168,11 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
|
|
|
156
168
|
|
|
157
169
|
auto param0 = py::convert_to<winrt::Windows::Storage::Streams::IRandomAccessStreamReference>(args, 0);
|
|
158
170
|
|
|
159
|
-
return py::convert(
|
|
171
|
+
return py::convert([&]()
|
|
172
|
+
{
|
|
173
|
+
auto _gil = release_gil();
|
|
174
|
+
return self->obj.ImportItemAsync(param0);
|
|
175
|
+
}());
|
|
160
176
|
}
|
|
161
177
|
catch (...)
|
|
162
178
|
{
|
|
@@ -173,7 +189,7 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
|
|
|
173
189
|
|
|
174
190
|
static PyObject* WalletItemSystemStore_LaunchAppForItemAsync(py::wrapper::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore* self, PyObject* args) noexcept
|
|
175
191
|
{
|
|
176
|
-
auto arg_count =
|
|
192
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
177
193
|
|
|
178
194
|
if (arg_count == 1)
|
|
179
195
|
{
|
|
@@ -194,7 +210,11 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
|
|
|
194
210
|
|
|
195
211
|
auto param0 = py::convert_to<winrt::Windows::ApplicationModel::Wallet::WalletItem>(args, 0);
|
|
196
212
|
|
|
197
|
-
return py::convert(
|
|
213
|
+
return py::convert([&]()
|
|
214
|
+
{
|
|
215
|
+
auto _gil = release_gil();
|
|
216
|
+
return self->obj.LaunchAppForItemAsync(param0);
|
|
217
|
+
}());
|
|
198
218
|
}
|
|
199
219
|
catch (...)
|
|
200
220
|
{
|
|
@@ -228,7 +248,11 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
|
|
|
228
248
|
|
|
229
249
|
auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore, winrt::Windows::Foundation::IInspectable>>(arg);
|
|
230
250
|
|
|
231
|
-
return py::convert(
|
|
251
|
+
return py::convert([&]()
|
|
252
|
+
{
|
|
253
|
+
auto _gil = release_gil();
|
|
254
|
+
return self->obj.ItemsChanged(param0);
|
|
255
|
+
}());
|
|
232
256
|
}
|
|
233
257
|
catch (...)
|
|
234
258
|
{
|
|
@@ -256,7 +280,11 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
|
|
|
256
280
|
|
|
257
281
|
auto param0 = py::convert_to<winrt::event_token>(arg);
|
|
258
282
|
|
|
259
|
-
|
|
283
|
+
{
|
|
284
|
+
auto _gil = release_gil();
|
|
285
|
+
self->obj.ItemsChanged(param0);
|
|
286
|
+
}
|
|
287
|
+
|
|
260
288
|
Py_RETURN_NONE;
|
|
261
289
|
}
|
|
262
290
|
catch (...)
|
|
@@ -300,20 +328,17 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
|
|
|
300
328
|
{ "remove_items_changed", reinterpret_cast<PyCFunction>(WalletItemSystemStore_remove_ItemsChanged), METH_O, nullptr },
|
|
301
329
|
{ "_assign_array_", _assign_array_WalletItemSystemStore, METH_O | METH_STATIC, nullptr },
|
|
302
330
|
{ "_from", reinterpret_cast<PyCFunction>(_from_WalletItemSystemStore), METH_O | METH_STATIC, nullptr },
|
|
303
|
-
{ }
|
|
304
|
-
};
|
|
331
|
+
{ }};
|
|
305
332
|
|
|
306
333
|
static PyGetSetDef _getset_WalletItemSystemStore[] = {
|
|
307
|
-
{ }
|
|
308
|
-
};
|
|
334
|
+
{ }};
|
|
309
335
|
|
|
310
336
|
static PyType_Slot _type_slots_WalletItemSystemStore[] = {
|
|
311
337
|
{ Py_tp_new, reinterpret_cast<void*>(_new_WalletItemSystemStore) },
|
|
312
338
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_WalletItemSystemStore) },
|
|
313
339
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_WalletItemSystemStore) },
|
|
314
340
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_WalletItemSystemStore) },
|
|
315
|
-
{ }
|
|
316
|
-
};
|
|
341
|
+
{ }};
|
|
317
342
|
|
|
318
343
|
static PyType_Spec type_spec_WalletItemSystemStore = {
|
|
319
344
|
"winrt._winrt_windows_applicationmodel_wallet_system.WalletItemSystemStore",
|
|
@@ -333,7 +358,7 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
|
|
|
333
358
|
|
|
334
359
|
static PyObject* WalletManagerSystem_RequestStoreAsync(PyObject* /*unused*/, PyObject* args) noexcept
|
|
335
360
|
{
|
|
336
|
-
auto arg_count =
|
|
361
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
337
362
|
|
|
338
363
|
if (arg_count == 0)
|
|
339
364
|
{
|
|
@@ -352,7 +377,11 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
|
|
|
352
377
|
return nullptr;
|
|
353
378
|
}
|
|
354
379
|
|
|
355
|
-
return py::convert(
|
|
380
|
+
return py::convert([&]()
|
|
381
|
+
{
|
|
382
|
+
auto _gil = release_gil();
|
|
383
|
+
return winrt::Windows::ApplicationModel::Wallet::System::WalletManagerSystem::RequestStoreAsync();
|
|
384
|
+
}());
|
|
356
385
|
}
|
|
357
386
|
catch (...)
|
|
358
387
|
{
|
|
@@ -368,19 +397,16 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
|
|
|
368
397
|
}
|
|
369
398
|
|
|
370
399
|
static PyMethodDef _methods_WalletManagerSystem[] = {
|
|
371
|
-
{ }
|
|
372
|
-
};
|
|
400
|
+
{ }};
|
|
373
401
|
|
|
374
402
|
static PyGetSetDef _getset_WalletManagerSystem[] = {
|
|
375
|
-
{ }
|
|
376
|
-
};
|
|
403
|
+
{ }};
|
|
377
404
|
|
|
378
405
|
static PyType_Slot _type_slots_WalletManagerSystem[] = {
|
|
379
406
|
{ Py_tp_new, reinterpret_cast<void*>(_new_WalletManagerSystem) },
|
|
380
407
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_WalletManagerSystem) },
|
|
381
408
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_WalletManagerSystem) },
|
|
382
|
-
{ }
|
|
383
|
-
};
|
|
409
|
+
{ }};
|
|
384
410
|
|
|
385
411
|
static PyType_Spec type_spec_WalletManagerSystem = {
|
|
386
412
|
"winrt._winrt_windows_applicationmodel_wallet_system.WalletManagerSystem",
|
|
@@ -390,13 +416,11 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
|
|
|
390
416
|
_type_slots_WalletManagerSystem};
|
|
391
417
|
|
|
392
418
|
static PyGetSetDef getset_WalletManagerSystem_Static[] = {
|
|
393
|
-
{ }
|
|
394
|
-
};
|
|
419
|
+
{ }};
|
|
395
420
|
|
|
396
421
|
static PyMethodDef methods_WalletManagerSystem_Static[] = {
|
|
397
422
|
{ "request_store_async", reinterpret_cast<PyCFunction>(WalletManagerSystem_RequestStoreAsync), METH_VARARGS, nullptr },
|
|
398
|
-
{ }
|
|
399
|
-
};
|
|
423
|
+
{ }};
|
|
400
424
|
|
|
401
425
|
static PyType_Slot type_slots_WalletManagerSystem_Static[] =
|
|
402
426
|
{
|
|
@@ -406,14 +430,12 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
|
|
|
406
430
|
{ }
|
|
407
431
|
};
|
|
408
432
|
|
|
409
|
-
static PyType_Spec type_spec_WalletManagerSystem_Static =
|
|
410
|
-
{
|
|
433
|
+
static PyType_Spec type_spec_WalletManagerSystem_Static = {
|
|
411
434
|
"winrt._winrt_windows_applicationmodel_wallet_system.WalletManagerSystem_Static",
|
|
412
435
|
static_cast<int>(PyType_Type.tp_basicsize),
|
|
413
436
|
static_cast<int>(PyType_Type.tp_itemsize),
|
|
414
437
|
Py_TPFLAGS_DEFAULT,
|
|
415
|
-
type_slots_WalletManagerSystem_Static
|
|
416
|
-
};
|
|
438
|
+
type_slots_WalletManagerSystem_Static};
|
|
417
439
|
|
|
418
440
|
// ----- Windows.ApplicationModel.Wallet.System Initialization --------------------
|
|
419
441
|
|
|
@@ -447,6 +469,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_wallet_system(void) noexce
|
|
|
447
469
|
return nullptr;
|
|
448
470
|
}
|
|
449
471
|
|
|
472
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
473
|
+
if (!inspectable_meta_type)
|
|
474
|
+
{
|
|
475
|
+
return nullptr;
|
|
476
|
+
}
|
|
477
|
+
|
|
450
478
|
auto object_type = py::get_object_type();
|
|
451
479
|
if (!object_type)
|
|
452
480
|
{
|
|
@@ -460,13 +488,19 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_wallet_system(void) noexce
|
|
|
460
488
|
return nullptr;
|
|
461
489
|
}
|
|
462
490
|
|
|
463
|
-
py::pytype_handle WalletItemSystemStore_type{py::register_python_type(module.get(), &type_spec_WalletItemSystemStore, object_bases.get(),
|
|
491
|
+
py::pytype_handle WalletItemSystemStore_type{py::register_python_type(module.get(), &type_spec_WalletItemSystemStore, object_bases.get(), inspectable_meta_type)};
|
|
464
492
|
if (!WalletItemSystemStore_type)
|
|
465
493
|
{
|
|
466
494
|
return nullptr;
|
|
467
495
|
}
|
|
468
496
|
|
|
469
|
-
py::pyobj_handle
|
|
497
|
+
py::pyobj_handle WalletManagerSystem_Static_bases{PyTuple_Pack(1, reinterpret_cast<PyObject*>(inspectable_meta_type))};
|
|
498
|
+
if (!WalletManagerSystem_Static_bases)
|
|
499
|
+
{
|
|
500
|
+
return nullptr;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
py::pyobj_handle type_WalletManagerSystem_Static{PyType_FromSpecWithBases(&type_spec_WalletManagerSystem_Static, WalletManagerSystem_Static_bases.get())};
|
|
470
504
|
if (!type_WalletManagerSystem_Static)
|
|
471
505
|
{
|
|
472
506
|
return nullptr;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "winrt-sdk"]
|
|
4
|
+
requires = ["setuptools>=78", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "winrt-Windows.ApplicationModel.Wallet.System"
|
|
9
9
|
description = "Python projection of Windows Runtime (WinRT) APIs"
|
|
10
10
|
readme = "README.md"
|
|
11
|
-
license =
|
|
11
|
+
license = "MIT"
|
|
12
12
|
classifiers = [
|
|
13
13
|
"Operating System :: Microsoft :: Windows",
|
|
14
14
|
"Programming Language :: Python :: 3",
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9
|
|
19
|
+
requires-python = ">=3.9"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -34,7 +34,7 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
34
34
|
|
|
35
35
|
[tool.cibuildwheel]
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
|
-
environment = { PYTHONPATH="
|
|
37
|
+
environment = { PYTHONPATH="../../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
39
|
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
40
|
before-build = "uv pip install setuptools"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.1.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==
|
|
3
|
+
winrt-runtime==3.1.0
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.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.wallet as windows_applicationmodel_wallet
|
|
13
|
+
import winrt.windows.foundation as windows_foundation
|
|
14
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
16
|
+
|
|
17
|
+
from winrt.windows.applicationmodel.wallet.system import WalletItemAppAssociation
|
|
18
|
+
|
|
19
|
+
Self = typing.TypeVar('Self')
|
|
20
|
+
|
|
21
|
+
@typing.final
|
|
22
|
+
class WalletItemSystemStore(winrt.system.Object):
|
|
23
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.Wallet.System.WalletItemSystemStore::DeleteAsync(Windows.ApplicationModel.Wallet.WalletItem)
|
|
24
|
+
# @deprecated("IWalletItemSystemStore is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
25
|
+
def delete_async(self, item: windows_applicationmodel_wallet.WalletItem, /) -> windows_foundation.IAsyncAction: ...
|
|
26
|
+
# Windows.ApplicationModel.Wallet.System.WalletItemAppAssociation Windows.ApplicationModel.Wallet.System.WalletItemSystemStore::GetAppStatusForItem(Windows.ApplicationModel.Wallet.WalletItem)
|
|
27
|
+
# @deprecated("IWalletItemSystemStore is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
28
|
+
def get_app_status_for_item(self, item: windows_applicationmodel_wallet.WalletItem, /) -> WalletItemAppAssociation: ...
|
|
29
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Wallet.WalletItem>> Windows.ApplicationModel.Wallet.System.WalletItemSystemStore::GetItemsAsync()
|
|
30
|
+
# @deprecated("IWalletItemSystemStore is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
31
|
+
def get_items_async(self) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_applicationmodel_wallet.WalletItem]]: ...
|
|
32
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Wallet.WalletItem> Windows.ApplicationModel.Wallet.System.WalletItemSystemStore::ImportItemAsync(Windows.Storage.Streams.IRandomAccessStreamReference)
|
|
33
|
+
# @deprecated("IWalletItemSystemStore is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
34
|
+
def import_item_async(self, stream: windows_storage_streams.IRandomAccessStreamReference, /) -> windows_foundation.IAsyncOperation[windows_applicationmodel_wallet.WalletItem]: ...
|
|
35
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.Wallet.System.WalletItemSystemStore::LaunchAppForItemAsync(Windows.ApplicationModel.Wallet.WalletItem)
|
|
36
|
+
# @deprecated("IWalletItemSystemStore is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
37
|
+
def launch_app_for_item_async(self, item: windows_applicationmodel_wallet.WalletItem, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
38
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Wallet.System.WalletItemSystemStore::add_ItemsChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Wallet.System.WalletItemSystemStore,System.Object>)
|
|
39
|
+
# @deprecated("IWalletItemSystemStore2 is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
40
|
+
def add_items_changed(self, handler: windows_foundation.TypedEventHandler[WalletItemSystemStore, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
41
|
+
# System.Void Windows.ApplicationModel.Wallet.System.WalletItemSystemStore::remove_ItemsChanged(Windows.Foundation.EventRegistrationToken)
|
|
42
|
+
# @deprecated("IWalletItemSystemStore2 is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
43
|
+
def remove_items_changed(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
44
|
+
|
|
45
|
+
@typing.final
|
|
46
|
+
class WalletManagerSystem_Static(winrt._winrt.IInspectable_Static):
|
|
47
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Wallet.System.WalletItemSystemStore> Windows.ApplicationModel.Wallet.System.WalletManagerSystem::RequestStoreAsync()
|
|
48
|
+
# @deprecated("IWalletManagerSystemStatics is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
49
|
+
def request_store_async(cls) -> windows_foundation.IAsyncOperation[WalletItemSystemStore]: ...
|
|
50
|
+
|
|
51
|
+
@typing.final
|
|
52
|
+
class WalletManagerSystem(winrt.system.Object, metaclass=WalletManagerSystem_Static):
|
|
53
|
+
pass
|
|
54
|
+
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
|
|
2
2
|
|
|
3
3
|
import enum
|
|
4
4
|
|
|
5
5
|
import winrt.system
|
|
6
|
-
from winrt import
|
|
6
|
+
from winrt._winrt_windows_applicationmodel_wallet_system import (
|
|
7
|
+
WalletItemSystemStore,
|
|
8
|
+
WalletManagerSystem,
|
|
9
|
+
)
|
|
7
10
|
|
|
8
11
|
__all__ = [
|
|
9
12
|
"WalletItemAppAssociation",
|
|
@@ -16,5 +19,3 @@ class WalletItemAppAssociation(enum.IntEnum):
|
|
|
16
19
|
APP_INSTALLED = 1
|
|
17
20
|
APP_NOT_INSTALLED = 2
|
|
18
21
|
|
|
19
|
-
WalletItemSystemStore = _winrt_windows_applicationmodel_wallet_system.WalletItemSystemStore
|
|
20
|
-
WalletManagerSystem = _winrt_windows_applicationmodel_wallet_system.WalletManagerSystem
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.Wallet.System
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -10,14 +10,14 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel.Wallet[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==
|
|
20
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Wallet[all]==3.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==3.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.3.0
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
|
-
|
|
3
|
-
import datetime
|
|
4
|
-
import sys
|
|
5
|
-
import types
|
|
6
|
-
import typing
|
|
7
|
-
import uuid as _uuid
|
|
8
|
-
from builtins import property as _property
|
|
9
|
-
|
|
10
|
-
import winrt._winrt
|
|
11
|
-
import winrt.system
|
|
12
|
-
import winrt.windows.applicationmodel.wallet as windows_applicationmodel_wallet
|
|
13
|
-
import winrt.windows.foundation as windows_foundation
|
|
14
|
-
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
-
import winrt.windows.storage.streams as windows_storage_streams
|
|
16
|
-
|
|
17
|
-
from winrt.windows.applicationmodel.wallet.system import WalletItemAppAssociation
|
|
18
|
-
|
|
19
|
-
Self = typing.TypeVar('Self')
|
|
20
|
-
|
|
21
|
-
@typing.final
|
|
22
|
-
class WalletItemSystemStore(winrt.system.Object):
|
|
23
|
-
@staticmethod
|
|
24
|
-
def _from(obj: winrt.system.Object, /) -> WalletItemSystemStore: ...
|
|
25
|
-
def delete_async(self, item: typing.Optional[windows_applicationmodel_wallet.WalletItem], /) -> windows_foundation.IAsyncAction: ...
|
|
26
|
-
def get_app_status_for_item(self, item: typing.Optional[windows_applicationmodel_wallet.WalletItem], /) -> WalletItemAppAssociation: ...
|
|
27
|
-
def get_items_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_applicationmodel_wallet.WalletItem]]: ...
|
|
28
|
-
def import_item_async(self, stream: typing.Optional[windows_storage_streams.IRandomAccessStreamReference], /) -> windows_foundation.IAsyncOperation[windows_applicationmodel_wallet.WalletItem]: ...
|
|
29
|
-
def launch_app_for_item_async(self, item: typing.Optional[windows_applicationmodel_wallet.WalletItem], /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
30
|
-
def add_items_changed(self, handler: windows_foundation.TypedEventHandler[WalletItemSystemStore, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
31
|
-
def remove_items_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
32
|
-
|
|
33
|
-
@typing.final
|
|
34
|
-
class WalletManagerSystem_Static(type):
|
|
35
|
-
def request_store_async(cls) -> windows_foundation.IAsyncOperation[WalletItemSystemStore]: ...
|
|
36
|
-
|
|
37
|
-
@typing.final
|
|
38
|
-
class WalletManagerSystem(winrt.system.Object, metaclass=WalletManagerSystem_Static):
|
|
39
|
-
pass
|
|
40
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|