winrt-Windows.System.RemoteDesktop.Input 2.2.0__cp313-cp313-win32.whl → 3.0.0__cp313-cp313-win32.whl

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.
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -9,24 +9,35 @@ from builtins import property as _property
9
9
 
10
10
  import winrt._winrt
11
11
  import winrt.system
12
+ import winrt.windows.foundation as windows_foundation
12
13
 
14
+ from winrt.windows.system.remotedesktop.input import RemoteKeyEventAttributes, RemoteTextConnectionOptions
13
15
  from winrt.windows.system.remotedesktop.input import RemoteTextConnectionDataHandler
14
16
 
15
17
  Self = typing.TypeVar('Self')
16
18
 
17
19
  @typing.final
18
- class RemoteTextConnection(winrt.system.Object):
20
+ class RemoteTextConnection(winrt.system.Object, windows_foundation.IClosable):
19
21
  def __enter__(self: Self) -> Self: ...
20
- def __exit__(self, *args) -> None: ...
21
- @staticmethod
22
- def _from(obj: winrt.system.Object, /) -> RemoteTextConnection: ...
23
- def __new__(cls: typing.Type[RemoteTextConnection], connection_id: _uuid.UUID, pdu_forwarder: typing.Optional[RemoteTextConnectionDataHandler]) -> RemoteTextConnection: ...
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()
24
28
  def close(self) -> None: ...
29
+ # System.Void Windows.System.RemoteDesktop.Input.RemoteTextConnection::RegisterThread(System.UInt32)
25
30
  def register_thread(self, thread_id: winrt.system.UInt32, /) -> None: ...
26
- def report_data_received(self, pdu_data: winrt.system.Array[winrt.system.UInt8], /) -> 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)
27
36
  def unregister_thread(self, thread_id: winrt.system.UInt32, /) -> None: ...
37
+ # System.Boolean Windows.System.RemoteDesktop.Input.RemoteTextConnection::get_IsEnabled()
28
38
  @_property
29
39
  def is_enabled(self) -> bool: ...
40
+ # System.Void Windows.System.RemoteDesktop.Input.RemoteTextConnection::put_IsEnabled(System.Boolean)
30
41
  @is_enabled.setter
31
42
  def is_enabled(self, value: bool) -> None: ...
32
43
 
@@ -1,15 +1,30 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
2
2
 
3
+ import enum
3
4
  import typing
4
5
  import uuid as _uuid
5
6
 
6
7
  import winrt.system
7
- from winrt import _winrt_windows_system_remotedesktop_input
8
+ from winrt._winrt_windows_system_remotedesktop_input import (
9
+ RemoteTextConnection,
10
+ )
8
11
 
9
12
  __all__ = [
13
+ "RemoteKeyEventAttributes",
14
+ "RemoteTextConnectionOptions",
10
15
  "RemoteTextConnection",
11
16
  "RemoteTextConnectionDataHandler",
12
17
  ]
13
18
 
14
- RemoteTextConnection = _winrt_windows_system_remotedesktop_input.RemoteTextConnection
19
+ class RemoteKeyEventAttributes(enum.IntFlag):
20
+ NONE = 0x0
21
+ KEY_UP = 0x1
22
+ REPEAT = 0x2
23
+ EXTENDED = 0x4
24
+ EXTENDED1 = 0x8
25
+
26
+ class RemoteTextConnectionOptions(enum.IntFlag):
27
+ NONE = 0x0
28
+ ENABLE_PREDICTED_KEY_REPORTING = 0x1
29
+
15
30
  RemoteTextConnectionDataHandler = typing.Callable[[winrt.system.Array[winrt.system.UInt8]], bool]
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: winrt-Windows.System.RemoteDesktop.Input
3
- Version: 2.2.0
3
+ Version: 3.0.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.14,>=3.9
13
+ Requires-Python: >=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime ==2.2.0
15
+ Requires-Dist: winrt-runtime==3.0.0
16
16
 
17
17
  <!-- warning: Please don't edit this file. It was automatically generated. -->
18
18
 
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_system_remotedesktop_input.cp313-win32.pyd,sha256=Iwg36IHp_fuTV0ZoPTJwA4cXtgdlFnjSW3z0aOHOSsw,56832
2
+ winrt/_winrt_windows_system_remotedesktop_input.pyi,sha256=cLBGXcPgJFSQUZRKxydObzWfMQJou8VZeSbaMkmfjLo,2541
3
+ winrt/windows/system/remotedesktop/input/__init__.py,sha256=jDKp87zlihBFKwRGUa7MTgx9kvEaFxNUu2wJYkX7dXA,728
4
+ winrt/windows/system/remotedesktop/input/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_system_remotedesktop_input-3.0.0.dist-info/METADATA,sha256=_nW5a1PXCFzE31dPE6QfaO_QWFmUkhd9JhOAhxoCh_c,988
6
+ winrt_windows_system_remotedesktop_input-3.0.0.dist-info/WHEEL,sha256=8Gv4WKH_0f55T1l30Tvu6kA02txzFBtGFjLipzysfps,97
7
+ winrt_windows_system_remotedesktop_input-3.0.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_system_remotedesktop_input-3.0.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (73.0.0)
2
+ Generator: setuptools (76.0.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp313-cp313-win32
5
5
 
@@ -1,8 +0,0 @@
1
- winrt/_winrt_windows_system_remotedesktop_input.cp313-win32.pyd,sha256=j3RzGWso7M1gW5xCV5KtWEBr5xGstgmQzBETRboJ-q8,41984
2
- winrt/_winrt_windows_system_remotedesktop_input.pyi,sha256=n6uuCeBNqB2d0mDuK42xiy4n1P9NP8kO4XRg8SitDIg,1194
3
- winrt/windows/system/remotedesktop/input/__init__.py,sha256=E1hDPP5PCZmQlVMBZgyZyPrWVnI5-dHxPytc2Cbth7o,464
4
- winrt/windows/system/remotedesktop/input/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- winrt_Windows.System.RemoteDesktop.Input-2.2.0.dist-info/METADATA,sha256=56bJkEWPtACIIimsk9DJHY7RcZ4Spa02-bXFTgdstXA,995
6
- winrt_Windows.System.RemoteDesktop.Input-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
7
- winrt_Windows.System.RemoteDesktop.Input-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
- winrt_Windows.System.RemoteDesktop.Input-2.2.0.dist-info/RECORD,,