winrt-Windows.ApplicationModel.DataTransfer.ShareTarget 2.0.0b2__tar.gz → 2.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {winrt-Windows.ApplicationModel.DataTransfer.ShareTarget-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.1.0}/PKG-INFO +6 -1
- winrt_windows_applicationmodel_datatransfer_sharetarget-2.1.0/all-requirements.txt +6 -0
- {winrt-Windows.ApplicationModel.DataTransfer.ShareTarget-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.1.0}/py.Windows.ApplicationModel.DataTransfer.ShareTarget.cpp +134 -142
- {winrt-Windows.ApplicationModel.DataTransfer.ShareTarget-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.1.0}/pyproject.toml +2 -2
- winrt_windows_applicationmodel_datatransfer_sharetarget-2.1.0/pywinrt-version.txt +1 -0
- {winrt-Windows.ApplicationModel.DataTransfer.ShareTarget-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.1.0}/requirements.txt +2 -2
- winrt_windows_applicationmodel_datatransfer_sharetarget-2.1.0/setup.py +31 -0
- {winrt-Windows.ApplicationModel.DataTransfer.ShareTarget-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.1.0}/winrt/_winrt_windows_applicationmodel_datatransfer_sharetarget.pyi +12 -12
- {winrt-Windows.ApplicationModel.DataTransfer.ShareTarget-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.1.0}/winrt/windows/applicationmodel/datatransfer/sharetarget/__init__.py +1 -1
- winrt_windows_applicationmodel_datatransfer_sharetarget-2.1.0/winrt/windows/applicationmodel/datatransfer/sharetarget/py.typed +0 -0
- {winrt-Windows.ApplicationModel.DataTransfer.ShareTarget-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.1.0}/winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/PKG-INFO +6 -1
- {winrt-Windows.ApplicationModel.DataTransfer.ShareTarget-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.1.0}/winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/SOURCES.txt +1 -0
- winrt_windows_applicationmodel_datatransfer_sharetarget-2.1.0/winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/requires.txt +7 -0
- winrt-Windows.ApplicationModel.DataTransfer.ShareTarget-2.0.0b2/all-requirements.txt +0 -6
- winrt-Windows.ApplicationModel.DataTransfer.ShareTarget-2.0.0b2/pywinrt-version.txt +0 -1
- winrt-Windows.ApplicationModel.DataTransfer.ShareTarget-2.0.0b2/setup.py +0 -16
- winrt-Windows.ApplicationModel.DataTransfer.ShareTarget-2.0.0b2/winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/requires.txt +0 -7
- {winrt-Windows.ApplicationModel.DataTransfer.ShareTarget-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.1.0}/README.md +0 -0
- {winrt-Windows.ApplicationModel.DataTransfer.ShareTarget-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.1.0}/setup.cfg +0 -0
- {winrt-Windows.ApplicationModel.DataTransfer.ShareTarget-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.1.0}/winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/dependency_links.txt +0 -0
- {winrt-Windows.ApplicationModel.DataTransfer.ShareTarget-2.0.0b2 → winrt_windows_applicationmodel_datatransfer_sharetarget-2.1.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.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -12,7 +12,12 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: <3.13,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.1.0
|
|
15
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Contacts[all]==2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.ApplicationModel.DataTransfer[all]==2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.1.0; extra == "all"
|
|
16
21
|
|
|
17
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
18
23
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
|
+
|
|
3
|
+
winrt-Windows.ApplicationModel.Contacts[all]==2.1.0
|
|
4
|
+
winrt-Windows.ApplicationModel.DataTransfer[all]==2.1.0
|
|
5
|
+
winrt-Windows.Foundation.Collections[all]==2.1.0
|
|
6
|
+
winrt-Windows.Storage.Streams[all]==2.1.0
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.ApplicationModel.DataTransfer.ShareTarget.h"
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
7
6
|
{
|
|
8
7
|
// ----- QuickLink class --------------------
|
|
@@ -46,14 +45,14 @@ 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
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"Title"))
|
|
51
|
+
{
|
|
52
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
53
|
+
return nullptr;
|
|
54
|
+
}
|
|
55
|
+
|
|
57
56
|
return py::convert(self->obj.Title());
|
|
58
57
|
}
|
|
59
58
|
catch (...)
|
|
@@ -65,12 +64,6 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
65
64
|
|
|
66
65
|
static int QuickLink_put_Title(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink* self, PyObject* arg, void* /*unused*/) noexcept
|
|
67
66
|
{
|
|
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
67
|
if (arg == nullptr)
|
|
75
68
|
{
|
|
76
69
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
@@ -79,6 +72,12 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
79
72
|
|
|
80
73
|
try
|
|
81
74
|
{
|
|
75
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"Title"))
|
|
76
|
+
{
|
|
77
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
78
|
+
return -1;
|
|
79
|
+
}
|
|
80
|
+
|
|
82
81
|
auto param0 = py::convert_to<winrt::hstring>(arg);
|
|
83
82
|
|
|
84
83
|
self->obj.Title(param0);
|
|
@@ -93,14 +92,14 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
93
92
|
|
|
94
93
|
static PyObject* QuickLink_get_Thumbnail(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink* self, void* /*unused*/) noexcept
|
|
95
94
|
{
|
|
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
95
|
try
|
|
103
96
|
{
|
|
97
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"Thumbnail"))
|
|
98
|
+
{
|
|
99
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
100
|
+
return nullptr;
|
|
101
|
+
}
|
|
102
|
+
|
|
104
103
|
return py::convert(self->obj.Thumbnail());
|
|
105
104
|
}
|
|
106
105
|
catch (...)
|
|
@@ -112,12 +111,6 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
112
111
|
|
|
113
112
|
static int QuickLink_put_Thumbnail(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink* self, PyObject* arg, void* /*unused*/) noexcept
|
|
114
113
|
{
|
|
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
114
|
if (arg == nullptr)
|
|
122
115
|
{
|
|
123
116
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
@@ -126,6 +119,12 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
126
119
|
|
|
127
120
|
try
|
|
128
121
|
{
|
|
122
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"Thumbnail"))
|
|
123
|
+
{
|
|
124
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
125
|
+
return -1;
|
|
126
|
+
}
|
|
127
|
+
|
|
129
128
|
auto param0 = py::convert_to<winrt::Windows::Storage::Streams::RandomAccessStreamReference>(arg);
|
|
130
129
|
|
|
131
130
|
self->obj.Thumbnail(param0);
|
|
@@ -140,14 +139,14 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
140
139
|
|
|
141
140
|
static PyObject* QuickLink_get_Id(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink* self, void* /*unused*/) noexcept
|
|
142
141
|
{
|
|
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
142
|
try
|
|
150
143
|
{
|
|
144
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"Id"))
|
|
145
|
+
{
|
|
146
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
147
|
+
return nullptr;
|
|
148
|
+
}
|
|
149
|
+
|
|
151
150
|
return py::convert(self->obj.Id());
|
|
152
151
|
}
|
|
153
152
|
catch (...)
|
|
@@ -159,12 +158,6 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
159
158
|
|
|
160
159
|
static int QuickLink_put_Id(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink* self, PyObject* arg, void* /*unused*/) noexcept
|
|
161
160
|
{
|
|
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
161
|
if (arg == nullptr)
|
|
169
162
|
{
|
|
170
163
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
@@ -173,6 +166,12 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
173
166
|
|
|
174
167
|
try
|
|
175
168
|
{
|
|
169
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"Id"))
|
|
170
|
+
{
|
|
171
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
172
|
+
return -1;
|
|
173
|
+
}
|
|
174
|
+
|
|
176
175
|
auto param0 = py::convert_to<winrt::hstring>(arg);
|
|
177
176
|
|
|
178
177
|
self->obj.Id(param0);
|
|
@@ -187,14 +186,14 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
187
186
|
|
|
188
187
|
static PyObject* QuickLink_get_SupportedDataFormats(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink* self, void* /*unused*/) noexcept
|
|
189
188
|
{
|
|
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
189
|
try
|
|
197
190
|
{
|
|
191
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"SupportedDataFormats"))
|
|
192
|
+
{
|
|
193
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
194
|
+
return nullptr;
|
|
195
|
+
}
|
|
196
|
+
|
|
198
197
|
return py::convert(self->obj.SupportedDataFormats());
|
|
199
198
|
}
|
|
200
199
|
catch (...)
|
|
@@ -206,14 +205,14 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
206
205
|
|
|
207
206
|
static PyObject* QuickLink_get_SupportedFileTypes(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink* self, void* /*unused*/) noexcept
|
|
208
207
|
{
|
|
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
208
|
try
|
|
216
209
|
{
|
|
210
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink", L"SupportedFileTypes"))
|
|
211
|
+
{
|
|
212
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
213
|
+
return nullptr;
|
|
214
|
+
}
|
|
215
|
+
|
|
217
216
|
return py::convert(self->obj.SupportedFileTypes());
|
|
218
217
|
}
|
|
219
218
|
catch (...)
|
|
@@ -262,23 +261,20 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
262
261
|
{ }
|
|
263
262
|
};
|
|
264
263
|
|
|
265
|
-
static PyType_Slot _type_slots_QuickLink[] =
|
|
266
|
-
{
|
|
264
|
+
static PyType_Slot _type_slots_QuickLink[] = {
|
|
267
265
|
{ Py_tp_new, reinterpret_cast<void*>(_new_QuickLink) },
|
|
268
266
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_QuickLink) },
|
|
269
267
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_QuickLink) },
|
|
270
268
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_QuickLink) },
|
|
271
|
-
{ }
|
|
269
|
+
{ }
|
|
272
270
|
};
|
|
273
271
|
|
|
274
|
-
static PyType_Spec type_spec_QuickLink =
|
|
275
|
-
{
|
|
272
|
+
static PyType_Spec type_spec_QuickLink = {
|
|
276
273
|
"winrt._winrt_windows_applicationmodel_datatransfer_sharetarget.QuickLink",
|
|
277
274
|
sizeof(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink),
|
|
278
275
|
0,
|
|
279
276
|
Py_TPFLAGS_DEFAULT,
|
|
280
|
-
_type_slots_QuickLink
|
|
281
|
-
};
|
|
277
|
+
_type_slots_QuickLink};
|
|
282
278
|
|
|
283
279
|
// ----- ShareOperation class --------------------
|
|
284
280
|
|
|
@@ -303,14 +299,14 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
303
299
|
|
|
304
300
|
if (arg_count == 0)
|
|
305
301
|
{
|
|
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
302
|
try
|
|
313
303
|
{
|
|
304
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"DismissUI", 0))
|
|
305
|
+
{
|
|
306
|
+
py::set_arg_count_version_error(0);
|
|
307
|
+
return nullptr;
|
|
308
|
+
}
|
|
309
|
+
|
|
314
310
|
self->obj.DismissUI();
|
|
315
311
|
Py_RETURN_NONE;
|
|
316
312
|
}
|
|
@@ -333,14 +329,14 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
333
329
|
|
|
334
330
|
if (arg_count == 0)
|
|
335
331
|
{
|
|
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
332
|
try
|
|
343
333
|
{
|
|
334
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"RemoveThisQuickLink", 0))
|
|
335
|
+
{
|
|
336
|
+
py::set_arg_count_version_error(0);
|
|
337
|
+
return nullptr;
|
|
338
|
+
}
|
|
339
|
+
|
|
344
340
|
self->obj.RemoveThisQuickLink();
|
|
345
341
|
Py_RETURN_NONE;
|
|
346
342
|
}
|
|
@@ -363,14 +359,14 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
363
359
|
|
|
364
360
|
if (arg_count == 0)
|
|
365
361
|
{
|
|
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
362
|
try
|
|
373
363
|
{
|
|
364
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"ReportCompleted", 0))
|
|
365
|
+
{
|
|
366
|
+
py::set_arg_count_version_error(0);
|
|
367
|
+
return nullptr;
|
|
368
|
+
}
|
|
369
|
+
|
|
374
370
|
self->obj.ReportCompleted();
|
|
375
371
|
Py_RETURN_NONE;
|
|
376
372
|
}
|
|
@@ -382,14 +378,14 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
382
378
|
}
|
|
383
379
|
else if (arg_count == 1)
|
|
384
380
|
{
|
|
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
381
|
try
|
|
392
382
|
{
|
|
383
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"ReportCompleted", 1))
|
|
384
|
+
{
|
|
385
|
+
py::set_arg_count_version_error(1);
|
|
386
|
+
return nullptr;
|
|
387
|
+
}
|
|
388
|
+
|
|
393
389
|
auto param0 = py::convert_to<winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink>(args, 0);
|
|
394
390
|
|
|
395
391
|
self->obj.ReportCompleted(param0);
|
|
@@ -414,14 +410,14 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
414
410
|
|
|
415
411
|
if (arg_count == 0)
|
|
416
412
|
{
|
|
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
413
|
try
|
|
424
414
|
{
|
|
415
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"ReportDataRetrieved", 0))
|
|
416
|
+
{
|
|
417
|
+
py::set_arg_count_version_error(0);
|
|
418
|
+
return nullptr;
|
|
419
|
+
}
|
|
420
|
+
|
|
425
421
|
self->obj.ReportDataRetrieved();
|
|
426
422
|
Py_RETURN_NONE;
|
|
427
423
|
}
|
|
@@ -444,14 +440,14 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
444
440
|
|
|
445
441
|
if (arg_count == 1)
|
|
446
442
|
{
|
|
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
443
|
try
|
|
454
444
|
{
|
|
445
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"ReportError", 1))
|
|
446
|
+
{
|
|
447
|
+
py::set_arg_count_version_error(1);
|
|
448
|
+
return nullptr;
|
|
449
|
+
}
|
|
450
|
+
|
|
455
451
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
456
452
|
|
|
457
453
|
self->obj.ReportError(param0);
|
|
@@ -476,14 +472,14 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
476
472
|
|
|
477
473
|
if (arg_count == 0)
|
|
478
474
|
{
|
|
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
475
|
try
|
|
486
476
|
{
|
|
477
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"ReportStarted", 0))
|
|
478
|
+
{
|
|
479
|
+
py::set_arg_count_version_error(0);
|
|
480
|
+
return nullptr;
|
|
481
|
+
}
|
|
482
|
+
|
|
487
483
|
self->obj.ReportStarted();
|
|
488
484
|
Py_RETURN_NONE;
|
|
489
485
|
}
|
|
@@ -506,14 +502,14 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
506
502
|
|
|
507
503
|
if (arg_count == 0)
|
|
508
504
|
{
|
|
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
505
|
try
|
|
516
506
|
{
|
|
507
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"ReportSubmittedBackgroundTask", 0))
|
|
508
|
+
{
|
|
509
|
+
py::set_arg_count_version_error(0);
|
|
510
|
+
return nullptr;
|
|
511
|
+
}
|
|
512
|
+
|
|
517
513
|
self->obj.ReportSubmittedBackgroundTask();
|
|
518
514
|
Py_RETURN_NONE;
|
|
519
515
|
}
|
|
@@ -532,14 +528,14 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
532
528
|
|
|
533
529
|
static PyObject* ShareOperation_get_Data(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation* self, void* /*unused*/) noexcept
|
|
534
530
|
{
|
|
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
531
|
try
|
|
542
532
|
{
|
|
533
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"Data"))
|
|
534
|
+
{
|
|
535
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
536
|
+
return nullptr;
|
|
537
|
+
}
|
|
538
|
+
|
|
543
539
|
return py::convert(self->obj.Data());
|
|
544
540
|
}
|
|
545
541
|
catch (...)
|
|
@@ -551,14 +547,14 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
551
547
|
|
|
552
548
|
static PyObject* ShareOperation_get_QuickLinkId(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation* self, void* /*unused*/) noexcept
|
|
553
549
|
{
|
|
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
550
|
try
|
|
561
551
|
{
|
|
552
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"QuickLinkId"))
|
|
553
|
+
{
|
|
554
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
555
|
+
return nullptr;
|
|
556
|
+
}
|
|
557
|
+
|
|
562
558
|
return py::convert(self->obj.QuickLinkId());
|
|
563
559
|
}
|
|
564
560
|
catch (...)
|
|
@@ -570,14 +566,14 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
570
566
|
|
|
571
567
|
static PyObject* ShareOperation_get_Contacts(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation* self, void* /*unused*/) noexcept
|
|
572
568
|
{
|
|
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
569
|
try
|
|
580
570
|
{
|
|
571
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation", L"Contacts"))
|
|
572
|
+
{
|
|
573
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
574
|
+
return nullptr;
|
|
575
|
+
}
|
|
576
|
+
|
|
581
577
|
return py::convert(self->obj.Contacts());
|
|
582
578
|
}
|
|
583
579
|
catch (...)
|
|
@@ -631,39 +627,35 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
|
631
627
|
{ }
|
|
632
628
|
};
|
|
633
629
|
|
|
634
|
-
static PyType_Slot _type_slots_ShareOperation[] =
|
|
635
|
-
{
|
|
630
|
+
static PyType_Slot _type_slots_ShareOperation[] = {
|
|
636
631
|
{ Py_tp_new, reinterpret_cast<void*>(_new_ShareOperation) },
|
|
637
632
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_ShareOperation) },
|
|
638
633
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_ShareOperation) },
|
|
639
634
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_ShareOperation) },
|
|
640
|
-
{ }
|
|
635
|
+
{ }
|
|
641
636
|
};
|
|
642
637
|
|
|
643
|
-
static PyType_Spec type_spec_ShareOperation =
|
|
644
|
-
{
|
|
638
|
+
static PyType_Spec type_spec_ShareOperation = {
|
|
645
639
|
"winrt._winrt_windows_applicationmodel_datatransfer_sharetarget.ShareOperation",
|
|
646
640
|
sizeof(py::wrapper::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation),
|
|
647
641
|
0,
|
|
648
642
|
Py_TPFLAGS_DEFAULT,
|
|
649
|
-
_type_slots_ShareOperation
|
|
650
|
-
};
|
|
643
|
+
_type_slots_ShareOperation};
|
|
651
644
|
|
|
652
645
|
// ----- Windows.ApplicationModel.DataTransfer.ShareTarget Initialization --------------------
|
|
653
|
-
PyDoc_STRVAR(module_doc, "Windows::ApplicationModel::DataTransfer::ShareTarget");
|
|
654
646
|
|
|
647
|
+
PyDoc_STRVAR(module_doc, "Windows.ApplicationModel.DataTransfer.ShareTarget");
|
|
655
648
|
|
|
656
|
-
static PyModuleDef module_def
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
649
|
+
static PyModuleDef module_def = {
|
|
650
|
+
PyModuleDef_HEAD_INIT,
|
|
651
|
+
"_winrt_windows_applicationmodel_datatransfer_sharetarget",
|
|
652
|
+
module_doc,
|
|
653
|
+
0,
|
|
654
|
+
nullptr,
|
|
655
|
+
nullptr,
|
|
656
|
+
nullptr,
|
|
657
|
+
nullptr,
|
|
658
|
+
nullptr};
|
|
667
659
|
} // py::cpp::Windows::ApplicationModel::DataTransfer::ShareTarget
|
|
668
660
|
|
|
669
661
|
PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_datatransfer_sharetarget(void) noexcept
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "
|
|
4
|
+
requires = ["setuptools", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
@@ -30,7 +30,7 @@ dependencies = { file = "requirements.txt" }
|
|
|
30
30
|
optional-dependencies.all = { file = "all-requirements.txt" }
|
|
31
31
|
|
|
32
32
|
[tool.setuptools.package-data]
|
|
33
|
-
|
|
33
|
+
"*" = ["*.pyi", "py.typed"]
|
|
34
34
|
|
|
35
35
|
[tool.cibuildwheel]
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.1.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.1.0
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
+
|
|
3
|
+
from setuptools import Extension, setup
|
|
4
|
+
from setuptools.command.build_ext import build_ext
|
|
5
|
+
from winrt_sdk import get_include_dirs
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class build_ext_ex(build_ext):
|
|
9
|
+
def build_extension(self, ext):
|
|
10
|
+
if self.compiler.compiler_type == "msvc":
|
|
11
|
+
ext.extra_compile_args = ["/std:c++20", "/permissive-"]
|
|
12
|
+
elif self.compiler.compiler_type == "mingw32":
|
|
13
|
+
ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
|
|
14
|
+
ext.extra_link_args = ["-loleaut32"]
|
|
15
|
+
else:
|
|
16
|
+
raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
|
|
17
|
+
|
|
18
|
+
build_ext.build_extension(self, ext)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
setup(
|
|
22
|
+
cmdclass = {'build_ext': build_ext_ex},
|
|
23
|
+
ext_modules=[
|
|
24
|
+
Extension(
|
|
25
|
+
"winrt._winrt_windows_applicationmodel_datatransfer_sharetarget",
|
|
26
|
+
sources=["py.Windows.ApplicationModel.DataTransfer.ShareTarget.cpp"],
|
|
27
|
+
include_dirs=get_include_dirs(),
|
|
28
|
+
libraries=["windowsapp"],
|
|
29
|
+
)
|
|
30
|
+
],
|
|
31
|
+
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -9,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
|
|
|
File without changes
|
|
@@ -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.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -12,7 +12,12 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: <3.13,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.1.0
|
|
15
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Contacts[all]==2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.ApplicationModel.DataTransfer[all]==2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.1.0; extra == "all"
|
|
16
21
|
|
|
17
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
18
23
|
|
|
@@ -7,6 +7,7 @@ requirements.txt
|
|
|
7
7
|
setup.py
|
|
8
8
|
winrt/_winrt_windows_applicationmodel_datatransfer_sharetarget.pyi
|
|
9
9
|
winrt/windows/applicationmodel/datatransfer/sharetarget/__init__.py
|
|
10
|
+
winrt/windows/applicationmodel/datatransfer/sharetarget/py.typed
|
|
10
11
|
winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/PKG-INFO
|
|
11
12
|
winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/SOURCES.txt
|
|
12
13
|
winrt_Windows.ApplicationModel.DataTransfer.ShareTarget.egg-info/dependency_links.txt
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.2
|
|
2
|
-
|
|
3
|
-
winrt-Windows.ApplicationModel.Contacts[all]==2.0.0-beta.2
|
|
4
|
-
winrt-Windows.ApplicationModel.DataTransfer[all]==2.0.0-beta.2
|
|
5
|
-
winrt-Windows.Foundation.Collections[all]==2.0.0-beta.2
|
|
6
|
-
winrt-Windows.Storage.Streams[all]==2.0.0-beta.2
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.0-beta.2
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
-
|
|
3
|
-
from setuptools import Extension, setup
|
|
4
|
-
from winrt_sdk import get_include_dirs
|
|
5
|
-
|
|
6
|
-
setup(
|
|
7
|
-
ext_modules=[
|
|
8
|
-
Extension(
|
|
9
|
-
"winrt._winrt_windows_applicationmodel_datatransfer_sharetarget",
|
|
10
|
-
sources=["py.Windows.ApplicationModel.DataTransfer.ShareTarget.cpp"],
|
|
11
|
-
include_dirs=get_include_dirs(),
|
|
12
|
-
extra_compile_args=["/std:c++20", "/permissive-"],
|
|
13
|
-
libraries=["windowsapp"],
|
|
14
|
-
)
|
|
15
|
-
],
|
|
16
|
-
)
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
winrt-runtime==2.0.0-beta.2
|
|
2
|
-
|
|
3
|
-
[all]
|
|
4
|
-
winrt-Windows.ApplicationModel.Contacts[all]==2.0.0-beta.2
|
|
5
|
-
winrt-Windows.ApplicationModel.DataTransfer[all]==2.0.0-beta.2
|
|
6
|
-
winrt-Windows.Foundation.Collections[all]==2.0.0-beta.2
|
|
7
|
-
winrt-Windows.Storage.Streams[all]==2.0.0-beta.2
|
|
File without changes
|
|
File without changes
|
|
File without changes
|