winrt-Windows.System.Preview 3.2.1__cp314-cp314-win_amd64.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.
@@ -0,0 +1,63 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
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.devices.sensors as windows_devices_sensors
13
+ import winrt.windows.foundation as windows_foundation
14
+
15
+ from winrt.windows.system.preview import HingeState
16
+
17
+ Self = typing.TypeVar('Self')
18
+
19
+ @typing.final
20
+ class TwoPanelHingedDevicePosturePreview_Static(winrt._winrt.IInspectable_Static):
21
+ # Windows.Foundation.IAsyncOperation`1<Windows.System.Preview.TwoPanelHingedDevicePosturePreview> Windows.System.Preview.TwoPanelHingedDevicePosturePreview::GetDefaultAsync()
22
+ # @deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.")
23
+ def get_default_async(cls) -> windows_foundation.IAsyncOperation[TwoPanelHingedDevicePosturePreview]: ...
24
+
25
+ @typing.final
26
+ class TwoPanelHingedDevicePosturePreview(winrt.system.Object, metaclass=TwoPanelHingedDevicePosturePreview_Static):
27
+ # Windows.Foundation.IAsyncOperation`1<Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading> Windows.System.Preview.TwoPanelHingedDevicePosturePreview::GetCurrentPostureAsync()
28
+ # @deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.")
29
+ def get_current_posture_async(self) -> windows_foundation.IAsyncOperation[TwoPanelHingedDevicePosturePreviewReading]: ...
30
+ # Windows.Foundation.EventRegistrationToken Windows.System.Preview.TwoPanelHingedDevicePosturePreview::add_PostureChanged(Windows.Foundation.TypedEventHandler`2<Windows.System.Preview.TwoPanelHingedDevicePosturePreview,Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs>)
31
+ # @deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.")
32
+ def add_posture_changed(self, handler: windows_foundation.TypedEventHandler[TwoPanelHingedDevicePosturePreview, TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
33
+ # System.Void Windows.System.Preview.TwoPanelHingedDevicePosturePreview::remove_PostureChanged(Windows.Foundation.EventRegistrationToken)
34
+ # @deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.")
35
+ def remove_posture_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
36
+
37
+ @typing.final
38
+ class TwoPanelHingedDevicePosturePreviewReading(winrt.system.Object):
39
+ # Windows.System.Preview.HingeState Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading::get_HingeState()
40
+ @_property
41
+ def hinge_state(self) -> HingeState: ...
42
+ # System.String Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading::get_Panel1Id()
43
+ @_property
44
+ def panel1_id(self) -> str: ...
45
+ # Windows.Devices.Sensors.SimpleOrientation Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading::get_Panel1Orientation()
46
+ @_property
47
+ def panel1_orientation(self) -> windows_devices_sensors.SimpleOrientation: ...
48
+ # System.String Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading::get_Panel2Id()
49
+ @_property
50
+ def panel2_id(self) -> str: ...
51
+ # Windows.Devices.Sensors.SimpleOrientation Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading::get_Panel2Orientation()
52
+ @_property
53
+ def panel2_orientation(self) -> windows_devices_sensors.SimpleOrientation: ...
54
+ # Windows.Foundation.DateTime Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading::get_Timestamp()
55
+ @_property
56
+ def timestamp(self) -> datetime.datetime: ...
57
+
58
+ @typing.final
59
+ class TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs(winrt.system.Object):
60
+ # Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs::get_Reading()
61
+ @_property
62
+ def reading(self) -> TwoPanelHingedDevicePosturePreviewReading: ...
63
+
@@ -0,0 +1,26 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt._winrt_windows_system_preview import (
7
+ TwoPanelHingedDevicePosturePreview,
8
+ TwoPanelHingedDevicePosturePreviewReading,
9
+ TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs,
10
+ )
11
+
12
+ __all__ = [
13
+ "HingeState",
14
+ "TwoPanelHingedDevicePosturePreview",
15
+ "TwoPanelHingedDevicePosturePreviewReading",
16
+ "TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs",
17
+ ]
18
+
19
+ class HingeState(enum.IntEnum):
20
+ UNKNOWN = 0
21
+ CLOSED = 1
22
+ CONCAVE = 2
23
+ FLAT = 3
24
+ CONVEX = 4
25
+ FULL = 5
26
+
File without changes
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.System.Preview
3
+ Version: 3.2.1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License-Expression: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: >=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime~=3.2.1.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Devices.Sensors[all]~=3.2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
19
+
20
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
21
+
22
+ # winrt-Windows.System.Preview
23
+
24
+ Windows Runtime (WinRT) APIs for for the `Windows.System.Preview` namespace.
25
+
26
+ This package provides the `winrt.windows.system.preview` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_system_preview.cp314-win_amd64.pyd,sha256=RibZ98yZse003a7ky0TnwBjElP1AGSoQFQ2SYIMYlJQ,87040
2
+ winrt/_winrt_windows_system_preview.pyi,sha256=n-b9VcSsZArp070dXwcNpWT-5r7PlfSvqX7dLIFjXNs,4216
3
+ winrt/windows/system/preview/__init__.py,sha256=xIkM0ACfq9r42_vPEjv60RTaKsQZF2P5ZQJD3szngtA,627
4
+ winrt/windows/system/preview/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_system_preview-3.2.1.dist-info/METADATA,sha256=9Pmpd7OMREPqLIcHwtIBemcThUsBQGJ1Z-uGllgKCqk,1121
6
+ winrt_windows_system_preview-3.2.1.dist-info/WHEEL,sha256=7k6Wcy588iJYe5lf5K095NLg-uoBTnE-T8eHJ92G4_4,101
7
+ winrt_windows_system_preview-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_system_preview-3.2.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-win_amd64
5
+