winrt-Windows.ApplicationModel.ExtendedExecution 2.2.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.
- winrt/_winrt_windows_applicationmodel_extendedexecution.cp313-win32.pyd +0 -0
- winrt/_winrt_windows_applicationmodel_extendedexecution.pyi +48 -0
- winrt/windows/applicationmodel/extendedexecution/__init__.py +30 -0
- winrt/windows/applicationmodel/extendedexecution/py.typed +0 -0
- winrt_Windows.ApplicationModel.ExtendedExecution-2.2.0.dist-info/METADATA +25 -0
- winrt_Windows.ApplicationModel.ExtendedExecution-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.ApplicationModel.ExtendedExecution-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.ApplicationModel.ExtendedExecution-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.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.applicationmodel.extendedexecution import ExtendedExecutionReason, ExtendedExecutionResult, ExtendedExecutionRevokedReason
|
|
15
|
+
|
|
16
|
+
Self = typing.TypeVar('Self')
|
|
17
|
+
|
|
18
|
+
@typing.final
|
|
19
|
+
class ExtendedExecutionRevokedEventArgs(winrt.system.Object):
|
|
20
|
+
@staticmethod
|
|
21
|
+
def _from(obj: winrt.system.Object, /) -> ExtendedExecutionRevokedEventArgs: ...
|
|
22
|
+
@_property
|
|
23
|
+
def reason(self) -> ExtendedExecutionRevokedReason: ...
|
|
24
|
+
|
|
25
|
+
@typing.final
|
|
26
|
+
class ExtendedExecutionSession(winrt.system.Object):
|
|
27
|
+
def __enter__(self: Self) -> Self: ...
|
|
28
|
+
def __exit__(self, *args) -> None: ...
|
|
29
|
+
@staticmethod
|
|
30
|
+
def _from(obj: winrt.system.Object, /) -> ExtendedExecutionSession: ...
|
|
31
|
+
def __new__(cls: typing.Type[ExtendedExecutionSession]) -> ExtendedExecutionSession: ...
|
|
32
|
+
def close(self) -> None: ...
|
|
33
|
+
def request_extension_async(self) -> windows_foundation.IAsyncOperation[ExtendedExecutionResult]: ...
|
|
34
|
+
def add_revoked(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, ExtendedExecutionRevokedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
35
|
+
def remove_revoked(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
36
|
+
@_property
|
|
37
|
+
def reason(self) -> ExtendedExecutionReason: ...
|
|
38
|
+
@reason.setter
|
|
39
|
+
def reason(self, value: ExtendedExecutionReason) -> None: ...
|
|
40
|
+
@_property
|
|
41
|
+
def percent_progress(self) -> winrt.system.UInt32: ...
|
|
42
|
+
@percent_progress.setter
|
|
43
|
+
def percent_progress(self, value: winrt.system.UInt32) -> None: ...
|
|
44
|
+
@_property
|
|
45
|
+
def description(self) -> str: ...
|
|
46
|
+
@description.setter
|
|
47
|
+
def description(self, value: str) -> None: ...
|
|
48
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt import _winrt_windows_applicationmodel_extendedexecution
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"ExtendedExecutionReason",
|
|
10
|
+
"ExtendedExecutionResult",
|
|
11
|
+
"ExtendedExecutionRevokedReason",
|
|
12
|
+
"ExtendedExecutionRevokedEventArgs",
|
|
13
|
+
"ExtendedExecutionSession",
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
class ExtendedExecutionReason(enum.IntEnum):
|
|
17
|
+
UNSPECIFIED = 0
|
|
18
|
+
LOCATION_TRACKING = 1
|
|
19
|
+
SAVING_DATA = 2
|
|
20
|
+
|
|
21
|
+
class ExtendedExecutionResult(enum.IntEnum):
|
|
22
|
+
ALLOWED = 0
|
|
23
|
+
DENIED = 1
|
|
24
|
+
|
|
25
|
+
class ExtendedExecutionRevokedReason(enum.IntEnum):
|
|
26
|
+
RESUMED = 0
|
|
27
|
+
SYSTEM_POLICY = 1
|
|
28
|
+
|
|
29
|
+
ExtendedExecutionRevokedEventArgs = _winrt_windows_applicationmodel_extendedexecution.ExtendedExecutionRevokedEventArgs
|
|
30
|
+
ExtendedExecutionSession = _winrt_windows_applicationmodel_extendedexecution.ExtendedExecutionSession
|
|
File without changes
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.ExtendedExecution
|
|
3
|
+
Version: 2.2.0
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: 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.14,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime ==2.2.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
|
|
18
|
+
|
|
19
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
|
+
|
|
21
|
+
# winrt-Windows.ApplicationModel.ExtendedExecution
|
|
22
|
+
|
|
23
|
+
Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.ExtendedExecution` namespace.
|
|
24
|
+
|
|
25
|
+
This package provides the `winrt.windows.applicationmodel.extendedexecution` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_applicationmodel_extendedexecution.cp313-win32.pyd,sha256=5L08hL0gplxJ_fqkGeM_391g9-JP1NwlitP_frARGqk,61952
|
|
2
|
+
winrt/_winrt_windows_applicationmodel_extendedexecution.pyi,sha256=GqQcuCs-3emzl4mdO_JTRbGPdESKq_P8QgUUAGv2u5o,1937
|
|
3
|
+
winrt/windows/applicationmodel/extendedexecution/__init__.py,sha256=W7CTai3jioGBBPYKx5Q-RwGg6GU21QS70QbSgauQdk4,873
|
|
4
|
+
winrt/windows/applicationmodel/extendedexecution/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.ApplicationModel.ExtendedExecution-2.2.0.dist-info/METADATA,sha256=Ll4RSYcfZOezSqIJsw1wLS1K60Gqm8sZB4s5wc6W96Q,1119
|
|
6
|
+
winrt_Windows.ApplicationModel.ExtendedExecution-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
|
|
7
|
+
winrt_Windows.ApplicationModel.ExtendedExecution-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.ApplicationModel.ExtendedExecution-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|