winrt-Windows.ApplicationModel.DataTransfer.ShareTarget 2.3.0__tar.gz → 3.0.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_datatransfer_sharetarget-2.3.0 → winrt_windows_applicationmodel_datatransfer_sharetarget-3.0.0}/PKG-INFO +7 -7
- winrt_windows_applicationmodel_datatransfer_sharetarget-3.0.0/all-requirements.txt +6 -0
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.3.0 → winrt_windows_applicationmodel_datatransfer_sharetarget-3.0.0}/py.Windows.ApplicationModel.DataTransfer.ShareTarget.cpp +136 -48
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.3.0 → winrt_windows_applicationmodel_datatransfer_sharetarget-3.0.0}/pyproject.toml +2 -2
- winrt_windows_applicationmodel_datatransfer_sharetarget-3.0.0/pywinrt-version.txt +1 -0
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.3.0 → winrt_windows_applicationmodel_datatransfer_sharetarget-3.0.0}/requirements.txt +2 -2
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.3.0 → winrt_windows_applicationmodel_datatransfer_sharetarget-3.0.0}/setup.py +1 -1
- winrt_windows_applicationmodel_datatransfer_sharetarget-3.0.0/winrt/_winrt_windows_applicationmodel_datatransfer_sharetarget.pyi +74 -0
- winrt_windows_applicationmodel_datatransfer_sharetarget-3.0.0/winrt/windows/applicationmodel/datatransfer/sharetarget/__init__.py +13 -0
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.3.0 → winrt_windows_applicationmodel_datatransfer_sharetarget-3.0.0}/winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/PKG-INFO +7 -7
- winrt_windows_applicationmodel_datatransfer_sharetarget-3.0.0/winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/requires.txt +7 -0
- winrt_windows_applicationmodel_datatransfer_sharetarget-2.3.0/all-requirements.txt +0 -6
- winrt_windows_applicationmodel_datatransfer_sharetarget-2.3.0/pywinrt-version.txt +0 -1
- winrt_windows_applicationmodel_datatransfer_sharetarget-2.3.0/winrt/_winrt_windows_applicationmodel_datatransfer_sharetarget.pyi +0 -61
- winrt_windows_applicationmodel_datatransfer_sharetarget-2.3.0/winrt/windows/applicationmodel/datatransfer/sharetarget/__init__.py +0 -12
- winrt_windows_applicationmodel_datatransfer_sharetarget-2.3.0/winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/requires.txt +0 -7
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.3.0 → winrt_windows_applicationmodel_datatransfer_sharetarget-3.0.0}/README.md +0 -0
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.3.0 → winrt_windows_applicationmodel_datatransfer_sharetarget-3.0.0}/setup.cfg +0 -0
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.3.0 → winrt_windows_applicationmodel_datatransfer_sharetarget-3.0.0}/winrt/windows/applicationmodel/datatransfer/sharetarget/py.typed +0 -0
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.3.0 → winrt_windows_applicationmodel_datatransfer_sharetarget-3.0.0}/winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/SOURCES.txt +0 -0
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.3.0 → winrt_windows_applicationmodel_datatransfer_sharetarget-3.0.0}/winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/dependency_links.txt +0 -0
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.3.0 → winrt_windows_applicationmodel_datatransfer_sharetarget-3.0.0}/winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.DataTransfer.ShareTarget
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -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.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel.Contacts[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.ApplicationModel.DataTransfer[all]==
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==
|
|
20
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Contacts[all]==3.0.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.ApplicationModel.DataTransfer[all]==3.0.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.0.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==3.0.0; extra == "all"
|
|
21
21
|
|
|
22
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
23
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
|
+
|
|
3
|
+
winrt-Windows.ApplicationModel.Contacts[all]==3.0.0
|
|
4
|
+
winrt-Windows.ApplicationModel.DataTransfer[all]==3.0.0
|
|
5
|
+
winrt-Windows.Foundation.Collections[all]==3.0.0
|
|
6
|
+
winrt-Windows.Storage.Streams[all]==3.0.0
|
|
@@ -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.0.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.ApplicationModel.DataTransfer.ShareTarget.h"
|
|
4
4
|
|
|
@@ -8,13 +8,13 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
8
8
|
|
|
9
9
|
static PyObject* _new_QuickLink(PyTypeObject* type, PyObject* args, PyObject* kwds) noexcept
|
|
10
10
|
{
|
|
11
|
-
if (kwds
|
|
11
|
+
if (kwds)
|
|
12
12
|
{
|
|
13
13
|
py::set_invalid_kwd_args_error();
|
|
14
14
|
return nullptr;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
auto arg_count =
|
|
17
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
18
18
|
if (arg_count == 0)
|
|
19
19
|
{
|
|
20
20
|
try
|
|
@@ -60,7 +60,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
60
60
|
return nullptr;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
return py::convert(
|
|
63
|
+
return py::convert([&]()
|
|
64
|
+
{
|
|
65
|
+
auto _gil = release_gil();
|
|
66
|
+
return self->obj.Title();
|
|
67
|
+
}());
|
|
64
68
|
}
|
|
65
69
|
catch (...)
|
|
66
70
|
{
|
|
@@ -71,7 +75,7 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
71
75
|
|
|
72
76
|
static int QuickLink_put_Title(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink* self, PyObject* arg, void* /*unused*/) noexcept
|
|
73
77
|
{
|
|
74
|
-
if (arg
|
|
78
|
+
if (!arg)
|
|
75
79
|
{
|
|
76
80
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
77
81
|
return -1;
|
|
@@ -94,7 +98,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
94
98
|
|
|
95
99
|
auto param0 = py::convert_to<winrt::hstring>(arg);
|
|
96
100
|
|
|
97
|
-
|
|
101
|
+
{
|
|
102
|
+
auto _gil = release_gil();
|
|
103
|
+
self->obj.Title(param0);
|
|
104
|
+
}
|
|
105
|
+
|
|
98
106
|
return 0;
|
|
99
107
|
}
|
|
100
108
|
catch (...)
|
|
@@ -121,7 +129,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
121
129
|
return nullptr;
|
|
122
130
|
}
|
|
123
131
|
|
|
124
|
-
return py::convert(
|
|
132
|
+
return py::convert([&]()
|
|
133
|
+
{
|
|
134
|
+
auto _gil = release_gil();
|
|
135
|
+
return self->obj.Thumbnail();
|
|
136
|
+
}());
|
|
125
137
|
}
|
|
126
138
|
catch (...)
|
|
127
139
|
{
|
|
@@ -132,7 +144,7 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
132
144
|
|
|
133
145
|
static int QuickLink_put_Thumbnail(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink* self, PyObject* arg, void* /*unused*/) noexcept
|
|
134
146
|
{
|
|
135
|
-
if (arg
|
|
147
|
+
if (!arg)
|
|
136
148
|
{
|
|
137
149
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
138
150
|
return -1;
|
|
@@ -155,7 +167,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
155
167
|
|
|
156
168
|
auto param0 = py::convert_to<winrt::Windows::Storage::Streams::RandomAccessStreamReference>(arg);
|
|
157
169
|
|
|
158
|
-
|
|
170
|
+
{
|
|
171
|
+
auto _gil = release_gil();
|
|
172
|
+
self->obj.Thumbnail(param0);
|
|
173
|
+
}
|
|
174
|
+
|
|
159
175
|
return 0;
|
|
160
176
|
}
|
|
161
177
|
catch (...)
|
|
@@ -182,7 +198,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
182
198
|
return nullptr;
|
|
183
199
|
}
|
|
184
200
|
|
|
185
|
-
return py::convert(
|
|
201
|
+
return py::convert([&]()
|
|
202
|
+
{
|
|
203
|
+
auto _gil = release_gil();
|
|
204
|
+
return self->obj.Id();
|
|
205
|
+
}());
|
|
186
206
|
}
|
|
187
207
|
catch (...)
|
|
188
208
|
{
|
|
@@ -193,7 +213,7 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
193
213
|
|
|
194
214
|
static int QuickLink_put_Id(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink* self, PyObject* arg, void* /*unused*/) noexcept
|
|
195
215
|
{
|
|
196
|
-
if (arg
|
|
216
|
+
if (!arg)
|
|
197
217
|
{
|
|
198
218
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
199
219
|
return -1;
|
|
@@ -216,7 +236,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
216
236
|
|
|
217
237
|
auto param0 = py::convert_to<winrt::hstring>(arg);
|
|
218
238
|
|
|
219
|
-
|
|
239
|
+
{
|
|
240
|
+
auto _gil = release_gil();
|
|
241
|
+
self->obj.Id(param0);
|
|
242
|
+
}
|
|
243
|
+
|
|
220
244
|
return 0;
|
|
221
245
|
}
|
|
222
246
|
catch (...)
|
|
@@ -243,7 +267,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
243
267
|
return nullptr;
|
|
244
268
|
}
|
|
245
269
|
|
|
246
|
-
return py::convert(
|
|
270
|
+
return py::convert([&]()
|
|
271
|
+
{
|
|
272
|
+
auto _gil = release_gil();
|
|
273
|
+
return self->obj.SupportedDataFormats();
|
|
274
|
+
}());
|
|
247
275
|
}
|
|
248
276
|
catch (...)
|
|
249
277
|
{
|
|
@@ -269,7 +297,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
269
297
|
return nullptr;
|
|
270
298
|
}
|
|
271
299
|
|
|
272
|
-
return py::convert(
|
|
300
|
+
return py::convert([&]()
|
|
301
|
+
{
|
|
302
|
+
auto _gil = release_gil();
|
|
303
|
+
return self->obj.SupportedFileTypes();
|
|
304
|
+
}());
|
|
273
305
|
}
|
|
274
306
|
catch (...)
|
|
275
307
|
{
|
|
@@ -305,8 +337,7 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
305
337
|
static PyMethodDef _methods_QuickLink[] = {
|
|
306
338
|
{ "_assign_array_", _assign_array_QuickLink, METH_O | METH_STATIC, nullptr },
|
|
307
339
|
{ "_from", reinterpret_cast<PyCFunction>(_from_QuickLink), METH_O | METH_STATIC, nullptr },
|
|
308
|
-
{ }
|
|
309
|
-
};
|
|
340
|
+
{ }};
|
|
310
341
|
|
|
311
342
|
static PyGetSetDef _getset_QuickLink[] = {
|
|
312
343
|
{ "title", reinterpret_cast<getter>(QuickLink_get_Title), reinterpret_cast<setter>(QuickLink_put_Title), nullptr, nullptr },
|
|
@@ -314,16 +345,14 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
314
345
|
{ "id", reinterpret_cast<getter>(QuickLink_get_Id), reinterpret_cast<setter>(QuickLink_put_Id), nullptr, nullptr },
|
|
315
346
|
{ "supported_data_formats", reinterpret_cast<getter>(QuickLink_get_SupportedDataFormats), nullptr, nullptr, nullptr },
|
|
316
347
|
{ "supported_file_types", reinterpret_cast<getter>(QuickLink_get_SupportedFileTypes), nullptr, nullptr, nullptr },
|
|
317
|
-
{ }
|
|
318
|
-
};
|
|
348
|
+
{ }};
|
|
319
349
|
|
|
320
350
|
static PyType_Slot _type_slots_QuickLink[] = {
|
|
321
351
|
{ Py_tp_new, reinterpret_cast<void*>(_new_QuickLink) },
|
|
322
352
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_QuickLink) },
|
|
323
353
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_QuickLink) },
|
|
324
354
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_QuickLink) },
|
|
325
|
-
{ }
|
|
326
|
-
};
|
|
355
|
+
{ }};
|
|
327
356
|
|
|
328
357
|
static PyType_Spec type_spec_QuickLink = {
|
|
329
358
|
"winrt._winrt_windows_applicationmodel_datatransfer_sharetarget.QuickLink",
|
|
@@ -351,7 +380,7 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
351
380
|
|
|
352
381
|
static PyObject* ShareOperation_DismissUI(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation* self, PyObject* args) noexcept
|
|
353
382
|
{
|
|
354
|
-
auto arg_count =
|
|
383
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
355
384
|
|
|
356
385
|
if (arg_count == 0)
|
|
357
386
|
{
|
|
@@ -370,7 +399,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
370
399
|
return nullptr;
|
|
371
400
|
}
|
|
372
401
|
|
|
373
|
-
|
|
402
|
+
{
|
|
403
|
+
auto _gil = release_gil();
|
|
404
|
+
self->obj.DismissUI();
|
|
405
|
+
}
|
|
406
|
+
|
|
374
407
|
Py_RETURN_NONE;
|
|
375
408
|
}
|
|
376
409
|
catch (...)
|
|
@@ -388,7 +421,7 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
388
421
|
|
|
389
422
|
static PyObject* ShareOperation_RemoveThisQuickLink(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation* self, PyObject* args) noexcept
|
|
390
423
|
{
|
|
391
|
-
auto arg_count =
|
|
424
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
392
425
|
|
|
393
426
|
if (arg_count == 0)
|
|
394
427
|
{
|
|
@@ -407,7 +440,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
407
440
|
return nullptr;
|
|
408
441
|
}
|
|
409
442
|
|
|
410
|
-
|
|
443
|
+
{
|
|
444
|
+
auto _gil = release_gil();
|
|
445
|
+
self->obj.RemoveThisQuickLink();
|
|
446
|
+
}
|
|
447
|
+
|
|
411
448
|
Py_RETURN_NONE;
|
|
412
449
|
}
|
|
413
450
|
catch (...)
|
|
@@ -425,7 +462,7 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
425
462
|
|
|
426
463
|
static PyObject* ShareOperation_ReportCompleted(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation* self, PyObject* args) noexcept
|
|
427
464
|
{
|
|
428
|
-
auto arg_count =
|
|
465
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
429
466
|
|
|
430
467
|
if (arg_count == 0)
|
|
431
468
|
{
|
|
@@ -444,7 +481,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
444
481
|
return nullptr;
|
|
445
482
|
}
|
|
446
483
|
|
|
447
|
-
|
|
484
|
+
{
|
|
485
|
+
auto _gil = release_gil();
|
|
486
|
+
self->obj.ReportCompleted();
|
|
487
|
+
}
|
|
488
|
+
|
|
448
489
|
Py_RETURN_NONE;
|
|
449
490
|
}
|
|
450
491
|
catch (...)
|
|
@@ -453,7 +494,18 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
453
494
|
return nullptr;
|
|
454
495
|
}
|
|
455
496
|
}
|
|
456
|
-
else
|
|
497
|
+
else
|
|
498
|
+
{
|
|
499
|
+
py::set_invalid_arg_count_error(arg_count);
|
|
500
|
+
return nullptr;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
static PyObject* ShareOperation_ReportCompletedWithQuickLink(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation* self, PyObject* args) noexcept
|
|
505
|
+
{
|
|
506
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
507
|
+
|
|
508
|
+
if (arg_count == 1)
|
|
457
509
|
{
|
|
458
510
|
try
|
|
459
511
|
{
|
|
@@ -472,7 +524,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
472
524
|
|
|
473
525
|
auto param0 = py::convert_to<winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink>(args, 0);
|
|
474
526
|
|
|
475
|
-
|
|
527
|
+
{
|
|
528
|
+
auto _gil = release_gil();
|
|
529
|
+
self->obj.ReportCompleted(param0);
|
|
530
|
+
}
|
|
531
|
+
|
|
476
532
|
Py_RETURN_NONE;
|
|
477
533
|
}
|
|
478
534
|
catch (...)
|
|
@@ -490,7 +546,7 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
490
546
|
|
|
491
547
|
static PyObject* ShareOperation_ReportDataRetrieved(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation* self, PyObject* args) noexcept
|
|
492
548
|
{
|
|
493
|
-
auto arg_count =
|
|
549
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
494
550
|
|
|
495
551
|
if (arg_count == 0)
|
|
496
552
|
{
|
|
@@ -509,7 +565,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
509
565
|
return nullptr;
|
|
510
566
|
}
|
|
511
567
|
|
|
512
|
-
|
|
568
|
+
{
|
|
569
|
+
auto _gil = release_gil();
|
|
570
|
+
self->obj.ReportDataRetrieved();
|
|
571
|
+
}
|
|
572
|
+
|
|
513
573
|
Py_RETURN_NONE;
|
|
514
574
|
}
|
|
515
575
|
catch (...)
|
|
@@ -527,7 +587,7 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
527
587
|
|
|
528
588
|
static PyObject* ShareOperation_ReportError(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation* self, PyObject* args) noexcept
|
|
529
589
|
{
|
|
530
|
-
auto arg_count =
|
|
590
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
531
591
|
|
|
532
592
|
if (arg_count == 1)
|
|
533
593
|
{
|
|
@@ -548,7 +608,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
548
608
|
|
|
549
609
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
550
610
|
|
|
551
|
-
|
|
611
|
+
{
|
|
612
|
+
auto _gil = release_gil();
|
|
613
|
+
self->obj.ReportError(param0);
|
|
614
|
+
}
|
|
615
|
+
|
|
552
616
|
Py_RETURN_NONE;
|
|
553
617
|
}
|
|
554
618
|
catch (...)
|
|
@@ -566,7 +630,7 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
566
630
|
|
|
567
631
|
static PyObject* ShareOperation_ReportStarted(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation* self, PyObject* args) noexcept
|
|
568
632
|
{
|
|
569
|
-
auto arg_count =
|
|
633
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
570
634
|
|
|
571
635
|
if (arg_count == 0)
|
|
572
636
|
{
|
|
@@ -585,7 +649,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
585
649
|
return nullptr;
|
|
586
650
|
}
|
|
587
651
|
|
|
588
|
-
|
|
652
|
+
{
|
|
653
|
+
auto _gil = release_gil();
|
|
654
|
+
self->obj.ReportStarted();
|
|
655
|
+
}
|
|
656
|
+
|
|
589
657
|
Py_RETURN_NONE;
|
|
590
658
|
}
|
|
591
659
|
catch (...)
|
|
@@ -603,7 +671,7 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
603
671
|
|
|
604
672
|
static PyObject* ShareOperation_ReportSubmittedBackgroundTask(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation* self, PyObject* args) noexcept
|
|
605
673
|
{
|
|
606
|
-
auto arg_count =
|
|
674
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
607
675
|
|
|
608
676
|
if (arg_count == 0)
|
|
609
677
|
{
|
|
@@ -622,7 +690,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
622
690
|
return nullptr;
|
|
623
691
|
}
|
|
624
692
|
|
|
625
|
-
|
|
693
|
+
{
|
|
694
|
+
auto _gil = release_gil();
|
|
695
|
+
self->obj.ReportSubmittedBackgroundTask();
|
|
696
|
+
}
|
|
697
|
+
|
|
626
698
|
Py_RETURN_NONE;
|
|
627
699
|
}
|
|
628
700
|
catch (...)
|
|
@@ -655,7 +727,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
655
727
|
return nullptr;
|
|
656
728
|
}
|
|
657
729
|
|
|
658
|
-
return py::convert(
|
|
730
|
+
return py::convert([&]()
|
|
731
|
+
{
|
|
732
|
+
auto _gil = release_gil();
|
|
733
|
+
return self->obj.Data();
|
|
734
|
+
}());
|
|
659
735
|
}
|
|
660
736
|
catch (...)
|
|
661
737
|
{
|
|
@@ -681,7 +757,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
681
757
|
return nullptr;
|
|
682
758
|
}
|
|
683
759
|
|
|
684
|
-
return py::convert(
|
|
760
|
+
return py::convert([&]()
|
|
761
|
+
{
|
|
762
|
+
auto _gil = release_gil();
|
|
763
|
+
return self->obj.QuickLinkId();
|
|
764
|
+
}());
|
|
685
765
|
}
|
|
686
766
|
catch (...)
|
|
687
767
|
{
|
|
@@ -707,7 +787,11 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
707
787
|
return nullptr;
|
|
708
788
|
}
|
|
709
789
|
|
|
710
|
-
return py::convert(
|
|
790
|
+
return py::convert([&]()
|
|
791
|
+
{
|
|
792
|
+
auto _gil = release_gil();
|
|
793
|
+
return self->obj.Contacts();
|
|
794
|
+
}());
|
|
711
795
|
}
|
|
712
796
|
catch (...)
|
|
713
797
|
{
|
|
@@ -741,32 +825,30 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
741
825
|
}
|
|
742
826
|
|
|
743
827
|
static PyMethodDef _methods_ShareOperation[] = {
|
|
744
|
-
{ "
|
|
828
|
+
{ "dismiss_ui", reinterpret_cast<PyCFunction>(ShareOperation_DismissUI), METH_VARARGS, nullptr },
|
|
745
829
|
{ "remove_this_quick_link", reinterpret_cast<PyCFunction>(ShareOperation_RemoveThisQuickLink), METH_VARARGS, nullptr },
|
|
746
830
|
{ "report_completed", reinterpret_cast<PyCFunction>(ShareOperation_ReportCompleted), METH_VARARGS, nullptr },
|
|
831
|
+
{ "report_completed_with_quick_link", reinterpret_cast<PyCFunction>(ShareOperation_ReportCompletedWithQuickLink), METH_VARARGS, nullptr },
|
|
747
832
|
{ "report_data_retrieved", reinterpret_cast<PyCFunction>(ShareOperation_ReportDataRetrieved), METH_VARARGS, nullptr },
|
|
748
833
|
{ "report_error", reinterpret_cast<PyCFunction>(ShareOperation_ReportError), METH_VARARGS, nullptr },
|
|
749
834
|
{ "report_started", reinterpret_cast<PyCFunction>(ShareOperation_ReportStarted), METH_VARARGS, nullptr },
|
|
750
835
|
{ "report_submitted_background_task", reinterpret_cast<PyCFunction>(ShareOperation_ReportSubmittedBackgroundTask), METH_VARARGS, nullptr },
|
|
751
836
|
{ "_assign_array_", _assign_array_ShareOperation, METH_O | METH_STATIC, nullptr },
|
|
752
837
|
{ "_from", reinterpret_cast<PyCFunction>(_from_ShareOperation), METH_O | METH_STATIC, nullptr },
|
|
753
|
-
{ }
|
|
754
|
-
};
|
|
838
|
+
{ }};
|
|
755
839
|
|
|
756
840
|
static PyGetSetDef _getset_ShareOperation[] = {
|
|
757
841
|
{ "data", reinterpret_cast<getter>(ShareOperation_get_Data), nullptr, nullptr, nullptr },
|
|
758
842
|
{ "quick_link_id", reinterpret_cast<getter>(ShareOperation_get_QuickLinkId), nullptr, nullptr, nullptr },
|
|
759
843
|
{ "contacts", reinterpret_cast<getter>(ShareOperation_get_Contacts), nullptr, nullptr, nullptr },
|
|
760
|
-
{ }
|
|
761
|
-
};
|
|
844
|
+
{ }};
|
|
762
845
|
|
|
763
846
|
static PyType_Slot _type_slots_ShareOperation[] = {
|
|
764
847
|
{ Py_tp_new, reinterpret_cast<void*>(_new_ShareOperation) },
|
|
765
848
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_ShareOperation) },
|
|
766
849
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_ShareOperation) },
|
|
767
850
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_ShareOperation) },
|
|
768
|
-
{ }
|
|
769
|
-
};
|
|
851
|
+
{ }};
|
|
770
852
|
|
|
771
853
|
static PyType_Spec type_spec_ShareOperation = {
|
|
772
854
|
"winrt._winrt_windows_applicationmodel_datatransfer_sharetarget.ShareOperation",
|
|
@@ -807,6 +889,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_datatransfer_sharetarget(v
|
|
|
807
889
|
return nullptr;
|
|
808
890
|
}
|
|
809
891
|
|
|
892
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
893
|
+
if (!inspectable_meta_type)
|
|
894
|
+
{
|
|
895
|
+
return nullptr;
|
|
896
|
+
}
|
|
897
|
+
|
|
810
898
|
auto object_type = py::get_object_type();
|
|
811
899
|
if (!object_type)
|
|
812
900
|
{
|
|
@@ -820,13 +908,13 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_datatransfer_sharetarget(v
|
|
|
820
908
|
return nullptr;
|
|
821
909
|
}
|
|
822
910
|
|
|
823
|
-
py::pytype_handle QuickLink_type{py::register_python_type(module.get(), &type_spec_QuickLink, object_bases.get(),
|
|
911
|
+
py::pytype_handle QuickLink_type{py::register_python_type(module.get(), &type_spec_QuickLink, object_bases.get(), inspectable_meta_type)};
|
|
824
912
|
if (!QuickLink_type)
|
|
825
913
|
{
|
|
826
914
|
return nullptr;
|
|
827
915
|
}
|
|
828
916
|
|
|
829
|
-
py::pytype_handle ShareOperation_type{py::register_python_type(module.get(), &type_spec_ShareOperation, object_bases.get(),
|
|
917
|
+
py::pytype_handle ShareOperation_type{py::register_python_type(module.get(), &type_spec_ShareOperation, object_bases.get(), inspectable_meta_type)};
|
|
830
918
|
if (!ShareOperation_type)
|
|
831
919
|
{
|
|
832
920
|
return nullptr;
|
|
@@ -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.0.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.0.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==
|
|
3
|
+
winrt-runtime==3.0.0
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.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.contacts as windows_applicationmodel_contacts
|
|
13
|
+
import winrt.windows.applicationmodel.datatransfer as windows_applicationmodel_datatransfer
|
|
14
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
16
|
+
|
|
17
|
+
Self = typing.TypeVar('Self')
|
|
18
|
+
|
|
19
|
+
@typing.final
|
|
20
|
+
class QuickLink(winrt.system.Object):
|
|
21
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
22
|
+
# System.String Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink::get_Title()
|
|
23
|
+
@_property
|
|
24
|
+
def title(self) -> str: ...
|
|
25
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink::put_Title(System.String)
|
|
26
|
+
@title.setter
|
|
27
|
+
def title(self, value: str) -> None: ...
|
|
28
|
+
# Windows.Storage.Streams.RandomAccessStreamReference Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink::get_Thumbnail()
|
|
29
|
+
@_property
|
|
30
|
+
def thumbnail(self) -> windows_storage_streams.RandomAccessStreamReference: ...
|
|
31
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink::put_Thumbnail(Windows.Storage.Streams.RandomAccessStreamReference)
|
|
32
|
+
@thumbnail.setter
|
|
33
|
+
def thumbnail(self, value: windows_storage_streams.RandomAccessStreamReference) -> None: ...
|
|
34
|
+
# System.String Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink::get_Id()
|
|
35
|
+
@_property
|
|
36
|
+
def id(self) -> str: ...
|
|
37
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink::put_Id(System.String)
|
|
38
|
+
@id.setter
|
|
39
|
+
def id(self, value: str) -> None: ...
|
|
40
|
+
# Windows.Foundation.Collections.IVector`1<System.String> Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink::get_SupportedDataFormats()
|
|
41
|
+
@_property
|
|
42
|
+
def supported_data_formats(self) -> typing.MutableSequence[str]: ...
|
|
43
|
+
# Windows.Foundation.Collections.IVector`1<System.String> Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink::get_SupportedFileTypes()
|
|
44
|
+
@_property
|
|
45
|
+
def supported_file_types(self) -> typing.MutableSequence[str]: ...
|
|
46
|
+
|
|
47
|
+
@typing.final
|
|
48
|
+
class ShareOperation(winrt.system.Object):
|
|
49
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::DismissUI()
|
|
50
|
+
def dismiss_ui(self) -> None: ...
|
|
51
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::RemoveThisQuickLink()
|
|
52
|
+
def remove_this_quick_link(self) -> None: ...
|
|
53
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::ReportCompleted()
|
|
54
|
+
def report_completed(self) -> None: ...
|
|
55
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::ReportCompleted(Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink)
|
|
56
|
+
def report_completed_with_quick_link(self, quicklink: QuickLink, /) -> None: ...
|
|
57
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::ReportDataRetrieved()
|
|
58
|
+
def report_data_retrieved(self) -> None: ...
|
|
59
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::ReportError(System.String)
|
|
60
|
+
def report_error(self, value: str, /) -> None: ...
|
|
61
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::ReportStarted()
|
|
62
|
+
def report_started(self) -> None: ...
|
|
63
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::ReportSubmittedBackgroundTask()
|
|
64
|
+
def report_submitted_background_task(self) -> None: ...
|
|
65
|
+
# Windows.ApplicationModel.DataTransfer.DataPackageView Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::get_Data()
|
|
66
|
+
@_property
|
|
67
|
+
def data(self) -> windows_applicationmodel_datatransfer.DataPackageView: ...
|
|
68
|
+
# System.String Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::get_QuickLinkId()
|
|
69
|
+
@_property
|
|
70
|
+
def quick_link_id(self) -> str: ...
|
|
71
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Contacts.Contact> Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::get_Contacts()
|
|
72
|
+
@_property
|
|
73
|
+
def contacts(self) -> typing.Sequence[windows_applicationmodel_contacts.Contact]: ...
|
|
74
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
|
+
|
|
3
|
+
import winrt.system
|
|
4
|
+
from winrt._winrt_windows_applicationmodel_datatransfer_sharetarget import (
|
|
5
|
+
QuickLink,
|
|
6
|
+
ShareOperation,
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
__all__ = [
|
|
10
|
+
"QuickLink",
|
|
11
|
+
"ShareOperation",
|
|
12
|
+
]
|
|
13
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.DataTransfer.ShareTarget
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -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.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel.Contacts[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.ApplicationModel.DataTransfer[all]==
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==
|
|
20
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Contacts[all]==3.0.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.ApplicationModel.DataTransfer[all]==3.0.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.0.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==3.0.0; extra == "all"
|
|
21
21
|
|
|
22
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
23
|
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
|
-
|
|
3
|
-
winrt-Windows.ApplicationModel.Contacts[all]==2.3.0
|
|
4
|
-
winrt-Windows.ApplicationModel.DataTransfer[all]==2.3.0
|
|
5
|
-
winrt-Windows.Foundation.Collections[all]==2.3.0
|
|
6
|
-
winrt-Windows.Storage.Streams[all]==2.3.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.3.0
|
|
@@ -1,61 +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.contacts as windows_applicationmodel_contacts
|
|
13
|
-
import winrt.windows.applicationmodel.datatransfer as windows_applicationmodel_datatransfer
|
|
14
|
-
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
-
import winrt.windows.storage.streams as windows_storage_streams
|
|
16
|
-
|
|
17
|
-
Self = typing.TypeVar('Self')
|
|
18
|
-
|
|
19
|
-
@typing.final
|
|
20
|
-
class QuickLink(winrt.system.Object):
|
|
21
|
-
@staticmethod
|
|
22
|
-
def _from(obj: winrt.system.Object, /) -> QuickLink: ...
|
|
23
|
-
def __new__(cls: typing.Type[QuickLink]) -> QuickLink: ...
|
|
24
|
-
@_property
|
|
25
|
-
def title(self) -> str: ...
|
|
26
|
-
@title.setter
|
|
27
|
-
def title(self, value: str) -> None: ...
|
|
28
|
-
@_property
|
|
29
|
-
def thumbnail(self) -> typing.Optional[windows_storage_streams.RandomAccessStreamReference]: ...
|
|
30
|
-
@thumbnail.setter
|
|
31
|
-
def thumbnail(self, value: typing.Optional[windows_storage_streams.RandomAccessStreamReference]) -> None: ...
|
|
32
|
-
@_property
|
|
33
|
-
def id(self) -> str: ...
|
|
34
|
-
@id.setter
|
|
35
|
-
def id(self, value: str) -> None: ...
|
|
36
|
-
@_property
|
|
37
|
-
def supported_data_formats(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
|
|
38
|
-
@_property
|
|
39
|
-
def supported_file_types(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
|
|
40
|
-
|
|
41
|
-
@typing.final
|
|
42
|
-
class ShareOperation(winrt.system.Object):
|
|
43
|
-
@staticmethod
|
|
44
|
-
def _from(obj: winrt.system.Object, /) -> ShareOperation: ...
|
|
45
|
-
def dismiss_u_i(self) -> None: ...
|
|
46
|
-
def remove_this_quick_link(self) -> None: ...
|
|
47
|
-
@typing.overload
|
|
48
|
-
def report_completed(self) -> None: ...
|
|
49
|
-
@typing.overload
|
|
50
|
-
def report_completed(self, quicklink: typing.Optional[QuickLink], /) -> None: ...
|
|
51
|
-
def report_data_retrieved(self) -> None: ...
|
|
52
|
-
def report_error(self, value: str, /) -> None: ...
|
|
53
|
-
def report_started(self) -> None: ...
|
|
54
|
-
def report_submitted_background_task(self) -> None: ...
|
|
55
|
-
@_property
|
|
56
|
-
def data(self) -> typing.Optional[windows_applicationmodel_datatransfer.DataPackageView]: ...
|
|
57
|
-
@_property
|
|
58
|
-
def quick_link_id(self) -> str: ...
|
|
59
|
-
@_property
|
|
60
|
-
def contacts(self) -> typing.Optional[windows_foundation_collections.IVectorView[windows_applicationmodel_contacts.Contact]]: ...
|
|
61
|
-
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
|
-
|
|
3
|
-
import winrt.system
|
|
4
|
-
from winrt import _winrt_windows_applicationmodel_datatransfer_sharetarget
|
|
5
|
-
|
|
6
|
-
__all__ = [
|
|
7
|
-
"QuickLink",
|
|
8
|
-
"ShareOperation",
|
|
9
|
-
]
|
|
10
|
-
|
|
11
|
-
QuickLink = _winrt_windows_applicationmodel_datatransfer_sharetarget.QuickLink
|
|
12
|
-
ShareOperation = _winrt_windows_applicationmodel_datatransfer_sharetarget.ShareOperation
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|