winrt-Windows.Storage.Provider 2.2.0__cp313-cp313-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,425 @@
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
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+ import winrt.windows.storage as windows_storage
15
+ import winrt.windows.storage.streams as windows_storage_streams
16
+ import winrt.windows.ui as windows_ui
17
+
18
+ from winrt.windows.storage.provider import CachedFileOptions, CachedFileTarget, FileUpdateStatus, ReadActivationMode, StorageProviderHardlinkPolicy, StorageProviderHydrationPolicy, StorageProviderHydrationPolicyModifier, StorageProviderInSyncPolicy, StorageProviderKnownFolderSyncStatus, StorageProviderPopulationPolicy, StorageProviderProtectionMode, StorageProviderState, StorageProviderUICommandState, StorageProviderUriSourceStatus, UIStatus, WriteActivationMode
19
+ from winrt.windows.storage.provider import StorageProviderKnownFolderSyncRequestedHandler
20
+
21
+ Self = typing.TypeVar('Self')
22
+
23
+ @typing.final
24
+ class CachedFileUpdater_Static(type):
25
+ def set_update_information(cls, file: typing.Optional[windows_storage.IStorageFile], content_id: str, read_mode: ReadActivationMode, write_mode: WriteActivationMode, options: CachedFileOptions, /) -> None: ...
26
+
27
+ @typing.final
28
+ class CachedFileUpdater(winrt.system.Object, metaclass=CachedFileUpdater_Static):
29
+ pass
30
+
31
+ @typing.final
32
+ class CachedFileUpdaterUI(winrt.system.Object):
33
+ @staticmethod
34
+ def _from(obj: winrt.system.Object, /) -> CachedFileUpdaterUI: ...
35
+ def get_deferral(self) -> typing.Optional[FileUpdateRequestDeferral]: ...
36
+ def add_file_update_requested(self, handler: windows_foundation.TypedEventHandler[CachedFileUpdaterUI, FileUpdateRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
37
+ def remove_file_update_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
38
+ def add_u_i_requested(self, handler: windows_foundation.TypedEventHandler[CachedFileUpdaterUI, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
39
+ def remove_u_i_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
40
+ @_property
41
+ def title(self) -> str: ...
42
+ @title.setter
43
+ def title(self, value: str) -> None: ...
44
+ @_property
45
+ def u_i_status(self) -> UIStatus: ...
46
+ @_property
47
+ def update_target(self) -> CachedFileTarget: ...
48
+ @_property
49
+ def update_request(self) -> typing.Optional[FileUpdateRequest]: ...
50
+
51
+ @typing.final
52
+ class FileUpdateRequest(winrt.system.Object):
53
+ @staticmethod
54
+ def _from(obj: winrt.system.Object, /) -> FileUpdateRequest: ...
55
+ def get_deferral(self) -> typing.Optional[FileUpdateRequestDeferral]: ...
56
+ def update_local_file(self, value: typing.Optional[windows_storage.IStorageFile], /) -> None: ...
57
+ @_property
58
+ def status(self) -> FileUpdateStatus: ...
59
+ @status.setter
60
+ def status(self, value: FileUpdateStatus) -> None: ...
61
+ @_property
62
+ def content_id(self) -> str: ...
63
+ @_property
64
+ def file(self) -> typing.Optional[windows_storage.StorageFile]: ...
65
+ @_property
66
+ def user_input_needed_message(self) -> str: ...
67
+ @user_input_needed_message.setter
68
+ def user_input_needed_message(self, value: str) -> None: ...
69
+
70
+ @typing.final
71
+ class FileUpdateRequestDeferral(winrt.system.Object):
72
+ @staticmethod
73
+ def _from(obj: winrt.system.Object, /) -> FileUpdateRequestDeferral: ...
74
+ def complete(self) -> None: ...
75
+
76
+ @typing.final
77
+ class FileUpdateRequestedEventArgs(winrt.system.Object):
78
+ @staticmethod
79
+ def _from(obj: winrt.system.Object, /) -> FileUpdateRequestedEventArgs: ...
80
+ @_property
81
+ def request(self) -> typing.Optional[FileUpdateRequest]: ...
82
+
83
+ @typing.final
84
+ class StorageProviderFileTypeInfo(winrt.system.Object):
85
+ @staticmethod
86
+ def _from(obj: winrt.system.Object, /) -> StorageProviderFileTypeInfo: ...
87
+ def __new__(cls: typing.Type[StorageProviderFileTypeInfo], file_extension: str, icon_resource: str) -> StorageProviderFileTypeInfo: ...
88
+ @_property
89
+ def file_extension(self) -> str: ...
90
+ @_property
91
+ def icon_resource(self) -> str: ...
92
+
93
+ @typing.final
94
+ class StorageProviderGetContentInfoForPathResult(winrt.system.Object):
95
+ @staticmethod
96
+ def _from(obj: winrt.system.Object, /) -> StorageProviderGetContentInfoForPathResult: ...
97
+ def __new__(cls: typing.Type[StorageProviderGetContentInfoForPathResult]) -> StorageProviderGetContentInfoForPathResult: ...
98
+ @_property
99
+ def status(self) -> StorageProviderUriSourceStatus: ...
100
+ @status.setter
101
+ def status(self, value: StorageProviderUriSourceStatus) -> None: ...
102
+ @_property
103
+ def content_uri(self) -> str: ...
104
+ @content_uri.setter
105
+ def content_uri(self, value: str) -> None: ...
106
+ @_property
107
+ def content_id(self) -> str: ...
108
+ @content_id.setter
109
+ def content_id(self, value: str) -> None: ...
110
+
111
+ @typing.final
112
+ class StorageProviderGetPathForContentUriResult(winrt.system.Object):
113
+ @staticmethod
114
+ def _from(obj: winrt.system.Object, /) -> StorageProviderGetPathForContentUriResult: ...
115
+ def __new__(cls: typing.Type[StorageProviderGetPathForContentUriResult]) -> StorageProviderGetPathForContentUriResult: ...
116
+ @_property
117
+ def status(self) -> StorageProviderUriSourceStatus: ...
118
+ @status.setter
119
+ def status(self, value: StorageProviderUriSourceStatus) -> None: ...
120
+ @_property
121
+ def path(self) -> str: ...
122
+ @path.setter
123
+ def path(self, value: str) -> None: ...
124
+
125
+ @typing.final
126
+ class StorageProviderItemProperties_Static(type):
127
+ def set_async(cls, item: typing.Optional[windows_storage.IStorageItem], item_properties: typing.Iterable[StorageProviderItemProperty], /) -> windows_foundation.IAsyncAction: ...
128
+
129
+ @typing.final
130
+ class StorageProviderItemProperties(winrt.system.Object, metaclass=StorageProviderItemProperties_Static):
131
+ pass
132
+
133
+ @typing.final
134
+ class StorageProviderItemProperty(winrt.system.Object):
135
+ @staticmethod
136
+ def _from(obj: winrt.system.Object, /) -> StorageProviderItemProperty: ...
137
+ def __new__(cls: typing.Type[StorageProviderItemProperty]) -> StorageProviderItemProperty: ...
138
+ @_property
139
+ def value(self) -> str: ...
140
+ @value.setter
141
+ def value(self, value: str) -> None: ...
142
+ @_property
143
+ def id(self) -> winrt.system.Int32: ...
144
+ @id.setter
145
+ def id(self, value: winrt.system.Int32) -> None: ...
146
+ @_property
147
+ def icon_resource(self) -> str: ...
148
+ @icon_resource.setter
149
+ def icon_resource(self, value: str) -> None: ...
150
+
151
+ @typing.final
152
+ class StorageProviderItemPropertyDefinition(winrt.system.Object):
153
+ @staticmethod
154
+ def _from(obj: winrt.system.Object, /) -> StorageProviderItemPropertyDefinition: ...
155
+ def __new__(cls: typing.Type[StorageProviderItemPropertyDefinition]) -> StorageProviderItemPropertyDefinition: ...
156
+ @_property
157
+ def id(self) -> winrt.system.Int32: ...
158
+ @id.setter
159
+ def id(self, value: winrt.system.Int32) -> None: ...
160
+ @_property
161
+ def display_name_resource(self) -> str: ...
162
+ @display_name_resource.setter
163
+ def display_name_resource(self, value: str) -> None: ...
164
+
165
+ @typing.final
166
+ class StorageProviderKnownFolderEntry(winrt.system.Object):
167
+ @staticmethod
168
+ def _from(obj: winrt.system.Object, /) -> StorageProviderKnownFolderEntry: ...
169
+ def __new__(cls: typing.Type[StorageProviderKnownFolderEntry]) -> StorageProviderKnownFolderEntry: ...
170
+ @_property
171
+ def status(self) -> StorageProviderKnownFolderSyncStatus: ...
172
+ @status.setter
173
+ def status(self, value: StorageProviderKnownFolderSyncStatus) -> None: ...
174
+ @_property
175
+ def known_folder_id(self) -> _uuid.UUID: ...
176
+ @known_folder_id.setter
177
+ def known_folder_id(self, value: _uuid.UUID) -> None: ...
178
+
179
+ @typing.final
180
+ class StorageProviderKnownFolderSyncInfo(winrt.system.Object):
181
+ @staticmethod
182
+ def _from(obj: winrt.system.Object, /) -> StorageProviderKnownFolderSyncInfo: ...
183
+ def __new__(cls: typing.Type[StorageProviderKnownFolderSyncInfo]) -> StorageProviderKnownFolderSyncInfo: ...
184
+ @_property
185
+ def sync_requested(self) -> typing.Optional[StorageProviderKnownFolderSyncRequestedHandler]: ...
186
+ @sync_requested.setter
187
+ def sync_requested(self, value: typing.Optional[StorageProviderKnownFolderSyncRequestedHandler]) -> None: ...
188
+ @_property
189
+ def provider_display_name(self) -> str: ...
190
+ @provider_display_name.setter
191
+ def provider_display_name(self, value: str) -> None: ...
192
+ @_property
193
+ def known_folder_entries(self) -> typing.Optional[windows_foundation_collections.IVector[StorageProviderKnownFolderEntry]]: ...
194
+
195
+ @typing.final
196
+ class StorageProviderKnownFolderSyncRequestArgs(winrt.system.Object):
197
+ @staticmethod
198
+ def _from(obj: winrt.system.Object, /) -> StorageProviderKnownFolderSyncRequestArgs: ...
199
+ @_property
200
+ def known_folders(self) -> typing.Optional[windows_foundation_collections.IVectorView[_uuid.UUID]]: ...
201
+ @_property
202
+ def source(self) -> typing.Optional[windows_storage.StorageFolder]: ...
203
+
204
+ @typing.final
205
+ class StorageProviderMoreInfoUI(winrt.system.Object):
206
+ @staticmethod
207
+ def _from(obj: winrt.system.Object, /) -> StorageProviderMoreInfoUI: ...
208
+ def __new__(cls: typing.Type[StorageProviderMoreInfoUI]) -> StorageProviderMoreInfoUI: ...
209
+ @_property
210
+ def message(self) -> str: ...
211
+ @message.setter
212
+ def message(self, value: str) -> None: ...
213
+ @_property
214
+ def command(self) -> typing.Optional[IStorageProviderUICommand]: ...
215
+ @command.setter
216
+ def command(self, value: typing.Optional[IStorageProviderUICommand]) -> None: ...
217
+
218
+ @typing.final
219
+ class StorageProviderQuotaUI(winrt.system.Object):
220
+ @staticmethod
221
+ def _from(obj: winrt.system.Object, /) -> StorageProviderQuotaUI: ...
222
+ def __new__(cls: typing.Type[StorageProviderQuotaUI]) -> StorageProviderQuotaUI: ...
223
+ @_property
224
+ def quota_used_label(self) -> str: ...
225
+ @quota_used_label.setter
226
+ def quota_used_label(self, value: str) -> None: ...
227
+ @_property
228
+ def quota_used_in_bytes(self) -> winrt.system.UInt64: ...
229
+ @quota_used_in_bytes.setter
230
+ def quota_used_in_bytes(self, value: winrt.system.UInt64) -> None: ...
231
+ @_property
232
+ def quota_used_color(self) -> typing.Optional[typing.Optional[windows_ui.Color]]: ...
233
+ @quota_used_color.setter
234
+ def quota_used_color(self, value: typing.Optional[typing.Optional[windows_ui.Color]]) -> None: ...
235
+ @_property
236
+ def quota_total_in_bytes(self) -> winrt.system.UInt64: ...
237
+ @quota_total_in_bytes.setter
238
+ def quota_total_in_bytes(self, value: winrt.system.UInt64) -> None: ...
239
+
240
+ @typing.final
241
+ class StorageProviderStatusUI(winrt.system.Object):
242
+ @staticmethod
243
+ def _from(obj: winrt.system.Object, /) -> StorageProviderStatusUI: ...
244
+ def __new__(cls: typing.Type[StorageProviderStatusUI]) -> StorageProviderStatusUI: ...
245
+ @_property
246
+ def sync_status_command(self) -> typing.Optional[IStorageProviderUICommand]: ...
247
+ @sync_status_command.setter
248
+ def sync_status_command(self, value: typing.Optional[IStorageProviderUICommand]) -> None: ...
249
+ @_property
250
+ def quota_u_i(self) -> typing.Optional[StorageProviderQuotaUI]: ...
251
+ @quota_u_i.setter
252
+ def quota_u_i(self, value: typing.Optional[StorageProviderQuotaUI]) -> None: ...
253
+ @_property
254
+ def provider_state_label(self) -> str: ...
255
+ @provider_state_label.setter
256
+ def provider_state_label(self, value: str) -> None: ...
257
+ @_property
258
+ def provider_state_icon(self) -> typing.Optional[windows_foundation.Uri]: ...
259
+ @provider_state_icon.setter
260
+ def provider_state_icon(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
261
+ @_property
262
+ def provider_state(self) -> StorageProviderState: ...
263
+ @provider_state.setter
264
+ def provider_state(self, value: StorageProviderState) -> None: ...
265
+ @_property
266
+ def provider_secondary_commands(self) -> typing.Optional[windows_foundation_collections.IVector[IStorageProviderUICommand]]: ...
267
+ @provider_secondary_commands.setter
268
+ def provider_secondary_commands(self, value: typing.Optional[windows_foundation_collections.IVector[IStorageProviderUICommand]]) -> None: ...
269
+ @_property
270
+ def provider_primary_command(self) -> typing.Optional[IStorageProviderUICommand]: ...
271
+ @provider_primary_command.setter
272
+ def provider_primary_command(self, value: typing.Optional[IStorageProviderUICommand]) -> None: ...
273
+ @_property
274
+ def more_info_u_i(self) -> typing.Optional[StorageProviderMoreInfoUI]: ...
275
+ @more_info_u_i.setter
276
+ def more_info_u_i(self, value: typing.Optional[StorageProviderMoreInfoUI]) -> None: ...
277
+
278
+ @typing.final
279
+ class StorageProviderSyncRootInfo(winrt.system.Object):
280
+ @staticmethod
281
+ def _from(obj: winrt.system.Object, /) -> StorageProviderSyncRootInfo: ...
282
+ def __new__(cls: typing.Type[StorageProviderSyncRootInfo]) -> StorageProviderSyncRootInfo: ...
283
+ @_property
284
+ def version(self) -> str: ...
285
+ @version.setter
286
+ def version(self, value: str) -> None: ...
287
+ @_property
288
+ def show_siblings_as_group(self) -> bool: ...
289
+ @show_siblings_as_group.setter
290
+ def show_siblings_as_group(self, value: bool) -> None: ...
291
+ @_property
292
+ def recycle_bin_uri(self) -> typing.Optional[windows_foundation.Uri]: ...
293
+ @recycle_bin_uri.setter
294
+ def recycle_bin_uri(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
295
+ @_property
296
+ def protection_mode(self) -> StorageProviderProtectionMode: ...
297
+ @protection_mode.setter
298
+ def protection_mode(self, value: StorageProviderProtectionMode) -> None: ...
299
+ @_property
300
+ def population_policy(self) -> StorageProviderPopulationPolicy: ...
301
+ @population_policy.setter
302
+ def population_policy(self, value: StorageProviderPopulationPolicy) -> None: ...
303
+ @_property
304
+ def path(self) -> typing.Optional[windows_storage.IStorageFolder]: ...
305
+ @path.setter
306
+ def path(self, value: typing.Optional[windows_storage.IStorageFolder]) -> None: ...
307
+ @_property
308
+ def in_sync_policy(self) -> StorageProviderInSyncPolicy: ...
309
+ @in_sync_policy.setter
310
+ def in_sync_policy(self, value: StorageProviderInSyncPolicy) -> None: ...
311
+ @_property
312
+ def id(self) -> str: ...
313
+ @id.setter
314
+ def id(self, value: str) -> None: ...
315
+ @_property
316
+ def icon_resource(self) -> str: ...
317
+ @icon_resource.setter
318
+ def icon_resource(self, value: str) -> None: ...
319
+ @_property
320
+ def hydration_policy_modifier(self) -> StorageProviderHydrationPolicyModifier: ...
321
+ @hydration_policy_modifier.setter
322
+ def hydration_policy_modifier(self, value: StorageProviderHydrationPolicyModifier) -> None: ...
323
+ @_property
324
+ def hydration_policy(self) -> StorageProviderHydrationPolicy: ...
325
+ @hydration_policy.setter
326
+ def hydration_policy(self, value: StorageProviderHydrationPolicy) -> None: ...
327
+ @_property
328
+ def hardlink_policy(self) -> StorageProviderHardlinkPolicy: ...
329
+ @hardlink_policy.setter
330
+ def hardlink_policy(self, value: StorageProviderHardlinkPolicy) -> None: ...
331
+ @_property
332
+ def display_name_resource(self) -> str: ...
333
+ @display_name_resource.setter
334
+ def display_name_resource(self, value: str) -> None: ...
335
+ @_property
336
+ def context(self) -> typing.Optional[windows_storage_streams.IBuffer]: ...
337
+ @context.setter
338
+ def context(self, value: typing.Optional[windows_storage_streams.IBuffer]) -> None: ...
339
+ @_property
340
+ def allow_pinning(self) -> bool: ...
341
+ @allow_pinning.setter
342
+ def allow_pinning(self, value: bool) -> None: ...
343
+ @_property
344
+ def storage_provider_item_property_definitions(self) -> typing.Optional[windows_foundation_collections.IVector[StorageProviderItemPropertyDefinition]]: ...
345
+ @_property
346
+ def provider_id(self) -> _uuid.UUID: ...
347
+ @provider_id.setter
348
+ def provider_id(self, value: _uuid.UUID) -> None: ...
349
+ @_property
350
+ def fallback_file_type_info(self) -> typing.Optional[windows_foundation_collections.IVector[StorageProviderFileTypeInfo]]: ...
351
+
352
+ @typing.final
353
+ class StorageProviderSyncRootManager_Static(type):
354
+ def get_current_sync_roots(cls) -> typing.Optional[windows_foundation_collections.IVectorView[StorageProviderSyncRootInfo]]: ...
355
+ def get_sync_root_information_for_folder(cls, folder: typing.Optional[windows_storage.IStorageFolder], /) -> typing.Optional[StorageProviderSyncRootInfo]: ...
356
+ def get_sync_root_information_for_id(cls, id: str, /) -> typing.Optional[StorageProviderSyncRootInfo]: ...
357
+ def is_supported(cls) -> bool: ...
358
+ def register(cls, sync_root_information: typing.Optional[StorageProviderSyncRootInfo], /) -> None: ...
359
+ def unregister(cls, id: str, /) -> None: ...
360
+
361
+ @typing.final
362
+ class StorageProviderSyncRootManager(winrt.system.Object, metaclass=StorageProviderSyncRootManager_Static):
363
+ pass
364
+
365
+ @typing.final
366
+ class IStorageProviderItemPropertySource(winrt.system.Object):
367
+ @staticmethod
368
+ def _from(obj: winrt.system.Object, /) -> IStorageProviderItemPropertySource: ...
369
+ def get_item_properties(self, item_path: str, /) -> typing.Optional[windows_foundation_collections.IIterable[StorageProviderItemProperty]]: ...
370
+
371
+ @typing.final
372
+ class IStorageProviderKnownFolderSyncInfoSource(winrt.system.Object):
373
+ @staticmethod
374
+ def _from(obj: winrt.system.Object, /) -> IStorageProviderKnownFolderSyncInfoSource: ...
375
+ def get_known_folder_sync_info(self) -> typing.Optional[StorageProviderKnownFolderSyncInfo]: ...
376
+ def add_known_folder_sync_info_changed(self, handler: windows_foundation.TypedEventHandler[IStorageProviderKnownFolderSyncInfoSource, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
377
+ def remove_known_folder_sync_info_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
378
+
379
+ @typing.final
380
+ class IStorageProviderKnownFolderSyncInfoSourceFactory(winrt.system.Object):
381
+ @staticmethod
382
+ def _from(obj: winrt.system.Object, /) -> IStorageProviderKnownFolderSyncInfoSourceFactory: ...
383
+ def get_known_folder_sync_info_source(self) -> typing.Optional[IStorageProviderKnownFolderSyncInfoSource]: ...
384
+
385
+ @typing.final
386
+ class IStorageProviderPropertyCapabilities(winrt.system.Object):
387
+ @staticmethod
388
+ def _from(obj: winrt.system.Object, /) -> IStorageProviderPropertyCapabilities: ...
389
+ def is_property_supported(self, property_canonical_name: str, /) -> bool: ...
390
+
391
+ @typing.final
392
+ class IStorageProviderStatusUISource(winrt.system.Object):
393
+ @staticmethod
394
+ def _from(obj: winrt.system.Object, /) -> IStorageProviderStatusUISource: ...
395
+ def get_status_u_i(self) -> typing.Optional[StorageProviderStatusUI]: ...
396
+ def add_status_u_i_changed(self, handler: windows_foundation.TypedEventHandler[IStorageProviderStatusUISource, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
397
+ def remove_status_u_i_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
398
+
399
+ @typing.final
400
+ class IStorageProviderStatusUISourceFactory(winrt.system.Object):
401
+ @staticmethod
402
+ def _from(obj: winrt.system.Object, /) -> IStorageProviderStatusUISourceFactory: ...
403
+ def get_status_u_i_source(self, sync_root_id: str, /) -> typing.Optional[IStorageProviderStatusUISource]: ...
404
+
405
+ @typing.final
406
+ class IStorageProviderUICommand(winrt.system.Object):
407
+ @staticmethod
408
+ def _from(obj: winrt.system.Object, /) -> IStorageProviderUICommand: ...
409
+ def invoke(self) -> None: ...
410
+ @_property
411
+ def description(self) -> str: ...
412
+ @_property
413
+ def icon(self) -> typing.Optional[windows_foundation.Uri]: ...
414
+ @_property
415
+ def label(self) -> str: ...
416
+ @_property
417
+ def state(self) -> StorageProviderUICommandState: ...
418
+
419
+ @typing.final
420
+ class IStorageProviderUriSource(winrt.system.Object):
421
+ @staticmethod
422
+ def _from(obj: winrt.system.Object, /) -> IStorageProviderUriSource: ...
423
+ def get_content_info_for_path(self, path: str, result: typing.Optional[StorageProviderGetContentInfoForPathResult], /) -> None: ...
424
+ def get_path_for_content_uri(self, content_uri: str, result: typing.Optional[StorageProviderGetPathForContentUriResult], /) -> None: ...
425
+
@@ -0,0 +1,179 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+ import typing
5
+ import uuid as _uuid
6
+
7
+ import winrt.system
8
+ from winrt import _winrt_windows_storage_provider
9
+
10
+ __all__ = [
11
+ "CachedFileOptions",
12
+ "CachedFileTarget",
13
+ "FileUpdateStatus",
14
+ "ReadActivationMode",
15
+ "StorageProviderHardlinkPolicy",
16
+ "StorageProviderHydrationPolicy",
17
+ "StorageProviderHydrationPolicyModifier",
18
+ "StorageProviderInSyncPolicy",
19
+ "StorageProviderKnownFolderSyncStatus",
20
+ "StorageProviderPopulationPolicy",
21
+ "StorageProviderProtectionMode",
22
+ "StorageProviderState",
23
+ "StorageProviderUICommandState",
24
+ "StorageProviderUriSourceStatus",
25
+ "UIStatus",
26
+ "WriteActivationMode",
27
+ "CachedFileUpdater",
28
+ "CachedFileUpdaterUI",
29
+ "FileUpdateRequest",
30
+ "FileUpdateRequestDeferral",
31
+ "FileUpdateRequestedEventArgs",
32
+ "StorageProviderFileTypeInfo",
33
+ "StorageProviderGetContentInfoForPathResult",
34
+ "StorageProviderGetPathForContentUriResult",
35
+ "StorageProviderItemProperties",
36
+ "StorageProviderItemProperty",
37
+ "StorageProviderItemPropertyDefinition",
38
+ "StorageProviderKnownFolderEntry",
39
+ "StorageProviderKnownFolderSyncInfo",
40
+ "StorageProviderKnownFolderSyncRequestArgs",
41
+ "StorageProviderMoreInfoUI",
42
+ "StorageProviderQuotaUI",
43
+ "StorageProviderStatusUI",
44
+ "StorageProviderSyncRootInfo",
45
+ "StorageProviderSyncRootManager",
46
+ "IStorageProviderItemPropertySource",
47
+ "IStorageProviderKnownFolderSyncInfoSource",
48
+ "IStorageProviderKnownFolderSyncInfoSourceFactory",
49
+ "IStorageProviderPropertyCapabilities",
50
+ "IStorageProviderStatusUISource",
51
+ "IStorageProviderStatusUISourceFactory",
52
+ "IStorageProviderUICommand",
53
+ "IStorageProviderUriSource",
54
+ "StorageProviderKnownFolderSyncRequestedHandler",
55
+ ]
56
+
57
+ class CachedFileOptions(enum.IntFlag):
58
+ NONE = 0x0
59
+ REQUIRE_UPDATE_ON_ACCESS = 0x1
60
+ USE_CACHED_FILE_WHEN_OFFLINE = 0x2
61
+ DENY_ACCESS_WHEN_OFFLINE = 0x4
62
+
63
+ class CachedFileTarget(enum.IntEnum):
64
+ LOCAL = 0
65
+ REMOTE = 1
66
+
67
+ class FileUpdateStatus(enum.IntEnum):
68
+ INCOMPLETE = 0
69
+ COMPLETE = 1
70
+ USER_INPUT_NEEDED = 2
71
+ CURRENTLY_UNAVAILABLE = 3
72
+ FAILED = 4
73
+ COMPLETE_AND_RENAMED = 5
74
+
75
+ class ReadActivationMode(enum.IntEnum):
76
+ NOT_NEEDED = 0
77
+ BEFORE_ACCESS = 1
78
+
79
+ class StorageProviderHardlinkPolicy(enum.IntFlag):
80
+ NONE = 0x0
81
+ ALLOWED = 0x1
82
+
83
+ class StorageProviderHydrationPolicy(enum.IntEnum):
84
+ PARTIAL = 0
85
+ PROGRESSIVE = 1
86
+ FULL = 2
87
+ ALWAYS_FULL = 3
88
+
89
+ class StorageProviderHydrationPolicyModifier(enum.IntFlag):
90
+ NONE = 0x0
91
+ VALIDATION_REQUIRED = 0x1
92
+ STREAMING_ALLOWED = 0x2
93
+ AUTO_DEHYDRATION_ALLOWED = 0x4
94
+ ALLOW_FULL_RESTART_HYDRATION = 0x8
95
+
96
+ class StorageProviderInSyncPolicy(enum.IntFlag):
97
+ DEFAULT = 0x0
98
+ FILE_CREATION_TIME = 0x1
99
+ FILE_READ_ONLY_ATTRIBUTE = 0x2
100
+ FILE_HIDDEN_ATTRIBUTE = 0x4
101
+ FILE_SYSTEM_ATTRIBUTE = 0x8
102
+ DIRECTORY_CREATION_TIME = 0x10
103
+ DIRECTORY_READ_ONLY_ATTRIBUTE = 0x20
104
+ DIRECTORY_HIDDEN_ATTRIBUTE = 0x40
105
+ DIRECTORY_SYSTEM_ATTRIBUTE = 0x80
106
+ FILE_LAST_WRITE_TIME = 0x100
107
+ DIRECTORY_LAST_WRITE_TIME = 0x200
108
+ PRESERVE_INSYNC_FOR_SYNC_ENGINE = 0x80000000
109
+
110
+ class StorageProviderKnownFolderSyncStatus(enum.IntEnum):
111
+ AVAILABLE = 0
112
+ ENROLLING = 1
113
+ ENROLLED = 2
114
+
115
+ class StorageProviderPopulationPolicy(enum.IntEnum):
116
+ FULL = 1
117
+ ALWAYS_FULL = 2
118
+
119
+ class StorageProviderProtectionMode(enum.IntEnum):
120
+ UNKNOWN = 0
121
+ PERSONAL = 1
122
+
123
+ class StorageProviderState(enum.IntEnum):
124
+ IN_SYNC = 0
125
+ SYNCING = 1
126
+ PAUSED = 2
127
+ ERROR = 3
128
+ WARNING = 4
129
+ OFFLINE = 5
130
+
131
+ class StorageProviderUICommandState(enum.IntEnum):
132
+ ENABLED = 0
133
+ DISABLED = 1
134
+ HIDDEN = 2
135
+
136
+ class StorageProviderUriSourceStatus(enum.IntEnum):
137
+ SUCCESS = 0
138
+ NO_SYNC_ROOT = 1
139
+ FILE_NOT_FOUND = 2
140
+
141
+ class UIStatus(enum.IntEnum):
142
+ UNAVAILABLE = 0
143
+ HIDDEN = 1
144
+ VISIBLE = 2
145
+ COMPLETE = 3
146
+
147
+ class WriteActivationMode(enum.IntEnum):
148
+ READ_ONLY = 0
149
+ NOT_NEEDED = 1
150
+ AFTER_WRITE = 2
151
+
152
+ CachedFileUpdater = _winrt_windows_storage_provider.CachedFileUpdater
153
+ CachedFileUpdaterUI = _winrt_windows_storage_provider.CachedFileUpdaterUI
154
+ FileUpdateRequest = _winrt_windows_storage_provider.FileUpdateRequest
155
+ FileUpdateRequestDeferral = _winrt_windows_storage_provider.FileUpdateRequestDeferral
156
+ FileUpdateRequestedEventArgs = _winrt_windows_storage_provider.FileUpdateRequestedEventArgs
157
+ StorageProviderFileTypeInfo = _winrt_windows_storage_provider.StorageProviderFileTypeInfo
158
+ StorageProviderGetContentInfoForPathResult = _winrt_windows_storage_provider.StorageProviderGetContentInfoForPathResult
159
+ StorageProviderGetPathForContentUriResult = _winrt_windows_storage_provider.StorageProviderGetPathForContentUriResult
160
+ StorageProviderItemProperties = _winrt_windows_storage_provider.StorageProviderItemProperties
161
+ StorageProviderItemProperty = _winrt_windows_storage_provider.StorageProviderItemProperty
162
+ StorageProviderItemPropertyDefinition = _winrt_windows_storage_provider.StorageProviderItemPropertyDefinition
163
+ StorageProviderKnownFolderEntry = _winrt_windows_storage_provider.StorageProviderKnownFolderEntry
164
+ StorageProviderKnownFolderSyncInfo = _winrt_windows_storage_provider.StorageProviderKnownFolderSyncInfo
165
+ StorageProviderKnownFolderSyncRequestArgs = _winrt_windows_storage_provider.StorageProviderKnownFolderSyncRequestArgs
166
+ StorageProviderMoreInfoUI = _winrt_windows_storage_provider.StorageProviderMoreInfoUI
167
+ StorageProviderQuotaUI = _winrt_windows_storage_provider.StorageProviderQuotaUI
168
+ StorageProviderStatusUI = _winrt_windows_storage_provider.StorageProviderStatusUI
169
+ StorageProviderSyncRootInfo = _winrt_windows_storage_provider.StorageProviderSyncRootInfo
170
+ StorageProviderSyncRootManager = _winrt_windows_storage_provider.StorageProviderSyncRootManager
171
+ IStorageProviderItemPropertySource = _winrt_windows_storage_provider.IStorageProviderItemPropertySource
172
+ IStorageProviderKnownFolderSyncInfoSource = _winrt_windows_storage_provider.IStorageProviderKnownFolderSyncInfoSource
173
+ IStorageProviderKnownFolderSyncInfoSourceFactory = _winrt_windows_storage_provider.IStorageProviderKnownFolderSyncInfoSourceFactory
174
+ IStorageProviderPropertyCapabilities = _winrt_windows_storage_provider.IStorageProviderPropertyCapabilities
175
+ IStorageProviderStatusUISource = _winrt_windows_storage_provider.IStorageProviderStatusUISource
176
+ IStorageProviderStatusUISourceFactory = _winrt_windows_storage_provider.IStorageProviderStatusUISourceFactory
177
+ IStorageProviderUICommand = _winrt_windows_storage_provider.IStorageProviderUICommand
178
+ IStorageProviderUriSource = _winrt_windows_storage_provider.IStorageProviderUriSource
179
+ StorageProviderKnownFolderSyncRequestedHandler = typing.Callable[[typing.Optional[StorageProviderKnownFolderSyncRequestArgs]], None]
File without changes
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Storage.Provider
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
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Storage[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.UI[all] ==2.2.0 ; extra == 'all'
22
+
23
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
24
+
25
+ # winrt-Windows.Storage.Provider
26
+
27
+ Windows Runtime (WinRT) APIs for for the `Windows.Storage.Provider` namespace.
28
+
29
+ This package provides the `winrt.windows.storage.provider` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_storage_provider.cp313-win_amd64.pyd,sha256=tW776B248nsOzf1kbbDypI70-WkEb9DvFg6vaHGAxYQ,350720
2
+ winrt/_winrt_windows_storage_provider.pyi,sha256=SOPypu0juvc3CZ8eHNRuk5JS6TpYuy4EP9ks-hLWCh0,20136
3
+ winrt/windows/storage/provider/__init__.py,sha256=Cfn5KUiDiJBlxjBJ8bS2l_2aTdAAK6flonS13fExfaQ,6768
4
+ winrt/windows/storage/provider/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.Storage.Provider-2.2.0.dist-info/METADATA,sha256=x0X7ugQKywWoPxULgkZZ84pbUQCZqvKEgMsLbWr0ZFY,1337
6
+ winrt_Windows.Storage.Provider-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
7
+ winrt_Windows.Storage.Provider-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.Storage.Provider-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_amd64
5
+