winrt-Windows.System.RemoteDesktop.Input 2.1.0__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_system_remotedesktop_input-2.1.0 → winrt_windows_system_remotedesktop_input-2.2.0}/PKG-INFO +3 -3
- {winrt_windows_system_remotedesktop_input-2.1.0 → winrt_windows_system_remotedesktop_input-2.2.0}/py.Windows.System.RemoteDesktop.Input.cpp +52 -9
- {winrt_windows_system_remotedesktop_input-2.1.0 → winrt_windows_system_remotedesktop_input-2.2.0}/pyproject.toml +3 -2
- winrt_windows_system_remotedesktop_input-2.2.0/pywinrt-version.txt +1 -0
- {winrt_windows_system_remotedesktop_input-2.1.0 → winrt_windows_system_remotedesktop_input-2.2.0}/requirements.txt +2 -2
- {winrt_windows_system_remotedesktop_input-2.1.0 → winrt_windows_system_remotedesktop_input-2.2.0}/winrt/_winrt_windows_system_remotedesktop_input.pyi +1 -1
- {winrt_windows_system_remotedesktop_input-2.1.0 → winrt_windows_system_remotedesktop_input-2.2.0}/winrt/windows/system/remotedesktop/input/__init__.py +1 -1
- {winrt_windows_system_remotedesktop_input-2.1.0 → winrt_windows_system_remotedesktop_input-2.2.0}/winrt_Windows.System.RemoteDesktop.Input.egg-info/PKG-INFO +3 -3
- winrt_windows_system_remotedesktop_input-2.2.0/winrt_Windows.System.RemoteDesktop.Input.egg-info/requires.txt +1 -0
- winrt_windows_system_remotedesktop_input-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_system_remotedesktop_input-2.1.0/winrt_Windows.System.RemoteDesktop.Input.egg-info/requires.txt +0 -1
- {winrt_windows_system_remotedesktop_input-2.1.0 → winrt_windows_system_remotedesktop_input-2.2.0}/README.md +0 -0
- {winrt_windows_system_remotedesktop_input-2.1.0 → winrt_windows_system_remotedesktop_input-2.2.0}/setup.cfg +0 -0
- {winrt_windows_system_remotedesktop_input-2.1.0 → winrt_windows_system_remotedesktop_input-2.2.0}/setup.py +0 -0
- {winrt_windows_system_remotedesktop_input-2.1.0 → winrt_windows_system_remotedesktop_input-2.2.0}/winrt/windows/system/remotedesktop/input/py.typed +0 -0
- {winrt_windows_system_remotedesktop_input-2.1.0 → winrt_windows_system_remotedesktop_input-2.2.0}/winrt_Windows.System.RemoteDesktop.Input.egg-info/SOURCES.txt +0 -0
- {winrt_windows_system_remotedesktop_input-2.1.0 → winrt_windows_system_remotedesktop_input-2.2.0}/winrt_Windows.System.RemoteDesktop.Input.egg-info/dependency_links.txt +0 -0
- {winrt_windows_system_remotedesktop_input-2.1.0 → winrt_windows_system_remotedesktop_input-2.2.0}/winrt_Windows.System.RemoteDesktop.Input.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.System.RemoteDesktop.Input
|
|
3
|
-
Version: 2.
|
|
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,9 +10,9 @@ 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.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
|
|
17
17
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
18
18
|
|
|
@@ -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.2.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.System.RemoteDesktop.Input.h"
|
|
4
4
|
|
|
@@ -22,7 +22,7 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
22
22
|
auto param0 = py::convert_to<winrt::guid>(args, 0);
|
|
23
23
|
auto param1 = py::convert_to<winrt::Windows::System::RemoteDesktop::Input::RemoteTextConnectionDataHandler>(args, 1);
|
|
24
24
|
|
|
25
|
-
winrt::Windows::System::RemoteDesktop::Input::RemoteTextConnection instance{
|
|
25
|
+
winrt::Windows::System::RemoteDesktop::Input::RemoteTextConnection instance{param0, param1};
|
|
26
26
|
return py::wrap(instance, type);
|
|
27
27
|
}
|
|
28
28
|
catch (...)
|
|
@@ -54,7 +54,14 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
54
54
|
{
|
|
55
55
|
try
|
|
56
56
|
{
|
|
57
|
-
|
|
57
|
+
static std::optional<bool> is_overload_present{};
|
|
58
|
+
|
|
59
|
+
if (!is_overload_present.has_value())
|
|
60
|
+
{
|
|
61
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"Close", 0);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (!is_overload_present.value())
|
|
58
65
|
{
|
|
59
66
|
py::set_arg_count_version_error(0);
|
|
60
67
|
return nullptr;
|
|
@@ -84,7 +91,14 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
84
91
|
{
|
|
85
92
|
try
|
|
86
93
|
{
|
|
87
|
-
|
|
94
|
+
static std::optional<bool> is_overload_present{};
|
|
95
|
+
|
|
96
|
+
if (!is_overload_present.has_value())
|
|
97
|
+
{
|
|
98
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"RegisterThread", 1);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
if (!is_overload_present.value())
|
|
88
102
|
{
|
|
89
103
|
py::set_arg_count_version_error(1);
|
|
90
104
|
return nullptr;
|
|
@@ -116,7 +130,14 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
116
130
|
{
|
|
117
131
|
try
|
|
118
132
|
{
|
|
119
|
-
|
|
133
|
+
static std::optional<bool> is_overload_present{};
|
|
134
|
+
|
|
135
|
+
if (!is_overload_present.has_value())
|
|
136
|
+
{
|
|
137
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"ReportDataReceived", 1);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
if (!is_overload_present.value())
|
|
120
141
|
{
|
|
121
142
|
py::set_arg_count_version_error(1);
|
|
122
143
|
return nullptr;
|
|
@@ -148,7 +169,14 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
148
169
|
{
|
|
149
170
|
try
|
|
150
171
|
{
|
|
151
|
-
|
|
172
|
+
static std::optional<bool> is_overload_present{};
|
|
173
|
+
|
|
174
|
+
if (!is_overload_present.has_value())
|
|
175
|
+
{
|
|
176
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"UnregisterThread", 1);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
if (!is_overload_present.value())
|
|
152
180
|
{
|
|
153
181
|
py::set_arg_count_version_error(1);
|
|
154
182
|
return nullptr;
|
|
@@ -176,7 +204,14 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
176
204
|
{
|
|
177
205
|
try
|
|
178
206
|
{
|
|
179
|
-
|
|
207
|
+
static std::optional<bool> is_property_present{};
|
|
208
|
+
|
|
209
|
+
if (!is_property_present.has_value())
|
|
210
|
+
{
|
|
211
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"IsEnabled");
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
if (!is_property_present.value())
|
|
180
215
|
{
|
|
181
216
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
182
217
|
return nullptr;
|
|
@@ -201,7 +236,14 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
201
236
|
|
|
202
237
|
try
|
|
203
238
|
{
|
|
204
|
-
|
|
239
|
+
static std::optional<bool> is_property_present{};
|
|
240
|
+
|
|
241
|
+
if (!is_property_present.has_value())
|
|
242
|
+
{
|
|
243
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"IsEnabled");
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
if (!is_property_present.value())
|
|
205
247
|
{
|
|
206
248
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
207
249
|
return -1;
|
|
@@ -339,7 +381,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_remotedesktop_input(void) noexcept
|
|
|
339
381
|
return nullptr;
|
|
340
382
|
}
|
|
341
383
|
|
|
342
|
-
|
|
384
|
+
py::pytype_handle RemoteTextConnection_type{py::register_python_type(module.get(), &type_spec_RemoteTextConnection, object_bases.get(), nullptr)};
|
|
385
|
+
if (!RemoteTextConnection_type)
|
|
343
386
|
{
|
|
344
387
|
return nullptr;
|
|
345
388
|
}
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "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"
|
|
@@ -35,7 +35,8 @@ dependencies = { file = "requirements.txt" }
|
|
|
35
35
|
# use local winrt-sdk build dependency
|
|
36
36
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
37
37
|
# don't install winrt-sdk from PyPI
|
|
38
|
-
build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
38
|
+
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
39
|
+
before-build = "uv pip install setuptools"
|
|
39
40
|
# don't build for PyPy
|
|
40
41
|
skip = "pp*"
|
|
41
42
|
# 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.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.2.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.System.RemoteDesktop.Input
|
|
3
|
-
Version: 2.
|
|
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,9 +10,9 @@ 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.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
|
|
17
17
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
18
18
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt-runtime==2.2.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.1.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
winrt-runtime==2.1.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|