winrt-Windows.System.Preview 3.2.1__tar.gz → 4!10.0.28000.2705__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.
Files changed (24) hide show
  1. winrt_windows_system_preview-4!10.0.28000.2705/.gitignore +5 -0
  2. winrt_windows_system_preview-4!10.0.28000.2705/LICENSE +22 -0
  3. winrt_windows_system_preview-4!10.0.28000.2705/PKG-INFO +45 -0
  4. winrt_windows_system_preview-4!10.0.28000.2705/README.md +17 -0
  5. winrt_windows_system_preview-4!10.0.28000.2705/pyproject.toml +57 -0
  6. winrt_windows_system_preview-4!10.0.28000.2705/winrt/windows/system/preview/__init__.py +14 -0
  7. winrt_windows_system_preview-3.2.1/winrt/_winrt_windows_system_preview.pyi → winrt_windows_system_preview-4!10.0.28000.2705/winrt/windows/system/preview/__init__.pyi +39 -13
  8. winrt_windows_system_preview-4!10.0.28000.2705/winrt/windows/system/preview/_table.pywinrt.txt +197 -0
  9. winrt_windows_system_preview-3.2.1/PKG-INFO +0 -26
  10. winrt_windows_system_preview-3.2.1/README.md +0 -7
  11. winrt_windows_system_preview-3.2.1/all-requirements.txt +0 -4
  12. winrt_windows_system_preview-3.2.1/py.Windows.System.Preview.cpp +0 -666
  13. winrt_windows_system_preview-3.2.1/pyproject.toml +0 -47
  14. winrt_windows_system_preview-3.2.1/pywinrt-version.txt +0 -1
  15. winrt_windows_system_preview-3.2.1/requirements.txt +0 -3
  16. winrt_windows_system_preview-3.2.1/setup.cfg +0 -4
  17. winrt_windows_system_preview-3.2.1/setup.py +0 -33
  18. winrt_windows_system_preview-3.2.1/winrt/windows/system/preview/__init__.py +0 -26
  19. winrt_windows_system_preview-3.2.1/winrt_Windows.System.Preview.egg-info/PKG-INFO +0 -26
  20. winrt_windows_system_preview-3.2.1/winrt_Windows.System.Preview.egg-info/SOURCES.txt +0 -15
  21. winrt_windows_system_preview-3.2.1/winrt_Windows.System.Preview.egg-info/dependency_links.txt +0 -1
  22. winrt_windows_system_preview-3.2.1/winrt_Windows.System.Preview.egg-info/requires.txt +0 -5
  23. winrt_windows_system_preview-3.2.1/winrt_Windows.System.Preview.egg-info/top_level.txt +0 -1
  24. {winrt_windows_system_preview-3.2.1 → winrt_windows_system_preview-4!10.0.28000.2705}/winrt/windows/system/preview/py.typed +0 -0
@@ -0,0 +1,5 @@
1
+ *.egg-info
2
+ *.tar.gz
3
+ *.whl
4
+ build/
5
+ dist/
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE
@@ -0,0 +1,45 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.System.Preview
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.System.Preview namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
24
+ Provides-Extra: all
25
+ Requires-Dist: winrt-windows-devices-sensors[all]>=4!10.0.28000.2705; extra == 'all'
26
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Description-Content-Type: text/markdown
28
+
29
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
30
+
31
+ # winrt-Windows.System.Preview
32
+
33
+ Windows Runtime (WinRT) APIs for the `Windows.System.Preview` namespace.
34
+
35
+ This package provides the `winrt.windows.system.preview` module.
36
+
37
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
38
+ `Microsoft.Windows.SDK.CPP` NuGet package.
39
+
40
+ ```
41
+ pip install winrt-Windows.System.Preview
42
+ ```
43
+
44
+ Other WinRT namespaces are packages of their own, so install the package of
45
+ each namespace your code imports from.
@@ -0,0 +1,17 @@
1
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
2
+
3
+ # winrt-Windows.System.Preview
4
+
5
+ Windows Runtime (WinRT) APIs for the `Windows.System.Preview` namespace.
6
+
7
+ This package provides the `winrt.windows.system.preview` module.
8
+
9
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
10
+ `Microsoft.Windows.SDK.CPP` NuGet package.
11
+
12
+ ```
13
+ pip install winrt-Windows.System.Preview
14
+ ```
15
+
16
+ Other WinRT namespaces are packages of their own, so install the package of
17
+ each namespace your code imports from.
@@ -0,0 +1,57 @@
1
+ # WARNING: Please don't edit this file. It was automatically generated.
2
+
3
+ [build-system]
4
+ requires = ["hatchling", "winrt-table-compiler>=4.0.0,<5"]
5
+ build-backend = "hatchling.build"
6
+
7
+ [project]
8
+ name = "winrt-Windows.System.Preview"
9
+ version = "4!10.0.28000.2705"
10
+ description = "PyWinRT projection of the Windows.System.Preview namespace"
11
+ readme = "README.md"
12
+ license = "MIT"
13
+ license-files = ["LICENSE"]
14
+ classifiers = [
15
+ "Operating System :: Microsoft :: Windows",
16
+ "Programming Language :: Python :: 3",
17
+ "Programming Language :: Python :: 3.11",
18
+ "Programming Language :: Python :: 3.12",
19
+ "Programming Language :: Python :: 3.13",
20
+ "Programming Language :: Python :: 3.14",
21
+ "Programming Language :: Python :: 3.15",
22
+ "Programming Language :: Python :: Implementation :: CPython",
23
+ "Intended Audience :: Developers",
24
+ "Programming Language :: Python :: Free Threading :: 2 - Beta",
25
+ "Typing :: Typed",
26
+ ]
27
+ requires-python = ">=3.11"
28
+ dependencies = [
29
+ "winrt-runtime>=4.0.0,<5",
30
+ "winrt-Windows.Foundation>=4!10.0.28000.2705",
31
+ ]
32
+
33
+ [project.optional-dependencies]
34
+ all = [
35
+ "winrt-Windows.Devices.Sensors[all]>=4!10.0.28000.2705",
36
+ "winrt-Windows.Foundation[all]>=4!10.0.28000.2705",
37
+ ]
38
+
39
+ [project.urls]
40
+ Documentation = "https://pywinrt.readthedocs.io"
41
+ Repository = "https://github.com/pywinrt/pywinrt"
42
+ Changelog = "https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md"
43
+
44
+ [tool.hatch.build.targets.sdist]
45
+ # The text form of the table is what the source distribution carries, and the
46
+ # compiled form is build output wherever it turns up. Hatchling reads no
47
+ # .gitignore above the package, so it has to be told about the latter.
48
+ only-include = ["winrt", "LICENSE", "README.md"]
49
+ exclude = ["**/_table.pywinrt"]
50
+
51
+ [tool.hatch.build.targets.wheel]
52
+ packages = ["winrt"]
53
+ exclude = ["**/_table.pywinrt.txt"]
54
+
55
+ # winrt.table.build_hooks in winrt-table-compiler, which compiles each table
56
+ # the package carries and puts the result beside the __init__.py that loads it.
57
+ [tool.hatch.build.targets.wheel.hooks.winrt-table-compiler]
@@ -0,0 +1,14 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import winrt.runtime._internals
4
+ import winrt.system
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
+
8
+ __all__ = [
9
+ "HingeState",
10
+ "TwoPanelHingedDevicePosturePreview",
11
+ "TwoPanelHingedDevicePosturePreviewReading",
12
+ "TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs",
13
+ ]
14
+
@@ -1,63 +1,89 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
2
 
3
3
  import datetime
4
- import sys
5
- import types
4
+ import enum
6
5
  import typing
7
- import uuid as _uuid
8
6
  from builtins import property as _property
7
+ from typing_extensions import deprecated
9
8
 
10
- import winrt._winrt
11
9
  import winrt.system
12
10
  import winrt.windows.devices.sensors as windows_devices_sensors
13
11
  import winrt.windows.foundation as windows_foundation
14
12
 
15
- from winrt.windows.system.preview import HingeState
13
+ __all__ = [
14
+ "HingeState",
15
+ "TwoPanelHingedDevicePosturePreview",
16
+ "TwoPanelHingedDevicePosturePreviewReading",
17
+ "TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs",
18
+ ]
16
19
 
17
- Self = typing.TypeVar('Self')
20
+ @deprecated("HingeState is deprecated and might not work on all platforms. For more info, see MSDN.")
21
+ class HingeState(enum.IntEnum):
22
+ UNKNOWN = 0
23
+ CLOSED = 1
24
+ CONCAVE = 2
25
+ FLAT = 3
26
+ CONVEX = 4
27
+ FULL = 5
18
28
 
19
29
  @typing.final
20
- class TwoPanelHingedDevicePosturePreview_Static(winrt._winrt.IInspectable_Static):
30
+ class TwoPanelHingedDevicePosturePreview_Static(winrt.system.Object_Static):
21
31
  # 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.")
32
+ @deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.")
23
33
  def get_default_async(cls) -> windows_foundation.IAsyncOperation[TwoPanelHingedDevicePosturePreview]: ...
24
34
 
25
35
  @typing.final
36
+ @deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.")
26
37
  class TwoPanelHingedDevicePosturePreview(winrt.system.Object, metaclass=TwoPanelHingedDevicePosturePreview_Static):
38
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
39
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
27
40
  # 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.")
41
+ @deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.")
29
42
  def get_current_posture_async(self) -> windows_foundation.IAsyncOperation[TwoPanelHingedDevicePosturePreviewReading]: ...
30
43
  # 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.")
44
+ @deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.")
32
45
  def add_posture_changed(self, handler: windows_foundation.TypedEventHandler[TwoPanelHingedDevicePosturePreview, TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
33
46
  # 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: ...
47
+ @deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.")
48
+ def remove_posture_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
36
49
 
37
50
  @typing.final
51
+ @deprecated("TwoPanelHingedDevicePosturePreviewReading is deprecated and might not work on all platforms. For more info, see MSDN.")
38
52
  class TwoPanelHingedDevicePosturePreviewReading(winrt.system.Object):
53
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
54
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
39
55
  # Windows.System.Preview.HingeState Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading::get_HingeState()
40
56
  @_property
57
+ @deprecated("TwoPanelHingedDevicePosturePreviewReading is deprecated and might not work on all platforms. For more info, see MSDN.")
41
58
  def hinge_state(self) -> HingeState: ...
42
59
  # System.String Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading::get_Panel1Id()
43
60
  @_property
61
+ @deprecated("TwoPanelHingedDevicePosturePreviewReading is deprecated and might not work on all platforms. For more info, see MSDN.")
44
62
  def panel1_id(self) -> str: ...
45
63
  # Windows.Devices.Sensors.SimpleOrientation Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading::get_Panel1Orientation()
46
64
  @_property
65
+ @deprecated("TwoPanelHingedDevicePosturePreviewReading is deprecated and might not work on all platforms. For more info, see MSDN.")
47
66
  def panel1_orientation(self) -> windows_devices_sensors.SimpleOrientation: ...
48
67
  # System.String Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading::get_Panel2Id()
49
68
  @_property
69
+ @deprecated("TwoPanelHingedDevicePosturePreviewReading is deprecated and might not work on all platforms. For more info, see MSDN.")
50
70
  def panel2_id(self) -> str: ...
51
71
  # Windows.Devices.Sensors.SimpleOrientation Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading::get_Panel2Orientation()
52
72
  @_property
73
+ @deprecated("TwoPanelHingedDevicePosturePreviewReading is deprecated and might not work on all platforms. For more info, see MSDN.")
53
74
  def panel2_orientation(self) -> windows_devices_sensors.SimpleOrientation: ...
54
75
  # Windows.Foundation.DateTime Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading::get_Timestamp()
55
76
  @_property
77
+ @deprecated("TwoPanelHingedDevicePosturePreviewReading is deprecated and might not work on all platforms. For more info, see MSDN.")
56
78
  def timestamp(self) -> datetime.datetime: ...
57
79
 
58
80
  @typing.final
81
+ @deprecated("TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.")
59
82
  class TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs(winrt.system.Object):
83
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
84
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
60
85
  # Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs::get_Reading()
61
86
  @_property
87
+ @deprecated("TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.")
62
88
  def reading(self) -> TwoPanelHingedDevicePosturePreviewReading: ...
63
89
 
@@ -0,0 +1,197 @@
1
+ format 4.0
2
+ census 2e30db26-66c8-4551-85b9-a537376d8f99 1
3
+ namespace Windows.System.Preview
4
+
5
+ delegate Windows.Foundation.AsyncOperationCompletedHandler<Windows.System.Preview.TwoPanelHingedDevicePosturePreview> concrete
6
+ py winrt.windows.foundation.AsyncOperationCompletedHandler[TwoPanelHingedDevicePosturePreview]
7
+ guid f2f2c54e-df52-5a7f-8610-e579fd8593d8
8
+ signature pinterface({fcdcf02c-e5d8-4478-915a-4d90b74b83a5};rc(Windows.System.Preview.TwoPanelHingedDevicePosturePreview;{72245c31-4b39-42a6-8e73-7235ade16853}))
9
+ base Windows.Foundation.AsyncOperationCompletedHandler
10
+ argument Windows.System.Preview.TwoPanelHingedDevicePosturePreview
11
+ method -
12
+ method Invoke slot=3 inputs=2 outputs=0 shape=51 reverse=4
13
+ in parameterized type=Windows.Foundation.IAsyncOperation<Windows.System.Preview.TwoPanelHingedDevicePosturePreview> name=asyncInfo
14
+ in enum32 type=Windows.Foundation.AsyncStatus name=asyncStatus
15
+
16
+ delegate Windows.Foundation.AsyncOperationCompletedHandler<Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading> concrete
17
+ py winrt.windows.foundation.AsyncOperationCompletedHandler[TwoPanelHingedDevicePosturePreviewReading]
18
+ guid 4b1218ad-d399-5762-8202-c5d0d4b6eb54
19
+ signature pinterface({fcdcf02c-e5d8-4478-915a-4d90b74b83a5};rc(Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading;{a0251452-4ad6-4b38-8426-c59a15493a7d}))
20
+ base Windows.Foundation.AsyncOperationCompletedHandler
21
+ argument Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading
22
+ method -
23
+ method Invoke slot=3 inputs=2 outputs=0 shape=51 reverse=4
24
+ in parameterized type=Windows.Foundation.IAsyncOperation<Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading> name=asyncInfo
25
+ in enum32 type=Windows.Foundation.AsyncStatus name=asyncStatus
26
+
27
+ enum Windows.System.Preview.HingeState python_type
28
+ py HingeState
29
+ signature enum(Windows.System.Preview.HingeState;i4)
30
+ constant UNKNOWN 0
31
+ constant CLOSED 1
32
+ constant CONCAVE 2
33
+ constant FLAT 3
34
+ constant CONVEX 4
35
+ constant FULL 5
36
+
37
+ interface Windows.Foundation.IAsyncOperation<Windows.System.Preview.TwoPanelHingedDevicePosturePreview> concrete awaitable
38
+ py winrt.windows.foundation._IAsyncOperation[TwoPanelHingedDevicePosturePreview]
39
+ guid b9620919-e111-520f-8097-8e9b275391b5
40
+ signature pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};rc(Windows.System.Preview.TwoPanelHingedDevicePosturePreview;{72245c31-4b39-42a6-8e73-7235ade16853}))
41
+ base Windows.Foundation.IAsyncOperation
42
+ requires Windows.Foundation.IAsyncInfo
43
+ argument Windows.System.Preview.TwoPanelHingedDevicePosturePreview
44
+ property completed
45
+ get get_Completed slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncOperation<Windows.System.Preview.TwoPanelHingedDevicePosturePreview> shape=4 reverse=43 role=completed
46
+ out delegate type=Windows.Foundation.AsyncOperationCompletedHandler<Windows.System.Preview.TwoPanelHingedDevicePosturePreview> return
47
+ put put_Completed slot=6 inputs=1 outputs=0 declaring=Windows.Foundation.IAsyncOperation<Windows.System.Preview.TwoPanelHingedDevicePosturePreview> shape=4 reverse=22
48
+ in delegate type=Windows.Foundation.AsyncOperationCompletedHandler<Windows.System.Preview.TwoPanelHingedDevicePosturePreview> name=handler
49
+ property error_code
50
+ get get_ErrorCode slot=8 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncInfo shape=4 reverse=62
51
+ out hresult type=Windows.Foundation.HResult return
52
+ property id
53
+ get get_Id slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncInfo shape=4 reverse=22
54
+ out uint32 return
55
+ property status
56
+ get get_Status slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncInfo shape=4 reverse=43 role=status
57
+ out enum32 type=Windows.Foundation.AsyncStatus return
58
+ method cancel
59
+ method Cancel slot=9 inputs=0 outputs=0 declaring=Windows.Foundation.IAsyncInfo shape=0 reverse=93
60
+ method close
61
+ method Close slot=10 inputs=0 outputs=0 declaring=Windows.Foundation.IAsyncInfo shape=0 reverse=117
62
+ method get_results
63
+ method GetResults slot=8 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncOperation<Windows.System.Preview.TwoPanelHingedDevicePosturePreview> shape=4 reverse=62 role=get_results
64
+ out class type=Windows.System.Preview.TwoPanelHingedDevicePosturePreview return
65
+
66
+ interface Windows.Foundation.IAsyncOperation<Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading> concrete awaitable
67
+ py winrt.windows.foundation._IAsyncOperation[TwoPanelHingedDevicePosturePreviewReading]
68
+ guid 2286a430-a059-5998-810c-25ba16017c9e
69
+ signature pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};rc(Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading;{a0251452-4ad6-4b38-8426-c59a15493a7d}))
70
+ base Windows.Foundation.IAsyncOperation
71
+ requires Windows.Foundation.IAsyncInfo
72
+ argument Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading
73
+ property completed
74
+ get get_Completed slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncOperation<Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading> shape=4 reverse=43 role=completed
75
+ out delegate type=Windows.Foundation.AsyncOperationCompletedHandler<Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading> return
76
+ put put_Completed slot=6 inputs=1 outputs=0 declaring=Windows.Foundation.IAsyncOperation<Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading> shape=4 reverse=22
77
+ in delegate type=Windows.Foundation.AsyncOperationCompletedHandler<Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading> name=handler
78
+ property error_code
79
+ get get_ErrorCode slot=8 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncInfo shape=4 reverse=62
80
+ out hresult type=Windows.Foundation.HResult return
81
+ property id
82
+ get get_Id slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncInfo shape=4 reverse=22
83
+ out uint32 return
84
+ property status
85
+ get get_Status slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncInfo shape=4 reverse=43 role=status
86
+ out enum32 type=Windows.Foundation.AsyncStatus return
87
+ method cancel
88
+ method Cancel slot=9 inputs=0 outputs=0 declaring=Windows.Foundation.IAsyncInfo shape=0 reverse=93
89
+ method close
90
+ method Close slot=10 inputs=0 outputs=0 declaring=Windows.Foundation.IAsyncInfo shape=0 reverse=117
91
+ method get_results
92
+ method GetResults slot=8 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncOperation<Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading> shape=4 reverse=62 role=get_results
93
+ out class type=Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading return
94
+
95
+ interface Windows.System.Preview.ITwoPanelHingedDevicePosturePreview
96
+ guid 72245c31-4b39-42a6-8e73-7235ade16853
97
+
98
+ interface Windows.System.Preview.ITwoPanelHingedDevicePosturePreviewReading
99
+ guid a0251452-4ad6-4b38-8426-c59a15493a7d
100
+
101
+ interface Windows.System.Preview.ITwoPanelHingedDevicePosturePreviewReadingChangedEventArgs
102
+ guid 2d2d1bc6-02ce-474a-a556-a75b1cf93a03
103
+
104
+ interface Windows.System.Preview.ITwoPanelHingedDevicePosturePreviewStatics
105
+ guid 0c4733d2-57e0-4180-bd5e-f31a2138423e
106
+
107
+ class Windows.System.Preview.TwoPanelHingedDevicePosturePreview python_type
108
+ py TwoPanelHingedDevicePosturePreview
109
+ signature rc(Windows.System.Preview.TwoPanelHingedDevicePosturePreview;{72245c31-4b39-42a6-8e73-7235ade16853})
110
+ default Windows.System.Preview.ITwoPanelHingedDevicePosturePreview
111
+ requires Windows.System.Preview.ITwoPanelHingedDevicePosturePreview
112
+ factory Windows.System.Preview.ITwoPanelHingedDevicePosturePreviewStatics
113
+ event posture_changed
114
+ add add_PostureChanged slot=7 inputs=1 outputs=1 declaring=Windows.System.Preview.ITwoPanelHingedDevicePosturePreview shape=51 deprecated
115
+ in delegate type=Windows.Foundation.TypedEventHandler<Windows.System.Preview.TwoPanelHingedDevicePosturePreview,Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs> name=handler
116
+ out event_token type=Windows.Foundation.EventRegistrationToken return
117
+ remove remove_PostureChanged slot=8 inputs=1 outputs=0 declaring=Windows.System.Preview.ITwoPanelHingedDevicePosturePreview shape=26 deprecated
118
+ in event_token type=Windows.Foundation.EventRegistrationToken name=token
119
+ method get_current_posture_async
120
+ method GetCurrentPostureAsync slot=6 inputs=0 outputs=1 declaring=Windows.System.Preview.ITwoPanelHingedDevicePosturePreview shape=4 deprecated
121
+ out parameterized type=Windows.Foundation.IAsyncOperation<Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading> return
122
+ method get_default_async static
123
+ method GetDefaultAsync slot=6 inputs=0 outputs=1 declaring=Windows.System.Preview.ITwoPanelHingedDevicePosturePreviewStatics shape=4 static deprecated
124
+ out parameterized type=Windows.Foundation.IAsyncOperation<Windows.System.Preview.TwoPanelHingedDevicePosturePreview> return
125
+
126
+ class Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading python_type
127
+ py TwoPanelHingedDevicePosturePreviewReading
128
+ signature rc(Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading;{a0251452-4ad6-4b38-8426-c59a15493a7d})
129
+ default Windows.System.Preview.ITwoPanelHingedDevicePosturePreviewReading
130
+ requires Windows.System.Preview.ITwoPanelHingedDevicePosturePreviewReading
131
+ property hinge_state
132
+ get get_HingeState slot=7 inputs=0 outputs=1 declaring=Windows.System.Preview.ITwoPanelHingedDevicePosturePreviewReading shape=4 deprecated
133
+ out enum32 type=Windows.System.Preview.HingeState return
134
+ property panel1_id
135
+ get get_Panel1Id slot=9 inputs=0 outputs=1 declaring=Windows.System.Preview.ITwoPanelHingedDevicePosturePreviewReading shape=4 deprecated
136
+ out string return
137
+ property panel1_orientation
138
+ get get_Panel1Orientation slot=8 inputs=0 outputs=1 declaring=Windows.System.Preview.ITwoPanelHingedDevicePosturePreviewReading shape=4 deprecated
139
+ out enum32 type=Windows.Devices.Sensors.SimpleOrientation return
140
+ property panel2_id
141
+ get get_Panel2Id slot=11 inputs=0 outputs=1 declaring=Windows.System.Preview.ITwoPanelHingedDevicePosturePreviewReading shape=4 deprecated
142
+ out string return
143
+ property panel2_orientation
144
+ get get_Panel2Orientation slot=10 inputs=0 outputs=1 declaring=Windows.System.Preview.ITwoPanelHingedDevicePosturePreviewReading shape=4 deprecated
145
+ out enum32 type=Windows.Devices.Sensors.SimpleOrientation return
146
+ property timestamp
147
+ get get_Timestamp slot=6 inputs=0 outputs=1 declaring=Windows.System.Preview.ITwoPanelHingedDevicePosturePreviewReading shape=4 deprecated
148
+ out datetime return
149
+
150
+ class Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs python_type
151
+ py TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs
152
+ signature rc(Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs;{2d2d1bc6-02ce-474a-a556-a75b1cf93a03})
153
+ default Windows.System.Preview.ITwoPanelHingedDevicePosturePreviewReadingChangedEventArgs
154
+ requires Windows.System.Preview.ITwoPanelHingedDevicePosturePreviewReadingChangedEventArgs
155
+ property reading
156
+ get get_Reading slot=6 inputs=0 outputs=1 declaring=Windows.System.Preview.ITwoPanelHingedDevicePosturePreviewReadingChangedEventArgs shape=4 deprecated
157
+ out class type=Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading return
158
+
159
+ delegate Windows.Foundation.TypedEventHandler<Windows.System.Preview.TwoPanelHingedDevicePosturePreview,Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs> concrete
160
+ py winrt.windows.foundation.TypedEventHandler[TwoPanelHingedDevicePosturePreview, TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs]
161
+ guid 3fc92c27-176d-58aa-a748-be82c378df41
162
+ signature pinterface({9de1c534-6ae1-11e0-84e1-18a905bcc53f};rc(Windows.System.Preview.TwoPanelHingedDevicePosturePreview;{72245c31-4b39-42a6-8e73-7235ade16853});rc(Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs;{2d2d1bc6-02ce-474a-a556-a75b1cf93a03}))
163
+ base Windows.Foundation.TypedEventHandler
164
+ argument Windows.System.Preview.TwoPanelHingedDevicePosturePreview
165
+ argument Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs
166
+ method -
167
+ method Invoke slot=3 inputs=2 outputs=0 shape=51 reverse=4
168
+ in class type=Windows.System.Preview.TwoPanelHingedDevicePosturePreview name=sender
169
+ in class type=Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs name=args
170
+
171
+ enum Windows.Devices.Sensors.SimpleOrientation external
172
+ py winrt.windows.devices.sensors.SimpleOrientation
173
+
174
+ delegate Windows.Foundation.AsyncOperationCompletedHandler external parameterized
175
+ py winrt.windows.foundation.AsyncOperationCompletedHandler
176
+ guid fcdcf02c-e5d8-4478-915a-4d90b74b83a5
177
+
178
+ enum Windows.Foundation.AsyncStatus external
179
+ py winrt.windows.foundation.AsyncStatus
180
+
181
+ struct Windows.Foundation.EventRegistrationToken external
182
+ py winrt.windows.foundation.EventRegistrationToken
183
+
184
+ struct Windows.Foundation.HResult external
185
+ py winrt.windows.foundation.HResult
186
+
187
+ interface Windows.Foundation.IAsyncInfo external
188
+ py winrt.windows.foundation._IAsyncInfo
189
+ guid 00000036-0000-0000-c000-000000000046
190
+
191
+ interface Windows.Foundation.IAsyncOperation external parameterized
192
+ py winrt.windows.foundation._IAsyncOperation
193
+ guid 9fc2b0bb-e446-44e2-aa61-9cab8f636af2
194
+
195
+ delegate Windows.Foundation.TypedEventHandler external parameterized
196
+ py winrt.windows.foundation.TypedEventHandler
197
+ guid 9de1c534-6ae1-11e0-84e1-18a905bcc53f
@@ -1,26 +0,0 @@
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.
@@ -1,7 +0,0 @@
1
- <!-- warning: Please don't edit this file. It was automatically generated. -->
2
-
3
- # winrt-Windows.System.Preview
4
-
5
- Windows Runtime (WinRT) APIs for for the `Windows.System.Preview` namespace.
6
-
7
- This package provides the `winrt.windows.system.preview` module.
@@ -1,4 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
-
3
- winrt-Windows.Devices.Sensors[all]~=3.2.1.0
4
- winrt-Windows.Foundation[all]~=3.2.1.0