winrt-Windows.ApplicationModel.DataTransfer.ShareTarget 2.0.1__tar.gz → 2.2.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.0.1 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.2.0}/PKG-INFO +7 -7
- winrt_windows_applicationmodel_datatransfer_sharetarget-2.2.0/all-requirements.txt +6 -0
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.0.1 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.2.0}/py.Windows.ApplicationModel.DataTransfer.ShareTarget.cpp +272 -145
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.0.1 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.2.0}/pyproject.toml +3 -2
- winrt_windows_applicationmodel_datatransfer_sharetarget-2.2.0/pywinrt-version.txt +1 -0
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.0.1 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.2.0}/requirements.txt +2 -2
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.0.1 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.2.0}/winrt/_winrt_windows_applicationmodel_datatransfer_sharetarget.pyi +12 -12
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.0.1 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.2.0}/winrt/windows/applicationmodel/datatransfer/sharetarget/__init__.py +1 -1
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.0.1 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.2.0}/winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/PKG-INFO +7 -7
- winrt_windows_applicationmodel_datatransfer_sharetarget-2.2.0/winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/requires.txt +7 -0
- winrt_windows_applicationmodel_datatransfer_sharetarget-2.0.1/all-requirements.txt +0 -6
- winrt_windows_applicationmodel_datatransfer_sharetarget-2.0.1/pywinrt-version.txt +0 -1
- winrt_windows_applicationmodel_datatransfer_sharetarget-2.0.1/winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/requires.txt +0 -7
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.0.1 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.2.0}/README.md +0 -0
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.0.1 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.2.0}/setup.cfg +0 -0
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.0.1 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.2.0}/setup.py +0 -0
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.0.1 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.2.0}/winrt/windows/applicationmodel/datatransfer/sharetarget/py.typed +0 -0
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.0.1 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.2.0}/winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/SOURCES.txt +0 -0
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.0.1 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.2.0}/winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/dependency_links.txt +0 -0
- {winrt_windows_applicationmodel_datatransfer_sharetarget-2.0.1 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.2.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: 2.0
|
|
3
|
+
Version: 2.2.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: <3.
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel.Contacts[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.ApplicationModel.DataTransfer[all]==2.0
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0
|
|
20
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Contacts[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.ApplicationModel.DataTransfer[all]==2.2.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.2.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 v2.2.0
|
|
2
|
+
|
|
3
|
+
winrt-Windows.ApplicationModel.Contacts[all]==2.2.0
|
|
4
|
+
winrt-Windows.ApplicationModel.DataTransfer[all]==2.2.0
|
|
5
|
+
winrt-Windows.Foundation.Collections[all]==2.2.0
|
|
6
|
+
winrt-Windows.Storage.Streams[all]==2.2.0
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.ApplicationModel.DataTransfer.ShareTarget.h"
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
7
6
|
{
|
|
8
7
|
// ----- QuickLink class --------------------
|
|
@@ -20,7 +19,7 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
20
19
|
{
|
|
21
20
|
try
|
|
22
21
|
{
|
|
23
|
-
winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink instance{
|
|
22
|
+
winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink instance{};
|
|
24
23
|
return py::wrap(instance, type);
|
|
25
24
|
}
|
|
26
25
|
catch (...)
|
|
@@ -46,14 +45,21 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
46
45
|
|
|
47
46
|
static PyObject* QuickLink_get_Title(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink* self, void* /*unused*/) noexcept
|
|
48
47
|
{
|
|
49
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"Title"))
|
|
50
|
-
{
|
|
51
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
52
|
-
return nullptr;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
48
|
try
|
|
56
49
|
{
|
|
50
|
+
static std::optional<bool> is_property_present{};
|
|
51
|
+
|
|
52
|
+
if (!is_property_present.has_value())
|
|
53
|
+
{
|
|
54
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"Title");
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
if (!is_property_present.value())
|
|
58
|
+
{
|
|
59
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
60
|
+
return nullptr;
|
|
61
|
+
}
|
|
62
|
+
|
|
57
63
|
return py::convert(self->obj.Title());
|
|
58
64
|
}
|
|
59
65
|
catch (...)
|
|
@@ -65,12 +71,6 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
65
71
|
|
|
66
72
|
static int QuickLink_put_Title(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink* self, PyObject* arg, void* /*unused*/) noexcept
|
|
67
73
|
{
|
|
68
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"Title"))
|
|
69
|
-
{
|
|
70
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
71
|
-
return -1;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
74
|
if (arg == nullptr)
|
|
75
75
|
{
|
|
76
76
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
@@ -79,6 +79,19 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
79
79
|
|
|
80
80
|
try
|
|
81
81
|
{
|
|
82
|
+
static std::optional<bool> is_property_present{};
|
|
83
|
+
|
|
84
|
+
if (!is_property_present.has_value())
|
|
85
|
+
{
|
|
86
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"Title");
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
if (!is_property_present.value())
|
|
90
|
+
{
|
|
91
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
92
|
+
return -1;
|
|
93
|
+
}
|
|
94
|
+
|
|
82
95
|
auto param0 = py::convert_to<winrt::hstring>(arg);
|
|
83
96
|
|
|
84
97
|
self->obj.Title(param0);
|
|
@@ -93,14 +106,21 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
93
106
|
|
|
94
107
|
static PyObject* QuickLink_get_Thumbnail(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink* self, void* /*unused*/) noexcept
|
|
95
108
|
{
|
|
96
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"Thumbnail"))
|
|
97
|
-
{
|
|
98
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
99
|
-
return nullptr;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
109
|
try
|
|
103
110
|
{
|
|
111
|
+
static std::optional<bool> is_property_present{};
|
|
112
|
+
|
|
113
|
+
if (!is_property_present.has_value())
|
|
114
|
+
{
|
|
115
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"Thumbnail");
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
if (!is_property_present.value())
|
|
119
|
+
{
|
|
120
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
121
|
+
return nullptr;
|
|
122
|
+
}
|
|
123
|
+
|
|
104
124
|
return py::convert(self->obj.Thumbnail());
|
|
105
125
|
}
|
|
106
126
|
catch (...)
|
|
@@ -112,12 +132,6 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
112
132
|
|
|
113
133
|
static int QuickLink_put_Thumbnail(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink* self, PyObject* arg, void* /*unused*/) noexcept
|
|
114
134
|
{
|
|
115
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"Thumbnail"))
|
|
116
|
-
{
|
|
117
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
118
|
-
return -1;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
135
|
if (arg == nullptr)
|
|
122
136
|
{
|
|
123
137
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
@@ -126,6 +140,19 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
126
140
|
|
|
127
141
|
try
|
|
128
142
|
{
|
|
143
|
+
static std::optional<bool> is_property_present{};
|
|
144
|
+
|
|
145
|
+
if (!is_property_present.has_value())
|
|
146
|
+
{
|
|
147
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"Thumbnail");
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
if (!is_property_present.value())
|
|
151
|
+
{
|
|
152
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
153
|
+
return -1;
|
|
154
|
+
}
|
|
155
|
+
|
|
129
156
|
auto param0 = py::convert_to<winrt::Windows::Storage::Streams::RandomAccessStreamReference>(arg);
|
|
130
157
|
|
|
131
158
|
self->obj.Thumbnail(param0);
|
|
@@ -140,14 +167,21 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
140
167
|
|
|
141
168
|
static PyObject* QuickLink_get_Id(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink* self, void* /*unused*/) noexcept
|
|
142
169
|
{
|
|
143
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"Id"))
|
|
144
|
-
{
|
|
145
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
146
|
-
return nullptr;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
170
|
try
|
|
150
171
|
{
|
|
172
|
+
static std::optional<bool> is_property_present{};
|
|
173
|
+
|
|
174
|
+
if (!is_property_present.has_value())
|
|
175
|
+
{
|
|
176
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"Id");
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
if (!is_property_present.value())
|
|
180
|
+
{
|
|
181
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
182
|
+
return nullptr;
|
|
183
|
+
}
|
|
184
|
+
|
|
151
185
|
return py::convert(self->obj.Id());
|
|
152
186
|
}
|
|
153
187
|
catch (...)
|
|
@@ -159,12 +193,6 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
159
193
|
|
|
160
194
|
static int QuickLink_put_Id(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink* self, PyObject* arg, void* /*unused*/) noexcept
|
|
161
195
|
{
|
|
162
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"Id"))
|
|
163
|
-
{
|
|
164
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
165
|
-
return -1;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
196
|
if (arg == nullptr)
|
|
169
197
|
{
|
|
170
198
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
@@ -173,6 +201,19 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
173
201
|
|
|
174
202
|
try
|
|
175
203
|
{
|
|
204
|
+
static std::optional<bool> is_property_present{};
|
|
205
|
+
|
|
206
|
+
if (!is_property_present.has_value())
|
|
207
|
+
{
|
|
208
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"Id");
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
if (!is_property_present.value())
|
|
212
|
+
{
|
|
213
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
214
|
+
return -1;
|
|
215
|
+
}
|
|
216
|
+
|
|
176
217
|
auto param0 = py::convert_to<winrt::hstring>(arg);
|
|
177
218
|
|
|
178
219
|
self->obj.Id(param0);
|
|
@@ -187,14 +228,21 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
187
228
|
|
|
188
229
|
static PyObject* QuickLink_get_SupportedDataFormats(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink* self, void* /*unused*/) noexcept
|
|
189
230
|
{
|
|
190
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"SupportedDataFormats"))
|
|
191
|
-
{
|
|
192
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
193
|
-
return nullptr;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
231
|
try
|
|
197
232
|
{
|
|
233
|
+
static std::optional<bool> is_property_present{};
|
|
234
|
+
|
|
235
|
+
if (!is_property_present.has_value())
|
|
236
|
+
{
|
|
237
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"SupportedDataFormats");
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
if (!is_property_present.value())
|
|
241
|
+
{
|
|
242
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
243
|
+
return nullptr;
|
|
244
|
+
}
|
|
245
|
+
|
|
198
246
|
return py::convert(self->obj.SupportedDataFormats());
|
|
199
247
|
}
|
|
200
248
|
catch (...)
|
|
@@ -206,14 +254,21 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
206
254
|
|
|
207
255
|
static PyObject* QuickLink_get_SupportedFileTypes(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink* self, void* /*unused*/) noexcept
|
|
208
256
|
{
|
|
209
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"SupportedFileTypes"))
|
|
210
|
-
{
|
|
211
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
212
|
-
return nullptr;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
257
|
try
|
|
216
258
|
{
|
|
259
|
+
static std::optional<bool> is_property_present{};
|
|
260
|
+
|
|
261
|
+
if (!is_property_present.has_value())
|
|
262
|
+
{
|
|
263
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"SupportedFileTypes");
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
if (!is_property_present.value())
|
|
267
|
+
{
|
|
268
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
269
|
+
return nullptr;
|
|
270
|
+
}
|
|
271
|
+
|
|
217
272
|
return py::convert(self->obj.SupportedFileTypes());
|
|
218
273
|
}
|
|
219
274
|
catch (...)
|
|
@@ -262,23 +317,20 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
262
317
|
{ }
|
|
263
318
|
};
|
|
264
319
|
|
|
265
|
-
static PyType_Slot _type_slots_QuickLink[] =
|
|
266
|
-
{
|
|
320
|
+
static PyType_Slot _type_slots_QuickLink[] = {
|
|
267
321
|
{ Py_tp_new, reinterpret_cast<void*>(_new_QuickLink) },
|
|
268
322
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_QuickLink) },
|
|
269
323
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_QuickLink) },
|
|
270
324
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_QuickLink) },
|
|
271
|
-
{ }
|
|
325
|
+
{ }
|
|
272
326
|
};
|
|
273
327
|
|
|
274
|
-
static PyType_Spec type_spec_QuickLink =
|
|
275
|
-
{
|
|
328
|
+
static PyType_Spec type_spec_QuickLink = {
|
|
276
329
|
"winrt._winrt_windows_applicationmodel_datatransfer_sharetarget.QuickLink",
|
|
277
330
|
sizeof(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink),
|
|
278
331
|
0,
|
|
279
332
|
Py_TPFLAGS_DEFAULT,
|
|
280
|
-
_type_slots_QuickLink
|
|
281
|
-
};
|
|
333
|
+
_type_slots_QuickLink};
|
|
282
334
|
|
|
283
335
|
// ----- ShareOperation class --------------------
|
|
284
336
|
|
|
@@ -303,14 +355,21 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
303
355
|
|
|
304
356
|
if (arg_count == 0)
|
|
305
357
|
{
|
|
306
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"DismissUI", 0))
|
|
307
|
-
{
|
|
308
|
-
py::set_arg_count_version_error(0);
|
|
309
|
-
return nullptr;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
358
|
try
|
|
313
359
|
{
|
|
360
|
+
static std::optional<bool> is_overload_present{};
|
|
361
|
+
|
|
362
|
+
if (!is_overload_present.has_value())
|
|
363
|
+
{
|
|
364
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"DismissUI", 0);
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
if (!is_overload_present.value())
|
|
368
|
+
{
|
|
369
|
+
py::set_arg_count_version_error(0);
|
|
370
|
+
return nullptr;
|
|
371
|
+
}
|
|
372
|
+
|
|
314
373
|
self->obj.DismissUI();
|
|
315
374
|
Py_RETURN_NONE;
|
|
316
375
|
}
|
|
@@ -333,14 +392,21 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
333
392
|
|
|
334
393
|
if (arg_count == 0)
|
|
335
394
|
{
|
|
336
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"RemoveThisQuickLink", 0))
|
|
337
|
-
{
|
|
338
|
-
py::set_arg_count_version_error(0);
|
|
339
|
-
return nullptr;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
395
|
try
|
|
343
396
|
{
|
|
397
|
+
static std::optional<bool> is_overload_present{};
|
|
398
|
+
|
|
399
|
+
if (!is_overload_present.has_value())
|
|
400
|
+
{
|
|
401
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"RemoveThisQuickLink", 0);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
if (!is_overload_present.value())
|
|
405
|
+
{
|
|
406
|
+
py::set_arg_count_version_error(0);
|
|
407
|
+
return nullptr;
|
|
408
|
+
}
|
|
409
|
+
|
|
344
410
|
self->obj.RemoveThisQuickLink();
|
|
345
411
|
Py_RETURN_NONE;
|
|
346
412
|
}
|
|
@@ -363,14 +429,21 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
363
429
|
|
|
364
430
|
if (arg_count == 0)
|
|
365
431
|
{
|
|
366
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"ReportCompleted", 0))
|
|
367
|
-
{
|
|
368
|
-
py::set_arg_count_version_error(0);
|
|
369
|
-
return nullptr;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
432
|
try
|
|
373
433
|
{
|
|
434
|
+
static std::optional<bool> is_overload_present{};
|
|
435
|
+
|
|
436
|
+
if (!is_overload_present.has_value())
|
|
437
|
+
{
|
|
438
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"ReportCompleted", 0);
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
if (!is_overload_present.value())
|
|
442
|
+
{
|
|
443
|
+
py::set_arg_count_version_error(0);
|
|
444
|
+
return nullptr;
|
|
445
|
+
}
|
|
446
|
+
|
|
374
447
|
self->obj.ReportCompleted();
|
|
375
448
|
Py_RETURN_NONE;
|
|
376
449
|
}
|
|
@@ -382,14 +455,21 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
382
455
|
}
|
|
383
456
|
else if (arg_count == 1)
|
|
384
457
|
{
|
|
385
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"ReportCompleted", 1))
|
|
386
|
-
{
|
|
387
|
-
py::set_arg_count_version_error(1);
|
|
388
|
-
return nullptr;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
458
|
try
|
|
392
459
|
{
|
|
460
|
+
static std::optional<bool> is_overload_present{};
|
|
461
|
+
|
|
462
|
+
if (!is_overload_present.has_value())
|
|
463
|
+
{
|
|
464
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"ReportCompleted", 1);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
if (!is_overload_present.value())
|
|
468
|
+
{
|
|
469
|
+
py::set_arg_count_version_error(1);
|
|
470
|
+
return nullptr;
|
|
471
|
+
}
|
|
472
|
+
|
|
393
473
|
auto param0 = py::convert_to<winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink>(args, 0);
|
|
394
474
|
|
|
395
475
|
self->obj.ReportCompleted(param0);
|
|
@@ -414,14 +494,21 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
414
494
|
|
|
415
495
|
if (arg_count == 0)
|
|
416
496
|
{
|
|
417
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"ReportDataRetrieved", 0))
|
|
418
|
-
{
|
|
419
|
-
py::set_arg_count_version_error(0);
|
|
420
|
-
return nullptr;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
497
|
try
|
|
424
498
|
{
|
|
499
|
+
static std::optional<bool> is_overload_present{};
|
|
500
|
+
|
|
501
|
+
if (!is_overload_present.has_value())
|
|
502
|
+
{
|
|
503
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"ReportDataRetrieved", 0);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
if (!is_overload_present.value())
|
|
507
|
+
{
|
|
508
|
+
py::set_arg_count_version_error(0);
|
|
509
|
+
return nullptr;
|
|
510
|
+
}
|
|
511
|
+
|
|
425
512
|
self->obj.ReportDataRetrieved();
|
|
426
513
|
Py_RETURN_NONE;
|
|
427
514
|
}
|
|
@@ -444,14 +531,21 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
444
531
|
|
|
445
532
|
if (arg_count == 1)
|
|
446
533
|
{
|
|
447
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"ReportError", 1))
|
|
448
|
-
{
|
|
449
|
-
py::set_arg_count_version_error(1);
|
|
450
|
-
return nullptr;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
534
|
try
|
|
454
535
|
{
|
|
536
|
+
static std::optional<bool> is_overload_present{};
|
|
537
|
+
|
|
538
|
+
if (!is_overload_present.has_value())
|
|
539
|
+
{
|
|
540
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"ReportError", 1);
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
if (!is_overload_present.value())
|
|
544
|
+
{
|
|
545
|
+
py::set_arg_count_version_error(1);
|
|
546
|
+
return nullptr;
|
|
547
|
+
}
|
|
548
|
+
|
|
455
549
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
456
550
|
|
|
457
551
|
self->obj.ReportError(param0);
|
|
@@ -476,14 +570,21 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
476
570
|
|
|
477
571
|
if (arg_count == 0)
|
|
478
572
|
{
|
|
479
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"ReportStarted", 0))
|
|
480
|
-
{
|
|
481
|
-
py::set_arg_count_version_error(0);
|
|
482
|
-
return nullptr;
|
|
483
|
-
}
|
|
484
|
-
|
|
485
573
|
try
|
|
486
574
|
{
|
|
575
|
+
static std::optional<bool> is_overload_present{};
|
|
576
|
+
|
|
577
|
+
if (!is_overload_present.has_value())
|
|
578
|
+
{
|
|
579
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"ReportStarted", 0);
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
if (!is_overload_present.value())
|
|
583
|
+
{
|
|
584
|
+
py::set_arg_count_version_error(0);
|
|
585
|
+
return nullptr;
|
|
586
|
+
}
|
|
587
|
+
|
|
487
588
|
self->obj.ReportStarted();
|
|
488
589
|
Py_RETURN_NONE;
|
|
489
590
|
}
|
|
@@ -506,14 +607,21 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
506
607
|
|
|
507
608
|
if (arg_count == 0)
|
|
508
609
|
{
|
|
509
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"ReportSubmittedBackgroundTask", 0))
|
|
510
|
-
{
|
|
511
|
-
py::set_arg_count_version_error(0);
|
|
512
|
-
return nullptr;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
610
|
try
|
|
516
611
|
{
|
|
612
|
+
static std::optional<bool> is_overload_present{};
|
|
613
|
+
|
|
614
|
+
if (!is_overload_present.has_value())
|
|
615
|
+
{
|
|
616
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"ReportSubmittedBackgroundTask", 0);
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
if (!is_overload_present.value())
|
|
620
|
+
{
|
|
621
|
+
py::set_arg_count_version_error(0);
|
|
622
|
+
return nullptr;
|
|
623
|
+
}
|
|
624
|
+
|
|
517
625
|
self->obj.ReportSubmittedBackgroundTask();
|
|
518
626
|
Py_RETURN_NONE;
|
|
519
627
|
}
|
|
@@ -532,14 +640,21 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
532
640
|
|
|
533
641
|
static PyObject* ShareOperation_get_Data(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation* self, void* /*unused*/) noexcept
|
|
534
642
|
{
|
|
535
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"Data"))
|
|
536
|
-
{
|
|
537
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
538
|
-
return nullptr;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
643
|
try
|
|
542
644
|
{
|
|
645
|
+
static std::optional<bool> is_property_present{};
|
|
646
|
+
|
|
647
|
+
if (!is_property_present.has_value())
|
|
648
|
+
{
|
|
649
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"Data");
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
if (!is_property_present.value())
|
|
653
|
+
{
|
|
654
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
655
|
+
return nullptr;
|
|
656
|
+
}
|
|
657
|
+
|
|
543
658
|
return py::convert(self->obj.Data());
|
|
544
659
|
}
|
|
545
660
|
catch (...)
|
|
@@ -551,14 +666,21 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
551
666
|
|
|
552
667
|
static PyObject* ShareOperation_get_QuickLinkId(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation* self, void* /*unused*/) noexcept
|
|
553
668
|
{
|
|
554
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"QuickLinkId"))
|
|
555
|
-
{
|
|
556
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
557
|
-
return nullptr;
|
|
558
|
-
}
|
|
559
|
-
|
|
560
669
|
try
|
|
561
670
|
{
|
|
671
|
+
static std::optional<bool> is_property_present{};
|
|
672
|
+
|
|
673
|
+
if (!is_property_present.has_value())
|
|
674
|
+
{
|
|
675
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"QuickLinkId");
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
if (!is_property_present.value())
|
|
679
|
+
{
|
|
680
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
681
|
+
return nullptr;
|
|
682
|
+
}
|
|
683
|
+
|
|
562
684
|
return py::convert(self->obj.QuickLinkId());
|
|
563
685
|
}
|
|
564
686
|
catch (...)
|
|
@@ -570,14 +692,21 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
570
692
|
|
|
571
693
|
static PyObject* ShareOperation_get_Contacts(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation* self, void* /*unused*/) noexcept
|
|
572
694
|
{
|
|
573
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"Contacts"))
|
|
574
|
-
{
|
|
575
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
576
|
-
return nullptr;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
695
|
try
|
|
580
696
|
{
|
|
697
|
+
static std::optional<bool> is_property_present{};
|
|
698
|
+
|
|
699
|
+
if (!is_property_present.has_value())
|
|
700
|
+
{
|
|
701
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"Contacts");
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
if (!is_property_present.value())
|
|
705
|
+
{
|
|
706
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
707
|
+
return nullptr;
|
|
708
|
+
}
|
|
709
|
+
|
|
581
710
|
return py::convert(self->obj.Contacts());
|
|
582
711
|
}
|
|
583
712
|
catch (...)
|
|
@@ -631,39 +760,35 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
631
760
|
{ }
|
|
632
761
|
};
|
|
633
762
|
|
|
634
|
-
static PyType_Slot _type_slots_ShareOperation[] =
|
|
635
|
-
{
|
|
763
|
+
static PyType_Slot _type_slots_ShareOperation[] = {
|
|
636
764
|
{ Py_tp_new, reinterpret_cast<void*>(_new_ShareOperation) },
|
|
637
765
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_ShareOperation) },
|
|
638
766
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_ShareOperation) },
|
|
639
767
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_ShareOperation) },
|
|
640
|
-
{ }
|
|
768
|
+
{ }
|
|
641
769
|
};
|
|
642
770
|
|
|
643
|
-
static PyType_Spec type_spec_ShareOperation =
|
|
644
|
-
{
|
|
771
|
+
static PyType_Spec type_spec_ShareOperation = {
|
|
645
772
|
"winrt._winrt_windows_applicationmodel_datatransfer_sharetarget.ShareOperation",
|
|
646
773
|
sizeof(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation),
|
|
647
774
|
0,
|
|
648
775
|
Py_TPFLAGS_DEFAULT,
|
|
649
|
-
_type_slots_ShareOperation
|
|
650
|
-
};
|
|
776
|
+
_type_slots_ShareOperation};
|
|
651
777
|
|
|
652
778
|
// ----- Windows.ApplicationModel.DataTransfer.ShareTarget Initialization --------------------
|
|
653
|
-
PyDoc_STRVAR(module_doc, "Windows::ApplicationModel::DataTransfer::ShareTarget");
|
|
654
|
-
|
|
655
779
|
|
|
656
|
-
|
|
657
|
-
= {PyModuleDef_HEAD_INIT,
|
|
658
|
-
"_winrt_windows_applicationmodel_datatransfer_sharetarget",
|
|
659
|
-
module_doc,
|
|
660
|
-
0,
|
|
661
|
-
nullptr,
|
|
662
|
-
nullptr,
|
|
663
|
-
nullptr,
|
|
664
|
-
nullptr,
|
|
665
|
-
nullptr};
|
|
780
|
+
PyDoc_STRVAR(module_doc, "Windows.ApplicationModel.DataTransfer.ShareTarget");
|
|
666
781
|
|
|
782
|
+
static PyModuleDef module_def = {
|
|
783
|
+
PyModuleDef_HEAD_INIT,
|
|
784
|
+
"_winrt_windows_applicationmodel_datatransfer_sharetarget",
|
|
785
|
+
module_doc,
|
|
786
|
+
0,
|
|
787
|
+
nullptr,
|
|
788
|
+
nullptr,
|
|
789
|
+
nullptr,
|
|
790
|
+
nullptr,
|
|
791
|
+
nullptr};
|
|
667
792
|
} // py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
668
793
|
|
|
669
794
|
PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_datatransfer_sharetarget(void) noexcept
|
|
@@ -695,12 +820,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_datatransfer_sharetarget(v
|
|
|
695
820
|
return nullptr;
|
|
696
821
|
}
|
|
697
822
|
|
|
698
|
-
|
|
823
|
+
py::pytype_handle QuickLink_type{py::register_python_type(module.get(), &type_spec_QuickLink, object_bases.get(), nullptr)};
|
|
824
|
+
if (!QuickLink_type)
|
|
699
825
|
{
|
|
700
826
|
return nullptr;
|
|
701
827
|
}
|
|
702
828
|
|
|
703
|
-
|
|
829
|
+
py::pytype_handle ShareOperation_type{py::register_python_type(module.get(), &type_spec_ShareOperation, object_bases.get(), nullptr)};
|
|
830
|
+
if (!ShareOperation_type)
|
|
704
831
|
{
|
|
705
832
|
return nullptr;
|
|
706
833
|
}
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9,<3.
|
|
19
|
+
requires-python = ">=3.9,<3.14"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -36,7 +36,8 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
|
-
build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
39
|
+
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
|
+
before-build = "uv pip install setuptools"
|
|
40
41
|
# don't build for PyPy
|
|
41
42
|
skip = "pp*"
|
|
42
43
|
# suppress warnings about ARM64 testing
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.2.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0
|
|
3
|
+
winrt-runtime==2.2.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -9,10 +9,10 @@ from builtins import property as _property
|
|
|
9
9
|
|
|
10
10
|
import winrt._winrt
|
|
11
11
|
import winrt.system
|
|
12
|
-
import winrt.windows.applicationmodel.contacts
|
|
13
|
-
import winrt.windows.applicationmodel.datatransfer
|
|
14
|
-
import winrt.windows.foundation.collections
|
|
15
|
-
import winrt.windows.storage.streams
|
|
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
16
|
|
|
17
17
|
Self = typing.TypeVar('Self')
|
|
18
18
|
|
|
@@ -20,23 +20,23 @@ Self = typing.TypeVar('Self')
|
|
|
20
20
|
class QuickLink(winrt.system.Object):
|
|
21
21
|
@staticmethod
|
|
22
22
|
def _from(obj: winrt.system.Object, /) -> QuickLink: ...
|
|
23
|
-
def __new__(cls: typing.Type[QuickLink]) -> QuickLink
|
|
23
|
+
def __new__(cls: typing.Type[QuickLink]) -> QuickLink: ...
|
|
24
24
|
@_property
|
|
25
25
|
def title(self) -> str: ...
|
|
26
26
|
@title.setter
|
|
27
27
|
def title(self, value: str) -> None: ...
|
|
28
28
|
@_property
|
|
29
|
-
def thumbnail(self) -> typing.Optional[
|
|
29
|
+
def thumbnail(self) -> typing.Optional[windows_storage_streams.RandomAccessStreamReference]: ...
|
|
30
30
|
@thumbnail.setter
|
|
31
|
-
def thumbnail(self, value: typing.Optional[
|
|
31
|
+
def thumbnail(self, value: typing.Optional[windows_storage_streams.RandomAccessStreamReference]) -> None: ...
|
|
32
32
|
@_property
|
|
33
33
|
def id(self) -> str: ...
|
|
34
34
|
@id.setter
|
|
35
35
|
def id(self, value: str) -> None: ...
|
|
36
36
|
@_property
|
|
37
|
-
def supported_data_formats(self) -> typing.Optional[
|
|
37
|
+
def supported_data_formats(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
|
|
38
38
|
@_property
|
|
39
|
-
def supported_file_types(self) -> typing.Optional[
|
|
39
|
+
def supported_file_types(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
|
|
40
40
|
|
|
41
41
|
@typing.final
|
|
42
42
|
class ShareOperation(winrt.system.Object):
|
|
@@ -53,9 +53,9 @@ class ShareOperation(winrt.system.Object):
|
|
|
53
53
|
def report_started(self) -> None: ...
|
|
54
54
|
def report_submitted_background_task(self) -> None: ...
|
|
55
55
|
@_property
|
|
56
|
-
def data(self) -> typing.Optional[
|
|
56
|
+
def data(self) -> typing.Optional[windows_applicationmodel_datatransfer.DataPackageView]: ...
|
|
57
57
|
@_property
|
|
58
58
|
def quick_link_id(self) -> str: ...
|
|
59
59
|
@_property
|
|
60
|
-
def contacts(self) -> typing.Optional[
|
|
60
|
+
def contacts(self) -> typing.Optional[windows_foundation_collections.IVectorView[windows_applicationmodel_contacts.Contact]]: ...
|
|
61
61
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.DataTransfer.ShareTarget
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.2.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: <3.
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel.Contacts[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.ApplicationModel.DataTransfer[all]==2.0
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0
|
|
20
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Contacts[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.ApplicationModel.DataTransfer[all]==2.2.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.2.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.0.1
|
|
2
|
-
|
|
3
|
-
winrt-Windows.ApplicationModel.Contacts[all]==2.0.1
|
|
4
|
-
winrt-Windows.ApplicationModel.DataTransfer[all]==2.0.1
|
|
5
|
-
winrt-Windows.Foundation.Collections[all]==2.0.1
|
|
6
|
-
winrt-Windows.Storage.Streams[all]==2.0.1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|