winrt-Windows.ApplicationModel.DataTransfer 2.0.0b1__tar.gz → 2.0.1__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-2.0.0b1 → winrt_windows_applicationmodel_datatransfer-2.0.1}/PKG-INFO +10 -2
- winrt_windows_applicationmodel_datatransfer-2.0.1/all-requirements.txt +8 -0
- {winrt-Windows.ApplicationModel.DataTransfer-2.0.0b1 → winrt_windows_applicationmodel_datatransfer-2.0.1}/py.Windows.ApplicationModel.DataTransfer.cpp +21 -3
- {winrt-Windows.ApplicationModel.DataTransfer-2.0.0b1 → winrt_windows_applicationmodel_datatransfer-2.0.1}/pyproject.toml +7 -4
- winrt_windows_applicationmodel_datatransfer-2.0.1/pywinrt-version.txt +1 -0
- {winrt-Windows.ApplicationModel.DataTransfer-2.0.0b1 → winrt_windows_applicationmodel_datatransfer-2.0.1}/requirements.txt +2 -2
- winrt_windows_applicationmodel_datatransfer-2.0.1/setup.py +31 -0
- {winrt-Windows.ApplicationModel.DataTransfer-2.0.0b1 → winrt_windows_applicationmodel_datatransfer-2.0.1}/winrt/_winrt_windows_applicationmodel_datatransfer.pyi +32 -1
- {winrt-Windows.ApplicationModel.DataTransfer-2.0.0b1 → winrt_windows_applicationmodel_datatransfer-2.0.1}/winrt/windows/applicationmodel/datatransfer/__init__.py +1 -1
- winrt_windows_applicationmodel_datatransfer-2.0.1/winrt/windows/applicationmodel/datatransfer/py.typed +0 -0
- {winrt-Windows.ApplicationModel.DataTransfer-2.0.0b1 → winrt_windows_applicationmodel_datatransfer-2.0.1}/winrt_Windows.ApplicationModel.DataTransfer.egg-info/PKG-INFO +10 -2
- {winrt-Windows.ApplicationModel.DataTransfer-2.0.0b1 → winrt_windows_applicationmodel_datatransfer-2.0.1}/winrt_Windows.ApplicationModel.DataTransfer.egg-info/SOURCES.txt +1 -0
- winrt_windows_applicationmodel_datatransfer-2.0.1/winrt_Windows.ApplicationModel.DataTransfer.egg-info/requires.txt +9 -0
- winrt-Windows.ApplicationModel.DataTransfer-2.0.0b1/all-requirements.txt +0 -8
- winrt-Windows.ApplicationModel.DataTransfer-2.0.0b1/pywinrt-version.txt +0 -1
- winrt-Windows.ApplicationModel.DataTransfer-2.0.0b1/setup.py +0 -17
- winrt-Windows.ApplicationModel.DataTransfer-2.0.0b1/winrt_Windows.ApplicationModel.DataTransfer.egg-info/requires.txt +0 -9
- {winrt-Windows.ApplicationModel.DataTransfer-2.0.0b1 → winrt_windows_applicationmodel_datatransfer-2.0.1}/README.md +0 -0
- {winrt-Windows.ApplicationModel.DataTransfer-2.0.0b1 → winrt_windows_applicationmodel_datatransfer-2.0.1}/setup.cfg +0 -0
- {winrt-Windows.ApplicationModel.DataTransfer-2.0.0b1 → winrt_windows_applicationmodel_datatransfer-2.0.1}/winrt_Windows.ApplicationModel.DataTransfer.egg-info/dependency_links.txt +0 -0
- {winrt-Windows.ApplicationModel.DataTransfer-2.0.0b1 → winrt_windows_applicationmodel_datatransfer-2.0.1}/winrt_Windows.ApplicationModel.DataTransfer.egg-info/top_level.txt +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.DataTransfer
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
|
-
Project-URL:
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
9
|
Classifier: Operating System :: Microsoft :: Windows
|
|
9
10
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -11,7 +12,14 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
11
12
|
Classifier: Intended Audience :: Developers
|
|
12
13
|
Requires-Python: <3.13,>=3.9
|
|
13
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.0.1
|
|
14
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Security.EnterpriseData[all]==2.0.1; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage[all]==2.0.1; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.UI[all]==2.0.1; extra == "all"
|
|
15
23
|
|
|
16
24
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
25
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
|
+
|
|
3
|
+
winrt-Windows.Foundation[all]==2.0.1
|
|
4
|
+
winrt-Windows.Foundation.Collections[all]==2.0.1
|
|
5
|
+
winrt-Windows.Security.EnterpriseData[all]==2.0.1
|
|
6
|
+
winrt-Windows.Storage[all]==2.0.1
|
|
7
|
+
winrt-Windows.Storage.Streams[all]==2.0.1
|
|
8
|
+
winrt-Windows.UI[all]==2.0.1
|
|
@@ -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.0.1
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.ApplicationModel.DataTransfer.h"
|
|
4
4
|
|
|
@@ -2770,9 +2770,18 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer
|
|
|
2770
2770
|
{
|
|
2771
2771
|
try
|
|
2772
2772
|
{
|
|
2773
|
-
auto
|
|
2773
|
+
auto _key = py::convert_to<winrt::hstring>(key);
|
|
2774
|
+
auto value = self->obj.TryLookup(_key);
|
|
2774
2775
|
|
|
2775
2776
|
if (!value) {
|
|
2777
|
+
if constexpr (std::is_base_of_v<winrt::Windows::Foundation::IUnknown, decltype(value)>)
|
|
2778
|
+
{
|
|
2779
|
+
if (self->obj.HasKey(_key))
|
|
2780
|
+
{
|
|
2781
|
+
Py_RETURN_NONE;
|
|
2782
|
+
}
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2776
2785
|
PyErr_SetObject(PyExc_KeyError, key);
|
|
2777
2786
|
return nullptr;
|
|
2778
2787
|
}
|
|
@@ -3377,9 +3386,18 @@ namespace py::cpp::Windows::ApplicationModel::DataTransfer
|
|
|
3377
3386
|
{
|
|
3378
3387
|
try
|
|
3379
3388
|
{
|
|
3380
|
-
auto
|
|
3389
|
+
auto _key = py::convert_to<winrt::hstring>(key);
|
|
3390
|
+
auto value = self->obj.TryLookup(_key);
|
|
3381
3391
|
|
|
3382
3392
|
if (!value) {
|
|
3393
|
+
if constexpr (std::is_base_of_v<winrt::Windows::Foundation::IUnknown, decltype(value)>)
|
|
3394
|
+
{
|
|
3395
|
+
if (self->obj.HasKey(_key))
|
|
3396
|
+
{
|
|
3397
|
+
Py_RETURN_NONE;
|
|
3398
|
+
}
|
|
3399
|
+
}
|
|
3400
|
+
|
|
3383
3401
|
PyErr_SetObject(PyExc_KeyError, key);
|
|
3384
3402
|
return nullptr;
|
|
3385
3403
|
}
|
|
@@ -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]
|
|
@@ -19,9 +19,9 @@ dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
|
19
19
|
requires-python = ">=3.9,<3.13"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
|
-
# Homepage = "https://github.com/
|
|
23
|
-
|
|
24
|
-
Repository = "https://github.com/
|
|
22
|
+
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
23
|
+
Documentation = "https://pywinrt.readthedocs.io"
|
|
24
|
+
Repository = "https://github.com/pywinrt/pywinrt"
|
|
25
25
|
Changelog = "https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md"
|
|
26
26
|
|
|
27
27
|
[tool.setuptools.dynamic]
|
|
@@ -29,6 +29,9 @@ version = { file = "pywinrt-version.txt" }
|
|
|
29
29
|
dependencies = { file = "requirements.txt" }
|
|
30
30
|
optional-dependencies.all = { file = "all-requirements.txt" }
|
|
31
31
|
|
|
32
|
+
[tool.setuptools.package-data]
|
|
33
|
+
"*" = ["*.pyi", "py.typed"]
|
|
34
|
+
|
|
32
35
|
[tool.cibuildwheel]
|
|
33
36
|
# use local winrt-sdk build dependency
|
|
34
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.0.1
|
|
@@ -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.0.1
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0.
|
|
3
|
+
winrt-runtime==2.0.1
|
|
@@ -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",
|
|
26
|
+
sources=["py.Windows.ApplicationModel.DataTransfer.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.0.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -21,6 +21,7 @@ from winrt.windows.applicationmodel.datatransfer import DataProviderHandler, Sha
|
|
|
21
21
|
|
|
22
22
|
Self = typing.TypeVar('Self')
|
|
23
23
|
|
|
24
|
+
@typing.final
|
|
24
25
|
class Clipboard_Static(type):
|
|
25
26
|
def clear(cls) -> None: ...
|
|
26
27
|
def clear_history(cls) -> bool: ...
|
|
@@ -42,10 +43,12 @@ class Clipboard_Static(type):
|
|
|
42
43
|
def add_content_changed(cls, handler: winrt.windows.foundation.EventHandler[winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
43
44
|
def remove_content_changed(cls, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
44
45
|
|
|
46
|
+
@typing.final
|
|
45
47
|
class Clipboard(winrt.system.Object, metaclass=Clipboard_Static):
|
|
46
48
|
@staticmethod
|
|
47
49
|
def _from(obj: winrt.system.Object, /) -> Clipboard: ...
|
|
48
50
|
|
|
51
|
+
@typing.final
|
|
49
52
|
class ClipboardContentOptions(winrt.system.Object):
|
|
50
53
|
@staticmethod
|
|
51
54
|
def _from(obj: winrt.system.Object, /) -> ClipboardContentOptions: ...
|
|
@@ -63,10 +66,12 @@ class ClipboardContentOptions(winrt.system.Object):
|
|
|
63
66
|
@_property
|
|
64
67
|
def roaming_formats(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[str]]: ...
|
|
65
68
|
|
|
69
|
+
@typing.final
|
|
66
70
|
class ClipboardHistoryChangedEventArgs(winrt.system.Object):
|
|
67
71
|
@staticmethod
|
|
68
72
|
def _from(obj: winrt.system.Object, /) -> ClipboardHistoryChangedEventArgs: ...
|
|
69
73
|
|
|
74
|
+
@typing.final
|
|
70
75
|
class ClipboardHistoryItem(winrt.system.Object):
|
|
71
76
|
@staticmethod
|
|
72
77
|
def _from(obj: winrt.system.Object, /) -> ClipboardHistoryItem: ...
|
|
@@ -77,6 +82,7 @@ class ClipboardHistoryItem(winrt.system.Object):
|
|
|
77
82
|
@_property
|
|
78
83
|
def timestamp(self) -> datetime.datetime: ...
|
|
79
84
|
|
|
85
|
+
@typing.final
|
|
80
86
|
class ClipboardHistoryItemsResult(winrt.system.Object):
|
|
81
87
|
@staticmethod
|
|
82
88
|
def _from(obj: winrt.system.Object, /) -> ClipboardHistoryItemsResult: ...
|
|
@@ -85,6 +91,7 @@ class ClipboardHistoryItemsResult(winrt.system.Object):
|
|
|
85
91
|
@_property
|
|
86
92
|
def status(self) -> ClipboardHistoryItemsResultStatus: ...
|
|
87
93
|
|
|
94
|
+
@typing.final
|
|
88
95
|
class DataPackage(winrt.system.Object):
|
|
89
96
|
@staticmethod
|
|
90
97
|
def _from(obj: winrt.system.Object, /) -> DataPackage: ...
|
|
@@ -120,6 +127,7 @@ class DataPackage(winrt.system.Object):
|
|
|
120
127
|
@_property
|
|
121
128
|
def resource_map(self) -> typing.Optional[winrt.windows.foundation.collections.IMap[str, winrt.windows.storage.streams.RandomAccessStreamReference]]: ...
|
|
122
129
|
|
|
130
|
+
@typing.final
|
|
123
131
|
class DataPackagePropertySet(winrt.system.Object, winrt._winrt.MutableMapping[str, winrt.system.Object]):
|
|
124
132
|
def __len__(self) -> int: ...
|
|
125
133
|
def __iter__(self) -> typing.Iterator[str]: ...
|
|
@@ -189,6 +197,7 @@ class DataPackagePropertySet(winrt.system.Object, winrt._winrt.MutableMapping[st
|
|
|
189
197
|
@_property
|
|
190
198
|
def size(self) -> winrt.system.UInt32: ...
|
|
191
199
|
|
|
200
|
+
@typing.final
|
|
192
201
|
class DataPackagePropertySetView(winrt.system.Object, winrt._winrt.Mapping[str, winrt.system.Object]):
|
|
193
202
|
def __len__(self) -> int: ...
|
|
194
203
|
def __iter__(self) -> typing.Iterator[str]: ...
|
|
@@ -231,6 +240,7 @@ class DataPackagePropertySetView(winrt.system.Object, winrt._winrt.Mapping[str,
|
|
|
231
240
|
@_property
|
|
232
241
|
def size(self) -> winrt.system.UInt32: ...
|
|
233
242
|
|
|
243
|
+
@typing.final
|
|
234
244
|
class DataPackageView(winrt.system.Object):
|
|
235
245
|
@staticmethod
|
|
236
246
|
def _from(obj: winrt.system.Object, /) -> DataPackageView: ...
|
|
@@ -262,11 +272,13 @@ class DataPackageView(winrt.system.Object):
|
|
|
262
272
|
@_property
|
|
263
273
|
def requested_operation(self) -> DataPackageOperation: ...
|
|
264
274
|
|
|
275
|
+
@typing.final
|
|
265
276
|
class DataProviderDeferral(winrt.system.Object):
|
|
266
277
|
@staticmethod
|
|
267
278
|
def _from(obj: winrt.system.Object, /) -> DataProviderDeferral: ...
|
|
268
279
|
def complete(self) -> None: ...
|
|
269
280
|
|
|
281
|
+
@typing.final
|
|
270
282
|
class DataProviderRequest(winrt.system.Object):
|
|
271
283
|
@staticmethod
|
|
272
284
|
def _from(obj: winrt.system.Object, /) -> DataProviderRequest: ...
|
|
@@ -277,6 +289,7 @@ class DataProviderRequest(winrt.system.Object):
|
|
|
277
289
|
@_property
|
|
278
290
|
def format_id(self) -> str: ...
|
|
279
291
|
|
|
292
|
+
@typing.final
|
|
280
293
|
class DataRequest(winrt.system.Object):
|
|
281
294
|
@staticmethod
|
|
282
295
|
def _from(obj: winrt.system.Object, /) -> DataRequest: ...
|
|
@@ -289,17 +302,20 @@ class DataRequest(winrt.system.Object):
|
|
|
289
302
|
@_property
|
|
290
303
|
def deadline(self) -> datetime.datetime: ...
|
|
291
304
|
|
|
305
|
+
@typing.final
|
|
292
306
|
class DataRequestDeferral(winrt.system.Object):
|
|
293
307
|
@staticmethod
|
|
294
308
|
def _from(obj: winrt.system.Object, /) -> DataRequestDeferral: ...
|
|
295
309
|
def complete(self) -> None: ...
|
|
296
310
|
|
|
311
|
+
@typing.final
|
|
297
312
|
class DataRequestedEventArgs(winrt.system.Object):
|
|
298
313
|
@staticmethod
|
|
299
314
|
def _from(obj: winrt.system.Object, /) -> DataRequestedEventArgs: ...
|
|
300
315
|
@_property
|
|
301
316
|
def request(self) -> typing.Optional[DataRequest]: ...
|
|
302
317
|
|
|
318
|
+
@typing.final
|
|
303
319
|
class DataTransferManager_Static(type):
|
|
304
320
|
def get_for_current_view(cls) -> typing.Optional[DataTransferManager]: ...
|
|
305
321
|
def is_supported(cls) -> bool: ...
|
|
@@ -308,6 +324,7 @@ class DataTransferManager_Static(type):
|
|
|
308
324
|
@typing.overload
|
|
309
325
|
def show_share_u_i(cls, options: typing.Optional[ShareUIOptions], /) -> None: ...
|
|
310
326
|
|
|
327
|
+
@typing.final
|
|
311
328
|
class DataTransferManager(winrt.system.Object, metaclass=DataTransferManager_Static):
|
|
312
329
|
@staticmethod
|
|
313
330
|
def _from(obj: winrt.system.Object, /) -> DataTransferManager: ...
|
|
@@ -318,14 +335,17 @@ class DataTransferManager(winrt.system.Object, metaclass=DataTransferManager_Sta
|
|
|
318
335
|
def add_share_providers_requested(self, handler: winrt.windows.foundation.TypedEventHandler[DataTransferManager, ShareProvidersRequestedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
319
336
|
def remove_share_providers_requested(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
320
337
|
|
|
338
|
+
@typing.final
|
|
321
339
|
class HtmlFormatHelper_Static(type):
|
|
322
340
|
def create_html_format(cls, html_fragment: str, /) -> str: ...
|
|
323
341
|
def get_static_fragment(cls, html_format: str, /) -> str: ...
|
|
324
342
|
|
|
343
|
+
@typing.final
|
|
325
344
|
class HtmlFormatHelper(winrt.system.Object, metaclass=HtmlFormatHelper_Static):
|
|
326
345
|
@staticmethod
|
|
327
346
|
def _from(obj: winrt.system.Object, /) -> HtmlFormatHelper: ...
|
|
328
347
|
|
|
348
|
+
@typing.final
|
|
329
349
|
class OperationCompletedEventArgs(winrt.system.Object):
|
|
330
350
|
@staticmethod
|
|
331
351
|
def _from(obj: winrt.system.Object, /) -> OperationCompletedEventArgs: ...
|
|
@@ -334,12 +354,14 @@ class OperationCompletedEventArgs(winrt.system.Object):
|
|
|
334
354
|
@_property
|
|
335
355
|
def accepted_format_id(self) -> str: ...
|
|
336
356
|
|
|
357
|
+
@typing.final
|
|
337
358
|
class ShareCompletedEventArgs(winrt.system.Object):
|
|
338
359
|
@staticmethod
|
|
339
360
|
def _from(obj: winrt.system.Object, /) -> ShareCompletedEventArgs: ...
|
|
340
361
|
@_property
|
|
341
362
|
def share_target(self) -> typing.Optional[ShareTargetInfo]: ...
|
|
342
363
|
|
|
364
|
+
@typing.final
|
|
343
365
|
class ShareProvider(winrt.system.Object):
|
|
344
366
|
@staticmethod
|
|
345
367
|
def _from(obj: winrt.system.Object, /) -> ShareProvider: ...
|
|
@@ -355,6 +377,7 @@ class ShareProvider(winrt.system.Object):
|
|
|
355
377
|
@_property
|
|
356
378
|
def title(self) -> str: ...
|
|
357
379
|
|
|
380
|
+
@typing.final
|
|
358
381
|
class ShareProviderOperation(winrt.system.Object):
|
|
359
382
|
@staticmethod
|
|
360
383
|
def _from(obj: winrt.system.Object, /) -> ShareProviderOperation: ...
|
|
@@ -364,6 +387,7 @@ class ShareProviderOperation(winrt.system.Object):
|
|
|
364
387
|
@_property
|
|
365
388
|
def provider(self) -> typing.Optional[ShareProvider]: ...
|
|
366
389
|
|
|
390
|
+
@typing.final
|
|
367
391
|
class ShareProvidersRequestedEventArgs(winrt.system.Object):
|
|
368
392
|
@staticmethod
|
|
369
393
|
def _from(obj: winrt.system.Object, /) -> ShareProvidersRequestedEventArgs: ...
|
|
@@ -373,6 +397,7 @@ class ShareProvidersRequestedEventArgs(winrt.system.Object):
|
|
|
373
397
|
@_property
|
|
374
398
|
def providers(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[ShareProvider]]: ...
|
|
375
399
|
|
|
400
|
+
@typing.final
|
|
376
401
|
class ShareTargetInfo(winrt.system.Object):
|
|
377
402
|
@staticmethod
|
|
378
403
|
def _from(obj: winrt.system.Object, /) -> ShareTargetInfo: ...
|
|
@@ -381,6 +406,7 @@ class ShareTargetInfo(winrt.system.Object):
|
|
|
381
406
|
@_property
|
|
382
407
|
def share_provider(self) -> typing.Optional[ShareProvider]: ...
|
|
383
408
|
|
|
409
|
+
@typing.final
|
|
384
410
|
class ShareUIOptions(winrt.system.Object):
|
|
385
411
|
@staticmethod
|
|
386
412
|
def _from(obj: winrt.system.Object, /) -> ShareUIOptions: ...
|
|
@@ -394,15 +420,18 @@ class ShareUIOptions(winrt.system.Object):
|
|
|
394
420
|
@selection_rect.setter
|
|
395
421
|
def selection_rect(self, value: typing.Optional[typing.Optional[winrt.windows.foundation.Rect]]) -> None: ...
|
|
396
422
|
|
|
423
|
+
@typing.final
|
|
397
424
|
class SharedStorageAccessManager_Static(type):
|
|
398
425
|
def add_file(cls, file: typing.Optional[winrt.windows.storage.IStorageFile], /) -> str: ...
|
|
399
426
|
def redeem_token_for_file_async(cls, token: str, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.StorageFile]: ...
|
|
400
427
|
def remove_file(cls, token: str, /) -> None: ...
|
|
401
428
|
|
|
429
|
+
@typing.final
|
|
402
430
|
class SharedStorageAccessManager(winrt.system.Object, metaclass=SharedStorageAccessManager_Static):
|
|
403
431
|
@staticmethod
|
|
404
432
|
def _from(obj: winrt.system.Object, /) -> SharedStorageAccessManager: ...
|
|
405
433
|
|
|
434
|
+
@typing.final
|
|
406
435
|
class StandardDataFormats_Static(type):
|
|
407
436
|
@_property
|
|
408
437
|
def bitmap(cls) -> str: ...
|
|
@@ -423,10 +452,12 @@ class StandardDataFormats_Static(type):
|
|
|
423
452
|
@_property
|
|
424
453
|
def user_activity_json_array(cls) -> str: ...
|
|
425
454
|
|
|
455
|
+
@typing.final
|
|
426
456
|
class StandardDataFormats(winrt.system.Object, metaclass=StandardDataFormats_Static):
|
|
427
457
|
@staticmethod
|
|
428
458
|
def _from(obj: winrt.system.Object, /) -> StandardDataFormats: ...
|
|
429
459
|
|
|
460
|
+
@typing.final
|
|
430
461
|
class TargetApplicationChosenEventArgs(winrt.system.Object):
|
|
431
462
|
@staticmethod
|
|
432
463
|
def _from(obj: winrt.system.Object, /) -> TargetApplicationChosenEventArgs: ...
|
|
File without changes
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.DataTransfer
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
|
-
Project-URL:
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
9
|
Classifier: Operating System :: Microsoft :: Windows
|
|
9
10
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -11,7 +12,14 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
11
12
|
Classifier: Intended Audience :: Developers
|
|
12
13
|
Requires-Python: <3.13,>=3.9
|
|
13
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.0.1
|
|
14
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Security.EnterpriseData[all]==2.0.1; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage[all]==2.0.1; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.UI[all]==2.0.1; extra == "all"
|
|
15
23
|
|
|
16
24
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
25
|
|
|
@@ -7,6 +7,7 @@ requirements.txt
|
|
|
7
7
|
setup.py
|
|
8
8
|
winrt/_winrt_windows_applicationmodel_datatransfer.pyi
|
|
9
9
|
winrt/windows/applicationmodel/datatransfer/__init__.py
|
|
10
|
+
winrt/windows/applicationmodel/datatransfer/py.typed
|
|
10
11
|
winrt_Windows.ApplicationModel.DataTransfer.egg-info/PKG-INFO
|
|
11
12
|
winrt_Windows.ApplicationModel.DataTransfer.egg-info/SOURCES.txt
|
|
12
13
|
winrt_Windows.ApplicationModel.DataTransfer.egg-info/dependency_links.txt
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
winrt-runtime==2.0.1
|
|
2
|
+
|
|
3
|
+
[all]
|
|
4
|
+
winrt-Windows.Foundation[all]==2.0.1
|
|
5
|
+
winrt-Windows.Foundation.Collections[all]==2.0.1
|
|
6
|
+
winrt-Windows.Security.EnterpriseData[all]==2.0.1
|
|
7
|
+
winrt-Windows.Storage[all]==2.0.1
|
|
8
|
+
winrt-Windows.Storage.Streams[all]==2.0.1
|
|
9
|
+
winrt-Windows.UI[all]==2.0.1
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
|
|
2
|
-
|
|
3
|
-
winrt-Windows.Foundation[all]==2.0.0-beta.1
|
|
4
|
-
winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
|
|
5
|
-
winrt-Windows.Security.EnterpriseData[all]==2.0.0-beta.1
|
|
6
|
-
winrt-Windows.Storage[all]==2.0.0-beta.1
|
|
7
|
-
winrt-Windows.Storage.Streams[all]==2.0.0-beta.1
|
|
8
|
-
winrt-Windows.UI[all]==2.0.0-beta.1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.0-beta.1
|
|
@@ -1,17 +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",
|
|
10
|
-
sources=["py.Windows.ApplicationModel.DataTransfer.cpp"],
|
|
11
|
-
include_dirs=get_include_dirs(),
|
|
12
|
-
extra_compile_args=["/std:c++20", "/permissive-"],
|
|
13
|
-
libraries=["windowsapp"],
|
|
14
|
-
)
|
|
15
|
-
],
|
|
16
|
-
package_data={"winrt": ["*.pyi"]},
|
|
17
|
-
)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
winrt-runtime==2.0.0-beta.1
|
|
2
|
-
|
|
3
|
-
[all]
|
|
4
|
-
winrt-Windows.Foundation[all]==2.0.0-beta.1
|
|
5
|
-
winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
|
|
6
|
-
winrt-Windows.Security.EnterpriseData[all]==2.0.0-beta.1
|
|
7
|
-
winrt-Windows.Storage[all]==2.0.0-beta.1
|
|
8
|
-
winrt-Windows.Storage.Streams[all]==2.0.0-beta.1
|
|
9
|
-
winrt-Windows.UI[all]==2.0.0-beta.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|