winrt-Windows.System.RemoteDesktop.Input 2.3.0__tar.gz → 3.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_system_remotedesktop_input-2.3.0 → winrt_windows_system_remotedesktop_input-3.1.0}/PKG-INFO +5 -5
- {winrt_windows_system_remotedesktop_input-2.3.0 → winrt_windows_system_remotedesktop_input-3.1.0}/py.Windows.System.RemoteDesktop.Input.cpp +59 -24
- {winrt_windows_system_remotedesktop_input-2.3.0 → winrt_windows_system_remotedesktop_input-3.1.0}/pyproject.toml +4 -4
- winrt_windows_system_remotedesktop_input-3.1.0/pywinrt-version.txt +1 -0
- {winrt_windows_system_remotedesktop_input-2.3.0 → winrt_windows_system_remotedesktop_input-3.1.0}/requirements.txt +2 -2
- {winrt_windows_system_remotedesktop_input-2.3.0 → winrt_windows_system_remotedesktop_input-3.1.0}/setup.py +1 -1
- winrt_windows_system_remotedesktop_input-3.1.0/winrt/_winrt_windows_system_remotedesktop_input.pyi +43 -0
- {winrt_windows_system_remotedesktop_input-2.3.0 → winrt_windows_system_remotedesktop_input-3.1.0}/winrt/windows/system/remotedesktop/input/__init__.py +5 -4
- {winrt_windows_system_remotedesktop_input-2.3.0 → winrt_windows_system_remotedesktop_input-3.1.0}/winrt_Windows.System.RemoteDesktop.Input.egg-info/PKG-INFO +5 -5
- winrt_windows_system_remotedesktop_input-3.1.0/winrt_Windows.System.RemoteDesktop.Input.egg-info/requires.txt +1 -0
- winrt_windows_system_remotedesktop_input-2.3.0/pywinrt-version.txt +0 -1
- winrt_windows_system_remotedesktop_input-2.3.0/winrt/_winrt_windows_system_remotedesktop_input.pyi +0 -37
- winrt_windows_system_remotedesktop_input-2.3.0/winrt_Windows.System.RemoteDesktop.Input.egg-info/requires.txt +0 -1
- {winrt_windows_system_remotedesktop_input-2.3.0 → winrt_windows_system_remotedesktop_input-3.1.0}/README.md +0 -0
- {winrt_windows_system_remotedesktop_input-2.3.0 → winrt_windows_system_remotedesktop_input-3.1.0}/setup.cfg +0 -0
- {winrt_windows_system_remotedesktop_input-2.3.0 → winrt_windows_system_remotedesktop_input-3.1.0}/winrt/windows/system/remotedesktop/input/py.typed +0 -0
- {winrt_windows_system_remotedesktop_input-2.3.0 → winrt_windows_system_remotedesktop_input-3.1.0}/winrt_Windows.System.RemoteDesktop.Input.egg-info/SOURCES.txt +0 -0
- {winrt_windows_system_remotedesktop_input-2.3.0 → winrt_windows_system_remotedesktop_input-3.1.0}/winrt_Windows.System.RemoteDesktop.Input.egg-info/dependency_links.txt +0 -0
- {winrt_windows_system_remotedesktop_input-2.3.0 → winrt_windows_system_remotedesktop_input-3.1.0}/winrt_Windows.System.RemoteDesktop.Input.egg-info/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-Windows.System.RemoteDesktop.Input
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -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:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.1.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
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.System.RemoteDesktop.Input.h"
|
|
4
4
|
|
|
@@ -8,13 +8,13 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
8
8
|
|
|
9
9
|
static PyObject* _new_RemoteTextConnection(PyTypeObject* type, PyObject* args, PyObject* kwds) noexcept
|
|
10
10
|
{
|
|
11
|
-
if (kwds
|
|
11
|
+
if (kwds)
|
|
12
12
|
{
|
|
13
13
|
py::set_invalid_kwd_args_error();
|
|
14
14
|
return nullptr;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
auto arg_count =
|
|
17
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
18
18
|
if (arg_count == 3)
|
|
19
19
|
{
|
|
20
20
|
try
|
|
@@ -65,7 +65,7 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
65
65
|
|
|
66
66
|
static PyObject* RemoteTextConnection_Close(py::wrapper::Windows::System::RemoteDesktop::Input::RemoteTextConnection* self, PyObject* args) noexcept
|
|
67
67
|
{
|
|
68
|
-
auto arg_count =
|
|
68
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
69
69
|
|
|
70
70
|
if (arg_count == 0)
|
|
71
71
|
{
|
|
@@ -84,7 +84,11 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
84
84
|
return nullptr;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
{
|
|
88
|
+
auto _gil = release_gil();
|
|
89
|
+
self->obj.Close();
|
|
90
|
+
}
|
|
91
|
+
|
|
88
92
|
Py_RETURN_NONE;
|
|
89
93
|
}
|
|
90
94
|
catch (...)
|
|
@@ -102,7 +106,7 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
102
106
|
|
|
103
107
|
static PyObject* RemoteTextConnection_RegisterThread(py::wrapper::Windows::System::RemoteDesktop::Input::RemoteTextConnection* self, PyObject* args) noexcept
|
|
104
108
|
{
|
|
105
|
-
auto arg_count =
|
|
109
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
106
110
|
|
|
107
111
|
if (arg_count == 1)
|
|
108
112
|
{
|
|
@@ -123,7 +127,11 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
123
127
|
|
|
124
128
|
auto param0 = py::convert_to<uint32_t>(args, 0);
|
|
125
129
|
|
|
126
|
-
|
|
130
|
+
{
|
|
131
|
+
auto _gil = release_gil();
|
|
132
|
+
self->obj.RegisterThread(param0);
|
|
133
|
+
}
|
|
134
|
+
|
|
127
135
|
Py_RETURN_NONE;
|
|
128
136
|
}
|
|
129
137
|
catch (...)
|
|
@@ -141,7 +149,7 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
141
149
|
|
|
142
150
|
static PyObject* RemoteTextConnection_ReportDataReceived(py::wrapper::Windows::System::RemoteDesktop::Input::RemoteTextConnection* self, PyObject* args) noexcept
|
|
143
151
|
{
|
|
144
|
-
auto arg_count =
|
|
152
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
145
153
|
|
|
146
154
|
if (arg_count == 1)
|
|
147
155
|
{
|
|
@@ -162,7 +170,11 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
162
170
|
|
|
163
171
|
auto param0 = py::convert_to<py::pybuf_view<uint8_t, false>>(args, 0);
|
|
164
172
|
|
|
165
|
-
|
|
173
|
+
{
|
|
174
|
+
auto _gil = release_gil();
|
|
175
|
+
self->obj.ReportDataReceived(param0);
|
|
176
|
+
}
|
|
177
|
+
|
|
166
178
|
Py_RETURN_NONE;
|
|
167
179
|
}
|
|
168
180
|
catch (...)
|
|
@@ -180,7 +192,7 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
180
192
|
|
|
181
193
|
static PyObject* RemoteTextConnection_ReportPredictedKeyEvent(py::wrapper::Windows::System::RemoteDesktop::Input::RemoteTextConnection* self, PyObject* args) noexcept
|
|
182
194
|
{
|
|
183
|
-
auto arg_count =
|
|
195
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
184
196
|
|
|
185
197
|
if (arg_count == 2)
|
|
186
198
|
{
|
|
@@ -202,7 +214,11 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
202
214
|
auto param0 = py::convert_to<uint16_t>(args, 0);
|
|
203
215
|
auto param1 = py::convert_to<winrt::Windows::System::RemoteDesktop::Input::RemoteKeyEventAttributes>(args, 1);
|
|
204
216
|
|
|
205
|
-
|
|
217
|
+
{
|
|
218
|
+
auto _gil = release_gil();
|
|
219
|
+
self->obj.ReportPredictedKeyEvent(param0, param1);
|
|
220
|
+
}
|
|
221
|
+
|
|
206
222
|
Py_RETURN_NONE;
|
|
207
223
|
}
|
|
208
224
|
catch (...)
|
|
@@ -220,7 +236,7 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
220
236
|
|
|
221
237
|
static PyObject* RemoteTextConnection_UnregisterThread(py::wrapper::Windows::System::RemoteDesktop::Input::RemoteTextConnection* self, PyObject* args) noexcept
|
|
222
238
|
{
|
|
223
|
-
auto arg_count =
|
|
239
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
224
240
|
|
|
225
241
|
if (arg_count == 1)
|
|
226
242
|
{
|
|
@@ -241,7 +257,11 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
241
257
|
|
|
242
258
|
auto param0 = py::convert_to<uint32_t>(args, 0);
|
|
243
259
|
|
|
244
|
-
|
|
260
|
+
{
|
|
261
|
+
auto _gil = release_gil();
|
|
262
|
+
self->obj.UnregisterThread(param0);
|
|
263
|
+
}
|
|
264
|
+
|
|
245
265
|
Py_RETURN_NONE;
|
|
246
266
|
}
|
|
247
267
|
catch (...)
|
|
@@ -274,7 +294,11 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
274
294
|
return nullptr;
|
|
275
295
|
}
|
|
276
296
|
|
|
277
|
-
return py::convert(
|
|
297
|
+
return py::convert([&]()
|
|
298
|
+
{
|
|
299
|
+
auto _gil = release_gil();
|
|
300
|
+
return self->obj.IsEnabled();
|
|
301
|
+
}());
|
|
278
302
|
}
|
|
279
303
|
catch (...)
|
|
280
304
|
{
|
|
@@ -285,7 +309,7 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
285
309
|
|
|
286
310
|
static int RemoteTextConnection_put_IsEnabled(py::wrapper::Windows::System::RemoteDesktop::Input::RemoteTextConnection* self, PyObject* arg, void* /*unused*/) noexcept
|
|
287
311
|
{
|
|
288
|
-
if (arg
|
|
312
|
+
if (!arg)
|
|
289
313
|
{
|
|
290
314
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
291
315
|
return -1;
|
|
@@ -308,7 +332,11 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
308
332
|
|
|
309
333
|
auto param0 = py::convert_to<bool>(arg);
|
|
310
334
|
|
|
311
|
-
|
|
335
|
+
{
|
|
336
|
+
auto _gil = release_gil();
|
|
337
|
+
self->obj.IsEnabled(param0);
|
|
338
|
+
}
|
|
339
|
+
|
|
312
340
|
return 0;
|
|
313
341
|
}
|
|
314
342
|
catch (...)
|
|
@@ -351,7 +379,11 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
351
379
|
{
|
|
352
380
|
try
|
|
353
381
|
{
|
|
354
|
-
|
|
382
|
+
{
|
|
383
|
+
auto _gil = py::release_gil();
|
|
384
|
+
self->obj.Close();
|
|
385
|
+
}
|
|
386
|
+
|
|
355
387
|
Py_RETURN_FALSE;
|
|
356
388
|
}
|
|
357
389
|
catch (...)
|
|
@@ -371,21 +403,18 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
371
403
|
{ "_from", reinterpret_cast<PyCFunction>(_from_RemoteTextConnection), METH_O | METH_STATIC, nullptr },
|
|
372
404
|
{ "__enter__", reinterpret_cast<PyCFunction>(_enter_RemoteTextConnection), METH_NOARGS, nullptr },
|
|
373
405
|
{ "__exit__", reinterpret_cast<PyCFunction>(_exit_RemoteTextConnection), METH_VARARGS, nullptr },
|
|
374
|
-
{ }
|
|
375
|
-
};
|
|
406
|
+
{ }};
|
|
376
407
|
|
|
377
408
|
static PyGetSetDef _getset_RemoteTextConnection[] = {
|
|
378
409
|
{ "is_enabled", reinterpret_cast<getter>(RemoteTextConnection_get_IsEnabled), reinterpret_cast<setter>(RemoteTextConnection_put_IsEnabled), nullptr, nullptr },
|
|
379
|
-
{ }
|
|
380
|
-
};
|
|
410
|
+
{ }};
|
|
381
411
|
|
|
382
412
|
static PyType_Slot _type_slots_RemoteTextConnection[] = {
|
|
383
413
|
{ Py_tp_new, reinterpret_cast<void*>(_new_RemoteTextConnection) },
|
|
384
414
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_RemoteTextConnection) },
|
|
385
415
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_RemoteTextConnection) },
|
|
386
416
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_RemoteTextConnection) },
|
|
387
|
-
{ }
|
|
388
|
-
};
|
|
417
|
+
{ }};
|
|
389
418
|
|
|
390
419
|
static PyType_Spec type_spec_RemoteTextConnection = {
|
|
391
420
|
"winrt._winrt_windows_system_remotedesktop_input.RemoteTextConnection",
|
|
@@ -426,6 +455,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_remotedesktop_input(void) noexcept
|
|
|
426
455
|
return nullptr;
|
|
427
456
|
}
|
|
428
457
|
|
|
458
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
459
|
+
if (!inspectable_meta_type)
|
|
460
|
+
{
|
|
461
|
+
return nullptr;
|
|
462
|
+
}
|
|
463
|
+
|
|
429
464
|
auto object_type = py::get_object_type();
|
|
430
465
|
if (!object_type)
|
|
431
466
|
{
|
|
@@ -439,7 +474,7 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_remotedesktop_input(void) noexcept
|
|
|
439
474
|
return nullptr;
|
|
440
475
|
}
|
|
441
476
|
|
|
442
|
-
py::pytype_handle RemoteTextConnection_type{py::register_python_type(module.get(), &type_spec_RemoteTextConnection, object_bases.get(),
|
|
477
|
+
py::pytype_handle RemoteTextConnection_type{py::register_python_type(module.get(), &type_spec_RemoteTextConnection, object_bases.get(), inspectable_meta_type)};
|
|
443
478
|
if (!RemoteTextConnection_type)
|
|
444
479
|
{
|
|
445
480
|
return nullptr;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "winrt-sdk"]
|
|
4
|
+
requires = ["setuptools>=78", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "winrt-Windows.System.RemoteDesktop.Input"
|
|
9
9
|
description = "Python projection of Windows Runtime (WinRT) APIs"
|
|
10
10
|
readme = "README.md"
|
|
11
|
-
license =
|
|
11
|
+
license = "MIT"
|
|
12
12
|
classifiers = [
|
|
13
13
|
"Operating System :: Microsoft :: Windows",
|
|
14
14
|
"Programming Language :: Python :: 3",
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies"]
|
|
19
|
-
requires-python = ">=3.9
|
|
19
|
+
requires-python = ">=3.9"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -33,7 +33,7 @@ dependencies = { file = "requirements.txt" }
|
|
|
33
33
|
|
|
34
34
|
[tool.cibuildwheel]
|
|
35
35
|
# use local winrt-sdk build dependency
|
|
36
|
-
environment = { PYTHONPATH="
|
|
36
|
+
environment = { PYTHONPATH="../../winrt-sdk/src" }
|
|
37
37
|
# don't install winrt-sdk from PyPI
|
|
38
38
|
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
39
39
|
before-build = "uv pip install setuptools"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.1.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==
|
|
3
|
+
winrt-runtime==3.1.0
|
winrt_windows_system_remotedesktop_input-3.1.0/winrt/_winrt_windows_system_remotedesktop_input.pyi
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
|
|
14
|
+
from winrt.windows.system.remotedesktop.input import RemoteKeyEventAttributes, RemoteTextConnectionOptions
|
|
15
|
+
from winrt.windows.system.remotedesktop.input import RemoteTextConnectionDataHandler
|
|
16
|
+
|
|
17
|
+
Self = typing.TypeVar('Self')
|
|
18
|
+
|
|
19
|
+
@typing.final
|
|
20
|
+
class RemoteTextConnection(winrt.system.Object, windows_foundation.IClosable):
|
|
21
|
+
def __enter__(self: Self) -> Self: ...
|
|
22
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
23
|
+
@typing.overload
|
|
24
|
+
def __new__(cls: typing.Type[Self], connection_id: _uuid.UUID, pdu_forwarder: RemoteTextConnectionDataHandler, options: RemoteTextConnectionOptions) -> Self: ...
|
|
25
|
+
@typing.overload
|
|
26
|
+
def __new__(cls: typing.Type[Self], connection_id: _uuid.UUID, pdu_forwarder: RemoteTextConnectionDataHandler) -> Self: ...
|
|
27
|
+
# System.Void Windows.System.RemoteDesktop.Input.RemoteTextConnection::Close()
|
|
28
|
+
def close(self) -> None: ...
|
|
29
|
+
# System.Void Windows.System.RemoteDesktop.Input.RemoteTextConnection::RegisterThread(System.UInt32)
|
|
30
|
+
def register_thread(self, thread_id: winrt.system.UInt32, /) -> None: ...
|
|
31
|
+
# System.Void Windows.System.RemoteDesktop.Input.RemoteTextConnection::ReportDataReceived(System.Byte[])
|
|
32
|
+
def report_data_received(self, pdu_data: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> None: ...
|
|
33
|
+
# System.Void Windows.System.RemoteDesktop.Input.RemoteTextConnection::ReportPredictedKeyEvent(System.UInt16,Windows.System.RemoteDesktop.Input.RemoteKeyEventAttributes)
|
|
34
|
+
def report_predicted_key_event(self, scan_code: winrt.system.UInt16, attributes: RemoteKeyEventAttributes, /) -> None: ...
|
|
35
|
+
# System.Void Windows.System.RemoteDesktop.Input.RemoteTextConnection::UnregisterThread(System.UInt32)
|
|
36
|
+
def unregister_thread(self, thread_id: winrt.system.UInt32, /) -> None: ...
|
|
37
|
+
# System.Boolean Windows.System.RemoteDesktop.Input.RemoteTextConnection::get_IsEnabled()
|
|
38
|
+
@_property
|
|
39
|
+
def is_enabled(self) -> bool: ...
|
|
40
|
+
# System.Void Windows.System.RemoteDesktop.Input.RemoteTextConnection::put_IsEnabled(System.Boolean)
|
|
41
|
+
@is_enabled.setter
|
|
42
|
+
def is_enabled(self, value: bool) -> None: ...
|
|
43
|
+
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
|
|
2
2
|
|
|
3
3
|
import enum
|
|
4
4
|
import typing
|
|
5
5
|
import uuid as _uuid
|
|
6
6
|
|
|
7
7
|
import winrt.system
|
|
8
|
-
from winrt import
|
|
8
|
+
from winrt._winrt_windows_system_remotedesktop_input import (
|
|
9
|
+
RemoteTextConnection,
|
|
10
|
+
)
|
|
9
11
|
|
|
10
12
|
__all__ = [
|
|
11
13
|
"RemoteKeyEventAttributes",
|
|
@@ -25,5 +27,4 @@ class RemoteTextConnectionOptions(enum.IntFlag):
|
|
|
25
27
|
NONE = 0x0
|
|
26
28
|
ENABLE_PREDICTED_KEY_REPORTING = 0x1
|
|
27
29
|
|
|
28
|
-
|
|
29
|
-
RemoteTextConnectionDataHandler = typing.Callable[[typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer]], bool]
|
|
30
|
+
RemoteTextConnectionDataHandler = typing.Callable[[winrt.system.Array[winrt.system.UInt8]], bool]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-Windows.System.RemoteDesktop.Input
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -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:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.1.0
|
|
16
16
|
|
|
17
17
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
18
18
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt-runtime==3.1.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.3.0
|
winrt_windows_system_remotedesktop_input-2.3.0/winrt/_winrt_windows_system_remotedesktop_input.pyi
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
|
-
|
|
3
|
-
import datetime
|
|
4
|
-
import sys
|
|
5
|
-
import types
|
|
6
|
-
import typing
|
|
7
|
-
import uuid as _uuid
|
|
8
|
-
from builtins import property as _property
|
|
9
|
-
|
|
10
|
-
import winrt._winrt
|
|
11
|
-
import winrt.system
|
|
12
|
-
|
|
13
|
-
from winrt.windows.system.remotedesktop.input import RemoteKeyEventAttributes, RemoteTextConnectionOptions
|
|
14
|
-
from winrt.windows.system.remotedesktop.input import RemoteTextConnectionDataHandler
|
|
15
|
-
|
|
16
|
-
Self = typing.TypeVar('Self')
|
|
17
|
-
|
|
18
|
-
@typing.final
|
|
19
|
-
class RemoteTextConnection(winrt.system.Object):
|
|
20
|
-
def __enter__(self: Self) -> Self: ...
|
|
21
|
-
def __exit__(self, *args) -> None: ...
|
|
22
|
-
@staticmethod
|
|
23
|
-
def _from(obj: winrt.system.Object, /) -> RemoteTextConnection: ...
|
|
24
|
-
@typing.overload
|
|
25
|
-
def __new__(cls: typing.Type[RemoteTextConnection], connection_id: _uuid.UUID, pdu_forwarder: typing.Optional[RemoteTextConnectionDataHandler], options: RemoteTextConnectionOptions) -> RemoteTextConnection: ...
|
|
26
|
-
@typing.overload
|
|
27
|
-
def __new__(cls: typing.Type[RemoteTextConnection], connection_id: _uuid.UUID, pdu_forwarder: typing.Optional[RemoteTextConnectionDataHandler]) -> RemoteTextConnection: ...
|
|
28
|
-
def close(self) -> None: ...
|
|
29
|
-
def register_thread(self, thread_id: winrt.system.UInt32, /) -> None: ...
|
|
30
|
-
def report_data_received(self, pdu_data: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> None: ...
|
|
31
|
-
def report_predicted_key_event(self, scan_code: winrt.system.UInt16, attributes: RemoteKeyEventAttributes, /) -> None: ...
|
|
32
|
-
def unregister_thread(self, thread_id: winrt.system.UInt32, /) -> None: ...
|
|
33
|
-
@_property
|
|
34
|
-
def is_enabled(self) -> bool: ...
|
|
35
|
-
@is_enabled.setter
|
|
36
|
-
def is_enabled(self, value: bool) -> None: ...
|
|
37
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
winrt-runtime==2.3.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|