winrt-Windows.Storage.AccessCache 2.0.0b1__cp39-cp39-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,160 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.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.foundation
13
+ import winrt.windows.foundation.collections
14
+ import winrt.windows.storage
15
+ import winrt.windows.system
16
+
17
+ from winrt.windows.storage.accesscache import AccessCacheOptions, RecentStorageItemVisibility
18
+
19
+ Self = typing.TypeVar('Self')
20
+
21
+ class AccessListEntry:
22
+ token: str
23
+ metadata: str
24
+ def __init__(self, token: str, metadata: str) -> None: ...
25
+
26
+ class AccessListEntryView(winrt.system.Object, winrt._winrt.Sequence[AccessListEntry]):
27
+ def __len__(self) -> int: ...
28
+ @typing.overload
29
+ def __getitem__(self, index: int) -> AccessListEntry: ...
30
+ @typing.overload
31
+ def __getitem__(self, index: slice) -> winrt.system.Array[AccessListEntry]: ...
32
+ @staticmethod
33
+ def _from(obj: winrt.system.Object, /) -> AccessListEntryView: ...
34
+ def first(self) -> typing.Optional[winrt.windows.foundation.collections.IIterator[AccessListEntry]]: ...
35
+ def get_at(self, index: winrt.system.UInt32, /) -> AccessListEntry: ...
36
+ def get_many(self, start_index: winrt.system.UInt32, items: winrt.system.Array[AccessListEntry], /) -> winrt.system.UInt32: ...
37
+ def index_of(self, value: AccessListEntry, /) -> typing.Tuple[bool, winrt.system.UInt32]: ...
38
+ @_property
39
+ def size(self) -> winrt.system.UInt32: ...
40
+
41
+ class ItemRemovedEventArgs(winrt.system.Object):
42
+ @staticmethod
43
+ def _from(obj: winrt.system.Object, /) -> ItemRemovedEventArgs: ...
44
+ @_property
45
+ def removed_entry(self) -> AccessListEntry: ...
46
+
47
+ class StorageApplicationPermissions_Static(type):
48
+ def get_future_access_list_for_user(cls, user: typing.Optional[winrt.windows.system.User], /) -> typing.Optional[StorageItemAccessList]: ...
49
+ def get_most_recently_used_list_for_user(cls, user: typing.Optional[winrt.windows.system.User], /) -> typing.Optional[StorageItemMostRecentlyUsedList]: ...
50
+ @_property
51
+ def future_access_list(cls) -> typing.Optional[StorageItemAccessList]: ...
52
+ @_property
53
+ def most_recently_used_list(cls) -> typing.Optional[StorageItemMostRecentlyUsedList]: ...
54
+
55
+ class StorageApplicationPermissions(winrt.system.Object, metaclass=StorageApplicationPermissions_Static):
56
+ @staticmethod
57
+ def _from(obj: winrt.system.Object, /) -> StorageApplicationPermissions: ...
58
+
59
+ class StorageItemAccessList(winrt.system.Object):
60
+ @staticmethod
61
+ def _from(obj: winrt.system.Object, /) -> StorageItemAccessList: ...
62
+ @typing.overload
63
+ def add(self, file: typing.Optional[winrt.windows.storage.IStorageItem], /) -> str: ...
64
+ @typing.overload
65
+ def add(self, file: typing.Optional[winrt.windows.storage.IStorageItem], metadata: str, /) -> str: ...
66
+ @typing.overload
67
+ def add_or_replace(self, token: str, file: typing.Optional[winrt.windows.storage.IStorageItem], /) -> None: ...
68
+ @typing.overload
69
+ def add_or_replace(self, token: str, file: typing.Optional[winrt.windows.storage.IStorageItem], metadata: str, /) -> None: ...
70
+ def check_access(self, file: typing.Optional[winrt.windows.storage.IStorageItem], /) -> bool: ...
71
+ def clear(self) -> None: ...
72
+ def contains_item(self, token: str, /) -> bool: ...
73
+ @typing.overload
74
+ def get_file_async(self, token: str, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.StorageFile]: ...
75
+ @typing.overload
76
+ def get_file_async(self, token: str, options: AccessCacheOptions, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.StorageFile]: ...
77
+ @typing.overload
78
+ def get_folder_async(self, token: str, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.StorageFolder]: ...
79
+ @typing.overload
80
+ def get_folder_async(self, token: str, options: AccessCacheOptions, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.StorageFolder]: ...
81
+ @typing.overload
82
+ def get_item_async(self, token: str, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.IStorageItem]: ...
83
+ @typing.overload
84
+ def get_item_async(self, token: str, options: AccessCacheOptions, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.IStorageItem]: ...
85
+ def remove(self, token: str, /) -> None: ...
86
+ @_property
87
+ def entries(self) -> typing.Optional[AccessListEntryView]: ...
88
+ @_property
89
+ def maximum_items_allowed(self) -> winrt.system.UInt32: ...
90
+
91
+ class StorageItemMostRecentlyUsedList(winrt.system.Object):
92
+ @staticmethod
93
+ def _from(obj: winrt.system.Object, /) -> StorageItemMostRecentlyUsedList: ...
94
+ @typing.overload
95
+ def add(self, file: typing.Optional[winrt.windows.storage.IStorageItem], /) -> str: ...
96
+ @typing.overload
97
+ def add(self, file: typing.Optional[winrt.windows.storage.IStorageItem], metadata: str, /) -> str: ...
98
+ @typing.overload
99
+ def add(self, file: typing.Optional[winrt.windows.storage.IStorageItem], metadata: str, visibility: RecentStorageItemVisibility, /) -> str: ...
100
+ @typing.overload
101
+ def add_or_replace(self, token: str, file: typing.Optional[winrt.windows.storage.IStorageItem], /) -> None: ...
102
+ @typing.overload
103
+ def add_or_replace(self, token: str, file: typing.Optional[winrt.windows.storage.IStorageItem], metadata: str, /) -> None: ...
104
+ @typing.overload
105
+ def add_or_replace(self, token: str, file: typing.Optional[winrt.windows.storage.IStorageItem], metadata: str, visibility: RecentStorageItemVisibility, /) -> None: ...
106
+ def check_access(self, file: typing.Optional[winrt.windows.storage.IStorageItem], /) -> bool: ...
107
+ def clear(self) -> None: ...
108
+ def contains_item(self, token: str, /) -> bool: ...
109
+ @typing.overload
110
+ def get_file_async(self, token: str, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.StorageFile]: ...
111
+ @typing.overload
112
+ def get_file_async(self, token: str, options: AccessCacheOptions, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.StorageFile]: ...
113
+ @typing.overload
114
+ def get_folder_async(self, token: str, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.StorageFolder]: ...
115
+ @typing.overload
116
+ def get_folder_async(self, token: str, options: AccessCacheOptions, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.StorageFolder]: ...
117
+ @typing.overload
118
+ def get_item_async(self, token: str, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.IStorageItem]: ...
119
+ @typing.overload
120
+ def get_item_async(self, token: str, options: AccessCacheOptions, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.IStorageItem]: ...
121
+ def remove(self, token: str, /) -> None: ...
122
+ def add_item_removed(self, handler: winrt.windows.foundation.TypedEventHandler[StorageItemMostRecentlyUsedList, ItemRemovedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
123
+ def remove_item_removed(self, event_cookie: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
124
+ @_property
125
+ def entries(self) -> typing.Optional[AccessListEntryView]: ...
126
+ @_property
127
+ def maximum_items_allowed(self) -> winrt.system.UInt32: ...
128
+
129
+ class IStorageItemAccessList(winrt.system.Object):
130
+ @staticmethod
131
+ def _from(obj: winrt.system.Object, /) -> IStorageItemAccessList: ...
132
+ @typing.overload
133
+ def add(self, file: typing.Optional[winrt.windows.storage.IStorageItem], /) -> str: ...
134
+ @typing.overload
135
+ def add(self, file: typing.Optional[winrt.windows.storage.IStorageItem], metadata: str, /) -> str: ...
136
+ @typing.overload
137
+ def add_or_replace(self, token: str, file: typing.Optional[winrt.windows.storage.IStorageItem], /) -> None: ...
138
+ @typing.overload
139
+ def add_or_replace(self, token: str, file: typing.Optional[winrt.windows.storage.IStorageItem], metadata: str, /) -> None: ...
140
+ def check_access(self, file: typing.Optional[winrt.windows.storage.IStorageItem], /) -> bool: ...
141
+ def clear(self) -> None: ...
142
+ def contains_item(self, token: str, /) -> bool: ...
143
+ @typing.overload
144
+ def get_file_async(self, token: str, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.StorageFile]: ...
145
+ @typing.overload
146
+ def get_file_async(self, token: str, options: AccessCacheOptions, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.StorageFile]: ...
147
+ @typing.overload
148
+ def get_folder_async(self, token: str, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.StorageFolder]: ...
149
+ @typing.overload
150
+ def get_folder_async(self, token: str, options: AccessCacheOptions, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.StorageFolder]: ...
151
+ @typing.overload
152
+ def get_item_async(self, token: str, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.IStorageItem]: ...
153
+ @typing.overload
154
+ def get_item_async(self, token: str, options: AccessCacheOptions, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.IStorageItem]: ...
155
+ def remove(self, token: str, /) -> None: ...
156
+ @_property
157
+ def entries(self) -> typing.Optional[AccessListEntryView]: ...
158
+ @_property
159
+ def maximum_items_allowed(self) -> winrt.system.UInt32: ...
160
+
@@ -0,0 +1,38 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_storage_accesscache
7
+
8
+ __all__ = [
9
+ "AccessCacheOptions",
10
+ "RecentStorageItemVisibility",
11
+ "AccessListEntry",
12
+ "AccessListEntryView",
13
+ "ItemRemovedEventArgs",
14
+ "StorageApplicationPermissions",
15
+ "StorageItemAccessList",
16
+ "StorageItemMostRecentlyUsedList",
17
+ "IStorageItemAccessList",
18
+ ]
19
+
20
+ class AccessCacheOptions(enum.IntFlag):
21
+ NONE = 0
22
+ DISALLOW_USER_INPUT = 0x1
23
+ FAST_LOCATIONS_ONLY = 0x2
24
+ USE_READ_ONLY_CACHED_COPY = 0x4
25
+ SUPPRESS_ACCESS_TIME_UPDATE = 0x8
26
+
27
+ class RecentStorageItemVisibility(enum.IntEnum):
28
+ APP_ONLY = 0
29
+ APP_AND_SYSTEM = 1
30
+
31
+ AccessListEntry = _winrt_windows_storage_accesscache.AccessListEntry
32
+ AccessListEntryView = _winrt_windows_storage_accesscache.AccessListEntryView
33
+ winrt.system._mixin_sequence(AccessListEntryView)
34
+ ItemRemovedEventArgs = _winrt_windows_storage_accesscache.ItemRemovedEventArgs
35
+ StorageApplicationPermissions = _winrt_windows_storage_accesscache.StorageApplicationPermissions
36
+ StorageItemAccessList = _winrt_windows_storage_accesscache.StorageItemAccessList
37
+ StorageItemMostRecentlyUsedList = _winrt_windows_storage_accesscache.StorageItemMostRecentlyUsedList
38
+ IStorageItemAccessList = _winrt_windows_storage_accesscache.IStorageItemAccessList
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Storage.AccessCache
3
+ Version: 2.0.0b1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Repository, https://github.com/pywrint/pywrinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
+ Classifier: Operating System :: Microsoft :: Windows
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: Implementation :: CPython
11
+ Classifier: Intended Audience :: Developers
12
+ Requires-Python: <3.13,>=3.9
13
+ Description-Content-Type: text/markdown
14
+ Requires-Dist: winrt-runtime ==2.0.0-beta.1
15
+ Provides-Extra: all
16
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.0.0-beta.1 ; extra == 'all'
17
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.0.0-beta.1 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Storage[all] ==2.0.0-beta.1 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.System[all] ==2.0.0-beta.1 ; extra == 'all'
20
+
21
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
22
+
23
+ # winrt-Windows.Storage.AccessCache
24
+
25
+ Windows Runtime (WinRT) APIs for for the `Windows.Storage.AccessCache` namespace.
26
+
27
+ This package provides the `winrt.windows.storage.accesscache` module.
@@ -0,0 +1,7 @@
1
+ winrt/_winrt_windows_storage_accesscache.cp39-win_amd64.pyd,sha256=njMQdFqeoyTjD-1ba6F958SQyNYlq0TsvrKbgsaBlVI,181248
2
+ winrt/_winrt_windows_storage_accesscache.pyi,sha256=CKtIrV7useaHUAwQEZSxc21c_fqQyi2HHQhoI-Bs1hg,9363
3
+ winrt/windows/storage/accesscache/__init__.py,sha256=3mR0mPFC21ut8rXLIU4NsCbt8rb8BeX8W7-_lvIokf4,1379
4
+ winrt_Windows.Storage.AccessCache-2.0.0b1.dist-info/METADATA,sha256=R4pA169FshBob3KFWNcat0ZyMQHW7kS5N0gSmLfF9qY,1255
5
+ winrt_Windows.Storage.AccessCache-2.0.0b1.dist-info/WHEEL,sha256=6LUvBh8thwnyqgVgCADtj3fTB0_JYWDpaYISzieo71U,100
6
+ winrt_Windows.Storage.AccessCache-2.0.0b1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
7
+ winrt_Windows.Storage.AccessCache-2.0.0b1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.41.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp39-cp39-win_amd64
5
+