winrt-Windows.ApplicationModel.Resources.Core 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,350 @@
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.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.applicationmodel.resources.core import ResourceCandidateKind, ResourceQualifierPersistence
19
+
20
+ Self = typing.TypeVar('Self')
21
+
22
+ @typing.final
23
+ class ResourceLayoutInfo:
24
+ @_property
25
+ def major_version(self) -> winrt.system.UInt32: ...
26
+ @_property
27
+ def minor_version(self) -> winrt.system.UInt32: ...
28
+ @_property
29
+ def resource_subtree_count(self) -> winrt.system.UInt32: ...
30
+ @_property
31
+ def named_resource_count(self) -> winrt.system.UInt32: ...
32
+ @_property
33
+ def checksum(self) -> winrt.system.Int32: ...
34
+ def __new__(cls, major_version: winrt.system.UInt32 = 0, minor_version: winrt.system.UInt32 = 0, resource_subtree_count: winrt.system.UInt32 = 0, named_resource_count: winrt.system.UInt32 = 0, checksum: winrt.system.Int32 = 0) -> ResourceLayoutInfo: ...
35
+ def __replace__(self, /, **changes: typing.Any) -> ResourceLayoutInfo: ...
36
+ def unpack(self) -> typing.Tuple[winrt.system.UInt32, winrt.system.UInt32, winrt.system.UInt32, winrt.system.UInt32, winrt.system.Int32]: ...
37
+
38
+ @typing.final
39
+ class NamedResource(winrt.system.Object):
40
+ # Windows.ApplicationModel.Resources.Core.ResourceCandidate Windows.ApplicationModel.Resources.Core.NamedResource::Resolve()
41
+ def resolve(self) -> ResourceCandidate: ...
42
+ # Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Resources.Core.ResourceCandidate> Windows.ApplicationModel.Resources.Core.NamedResource::ResolveAll()
43
+ def resolve_all(self) -> typing.Sequence[ResourceCandidate]: ...
44
+ # Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Resources.Core.ResourceCandidate> Windows.ApplicationModel.Resources.Core.NamedResource::ResolveAll(Windows.ApplicationModel.Resources.Core.ResourceContext)
45
+ def resolve_all_for_context(self, resource_context: ResourceContext, /) -> typing.Sequence[ResourceCandidate]: ...
46
+ # Windows.ApplicationModel.Resources.Core.ResourceCandidate Windows.ApplicationModel.Resources.Core.NamedResource::Resolve(Windows.ApplicationModel.Resources.Core.ResourceContext)
47
+ def resolve_for_context(self, resource_context: ResourceContext, /) -> ResourceCandidate: ...
48
+ # Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Resources.Core.ResourceCandidate> Windows.ApplicationModel.Resources.Core.NamedResource::get_Candidates()
49
+ @_property
50
+ def candidates(self) -> typing.Sequence[ResourceCandidate]: ...
51
+ # Windows.Foundation.Uri Windows.ApplicationModel.Resources.Core.NamedResource::get_Uri()
52
+ @_property
53
+ def uri(self) -> windows_foundation.Uri: ...
54
+
55
+ @typing.final
56
+ class ResourceCandidate(winrt.system.Object):
57
+ # System.String Windows.ApplicationModel.Resources.Core.ResourceCandidate::GetQualifierValue(System.String)
58
+ def get_qualifier_value(self, qualifier_name: str, /) -> str: ...
59
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFile> Windows.ApplicationModel.Resources.Core.ResourceCandidate::GetValueAsFileAsync()
60
+ def get_value_as_file_async(self) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
61
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IRandomAccessStream> Windows.ApplicationModel.Resources.Core.ResourceCandidate::GetValueAsStreamAsync()
62
+ def get_value_as_stream_async(self) -> windows_foundation.IAsyncOperation[windows_storage_streams.IRandomAccessStream]: ...
63
+ # System.Boolean Windows.ApplicationModel.Resources.Core.ResourceCandidate::get_IsDefault()
64
+ @_property
65
+ def is_default(self) -> bool: ...
66
+ # System.Boolean Windows.ApplicationModel.Resources.Core.ResourceCandidate::get_IsMatch()
67
+ @_property
68
+ def is_match(self) -> bool: ...
69
+ # System.Boolean Windows.ApplicationModel.Resources.Core.ResourceCandidate::get_IsMatchAsDefault()
70
+ @_property
71
+ def is_match_as_default(self) -> bool: ...
72
+ # Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Resources.Core.ResourceQualifier> Windows.ApplicationModel.Resources.Core.ResourceCandidate::get_Qualifiers()
73
+ @_property
74
+ def qualifiers(self) -> typing.Sequence[ResourceQualifier]: ...
75
+ # System.String Windows.ApplicationModel.Resources.Core.ResourceCandidate::get_ValueAsString()
76
+ @_property
77
+ def value_as_string(self) -> str: ...
78
+ # Windows.ApplicationModel.Resources.Core.ResourceCandidateKind Windows.ApplicationModel.Resources.Core.ResourceCandidate::get_Kind()
79
+ @_property
80
+ def kind(self) -> ResourceCandidateKind: ...
81
+
82
+ @typing.final
83
+ class ResourceCandidateVectorView(winrt.system.Object, winrt._winrt.Sequence[ResourceCandidate]):
84
+ def __len__(self) -> int: ...
85
+ def __iter__(self) -> typing.Iterator[ResourceCandidate]: ...
86
+ @typing.overload
87
+ def __getitem__(self, index: typing.SupportsIndex) -> ResourceCandidate: ...
88
+ @typing.overload
89
+ def __getitem__(self, index: slice) -> winrt.system.Array[ResourceCandidate]: ...
90
+ # Windows.Foundation.Collections.IIterator`1<Windows.ApplicationModel.Resources.Core.ResourceCandidate> Windows.ApplicationModel.Resources.Core.ResourceCandidateVectorView::First()
91
+ def first(self) -> windows_foundation_collections.IIterator[ResourceCandidate]: ...
92
+ # Windows.ApplicationModel.Resources.Core.ResourceCandidate Windows.ApplicationModel.Resources.Core.ResourceCandidateVectorView::GetAt(System.UInt32)
93
+ def get_at(self, index: winrt.system.UInt32, /) -> ResourceCandidate: ...
94
+ # System.UInt32 Windows.ApplicationModel.Resources.Core.ResourceCandidateVectorView::GetMany(System.UInt32,Windows.ApplicationModel.Resources.Core.ResourceCandidate[])
95
+ def get_many(self, start_index: winrt.system.UInt32, items: typing.Union[winrt.system.Array[ResourceCandidate], winrt.system.WriteableBuffer], /) -> winrt.system.UInt32: ...
96
+ # System.Boolean Windows.ApplicationModel.Resources.Core.ResourceCandidateVectorView::IndexOf(Windows.ApplicationModel.Resources.Core.ResourceCandidate,System.UInt32&)
97
+ def index_of(self, value: ResourceCandidate, /) -> typing.Tuple[bool, winrt.system.UInt32]: ...
98
+ # System.UInt32 Windows.ApplicationModel.Resources.Core.ResourceCandidateVectorView::get_Size()
99
+ @_property
100
+ def size(self) -> winrt.system.UInt32: ...
101
+
102
+ @typing.final
103
+ class ResourceContext_Static(winrt._winrt.IInspectable_Static):
104
+ # Windows.ApplicationModel.Resources.Core.ResourceContext Windows.ApplicationModel.Resources.Core.ResourceContext::CreateMatchingContext(Windows.Foundation.Collections.IIterable`1<Windows.ApplicationModel.Resources.Core.ResourceQualifier>)
105
+ def create_matching_context(cls, result: typing.Iterable[ResourceQualifier], /) -> ResourceContext: ...
106
+ # Windows.ApplicationModel.Resources.Core.ResourceContext Windows.ApplicationModel.Resources.Core.ResourceContext::GetForCurrentView()
107
+ def get_for_current_view(cls) -> ResourceContext: ...
108
+ # Windows.ApplicationModel.Resources.Core.ResourceContext Windows.ApplicationModel.Resources.Core.ResourceContext::GetForUIContext(Windows.UI.UIContext)
109
+ def get_for_ui_context(cls, context: windows_ui.UIContext, /) -> ResourceContext: ...
110
+ # Windows.ApplicationModel.Resources.Core.ResourceContext Windows.ApplicationModel.Resources.Core.ResourceContext::GetForViewIndependentUse()
111
+ def get_for_view_independent_use(cls) -> ResourceContext: ...
112
+ # System.Void Windows.ApplicationModel.Resources.Core.ResourceContext::ResetGlobalQualifierValues()
113
+ def reset_global_qualifier_values(cls) -> None: ...
114
+ # System.Void Windows.ApplicationModel.Resources.Core.ResourceContext::ResetGlobalQualifierValues(Windows.Foundation.Collections.IIterable`1<System.String>)
115
+ def reset_global_qualifier_values_for_specified_qualifiers(cls, qualifier_names: typing.Iterable[str], /) -> None: ...
116
+ # System.Void Windows.ApplicationModel.Resources.Core.ResourceContext::SetGlobalQualifierValue(System.String,System.String)
117
+ def set_global_qualifier_value(cls, key: str, value: str, /) -> None: ...
118
+ # System.Void Windows.ApplicationModel.Resources.Core.ResourceContext::SetGlobalQualifierValue(System.String,System.String,Windows.ApplicationModel.Resources.Core.ResourceQualifierPersistence)
119
+ def set_global_qualifier_value_with_persistence(cls, key: str, value: str, persistence: ResourceQualifierPersistence, /) -> None: ...
120
+
121
+ @typing.final
122
+ class ResourceContext(winrt.system.Object, metaclass=ResourceContext_Static):
123
+ def __new__(cls: typing.Type[Self]) -> Self: ...
124
+ # Windows.ApplicationModel.Resources.Core.ResourceContext Windows.ApplicationModel.Resources.Core.ResourceContext::Clone()
125
+ def clone(self) -> ResourceContext: ...
126
+ # System.Void Windows.ApplicationModel.Resources.Core.ResourceContext::OverrideToMatch(Windows.Foundation.Collections.IIterable`1<Windows.ApplicationModel.Resources.Core.ResourceQualifier>)
127
+ def override_to_match(self, result: typing.Iterable[ResourceQualifier], /) -> None: ...
128
+ # System.Void Windows.ApplicationModel.Resources.Core.ResourceContext::Reset()
129
+ def reset(self) -> None: ...
130
+ # System.Void Windows.ApplicationModel.Resources.Core.ResourceContext::Reset(Windows.Foundation.Collections.IIterable`1<System.String>)
131
+ def reset_qualifier_values(self, qualifier_names: typing.Iterable[str], /) -> None: ...
132
+ # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.ApplicationModel.Resources.Core.ResourceContext::get_Languages()
133
+ @_property
134
+ def languages(self) -> typing.Sequence[str]: ...
135
+ # System.Void Windows.ApplicationModel.Resources.Core.ResourceContext::put_Languages(Windows.Foundation.Collections.IVectorView`1<System.String>)
136
+ @languages.setter
137
+ def languages(self, value: typing.Sequence[str]) -> None: ...
138
+ # Windows.Foundation.Collections.IObservableMap`2<System.String,System.String> Windows.ApplicationModel.Resources.Core.ResourceContext::get_QualifierValues()
139
+ @_property
140
+ def qualifier_values(self) -> windows_foundation_collections.IObservableMap[str, str]: ...
141
+
142
+ @typing.final
143
+ class ResourceContextLanguagesVectorView(winrt.system.Object, winrt._winrt.Sequence[str]):
144
+ def __len__(self) -> int: ...
145
+ def __iter__(self) -> typing.Iterator[str]: ...
146
+ @typing.overload
147
+ def __getitem__(self, index: typing.SupportsIndex) -> str: ...
148
+ @typing.overload
149
+ def __getitem__(self, index: slice) -> winrt.system.Array[str]: ...
150
+ # Windows.Foundation.Collections.IIterator`1<System.String> Windows.ApplicationModel.Resources.Core.ResourceContextLanguagesVectorView::First()
151
+ def first(self) -> windows_foundation_collections.IIterator[str]: ...
152
+ # System.String Windows.ApplicationModel.Resources.Core.ResourceContextLanguagesVectorView::GetAt(System.UInt32)
153
+ def get_at(self, index: winrt.system.UInt32, /) -> str: ...
154
+ # System.UInt32 Windows.ApplicationModel.Resources.Core.ResourceContextLanguagesVectorView::GetMany(System.UInt32,System.String[])
155
+ def get_many(self, start_index: winrt.system.UInt32, items: typing.Union[winrt.system.Array[str], winrt.system.WriteableBuffer], /) -> winrt.system.UInt32: ...
156
+ # System.Boolean Windows.ApplicationModel.Resources.Core.ResourceContextLanguagesVectorView::IndexOf(System.String,System.UInt32&)
157
+ def index_of(self, value: str, /) -> typing.Tuple[bool, winrt.system.UInt32]: ...
158
+ # System.UInt32 Windows.ApplicationModel.Resources.Core.ResourceContextLanguagesVectorView::get_Size()
159
+ @_property
160
+ def size(self) -> winrt.system.UInt32: ...
161
+
162
+ @typing.final
163
+ class ResourceManager_Static(winrt._winrt.IInspectable_Static):
164
+ # System.Boolean Windows.ApplicationModel.Resources.Core.ResourceManager::IsResourceReference(System.String)
165
+ def is_resource_reference(cls, resource_reference: str, /) -> bool: ...
166
+ # Windows.ApplicationModel.Resources.Core.ResourceManager Windows.ApplicationModel.Resources.Core.ResourceManager::get_Current()
167
+ @_property
168
+ def current(cls) -> ResourceManager: ...
169
+
170
+ @typing.final
171
+ class ResourceManager(winrt.system.Object, metaclass=ResourceManager_Static):
172
+ # Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Resources.Core.NamedResource> Windows.ApplicationModel.Resources.Core.ResourceManager::GetAllNamedResourcesForPackage(System.String,Windows.ApplicationModel.Resources.Core.ResourceLayoutInfo)
173
+ def get_all_named_resources_for_package(self, package_name: str, resource_layout_info: typing.Union[ResourceLayoutInfo, typing.Tuple[winrt.system.UInt32, winrt.system.UInt32, winrt.system.UInt32, winrt.system.UInt32, winrt.system.Int32]], /) -> typing.Sequence[NamedResource]: ...
174
+ # Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Resources.Core.ResourceMap> Windows.ApplicationModel.Resources.Core.ResourceManager::GetAllSubtreesForPackage(System.String,Windows.ApplicationModel.Resources.Core.ResourceLayoutInfo)
175
+ def get_all_subtrees_for_package(self, package_name: str, resource_layout_info: typing.Union[ResourceLayoutInfo, typing.Tuple[winrt.system.UInt32, winrt.system.UInt32, winrt.system.UInt32, winrt.system.UInt32, winrt.system.Int32]], /) -> typing.Sequence[ResourceMap]: ...
176
+ # System.Void Windows.ApplicationModel.Resources.Core.ResourceManager::LoadPriFiles(Windows.Foundation.Collections.IIterable`1<Windows.Storage.IStorageFile>)
177
+ def load_pri_files(self, files: typing.Iterable[windows_storage.IStorageFile], /) -> None: ...
178
+ # System.Void Windows.ApplicationModel.Resources.Core.ResourceManager::UnloadPriFiles(Windows.Foundation.Collections.IIterable`1<Windows.Storage.IStorageFile>)
179
+ def unload_pri_files(self, files: typing.Iterable[windows_storage.IStorageFile], /) -> None: ...
180
+ # Windows.Foundation.Collections.IMapView`2<System.String,Windows.ApplicationModel.Resources.Core.ResourceMap> Windows.ApplicationModel.Resources.Core.ResourceManager::get_AllResourceMaps()
181
+ @_property
182
+ def all_resource_maps(self) -> typing.Mapping[str, ResourceMap]: ...
183
+ # Windows.ApplicationModel.Resources.Core.ResourceContext Windows.ApplicationModel.Resources.Core.ResourceManager::get_DefaultContext()
184
+ @_property
185
+ def default_context(self) -> ResourceContext: ...
186
+ # Windows.ApplicationModel.Resources.Core.ResourceMap Windows.ApplicationModel.Resources.Core.ResourceManager::get_MainResourceMap()
187
+ @_property
188
+ def main_resource_map(self) -> ResourceMap: ...
189
+
190
+ @typing.final
191
+ class ResourceMap(winrt.system.Object, winrt._winrt.Mapping[str, NamedResource]):
192
+ def __len__(self) -> int: ...
193
+ def __iter__(self) -> typing.Iterator[str]: ...
194
+ def __contains__(self, key: object) -> bool: ...
195
+ def __getitem__(self, key: str) -> NamedResource: ...
196
+ # Windows.Foundation.Collections.IIterator`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,Windows.ApplicationModel.Resources.Core.NamedResource>> Windows.ApplicationModel.Resources.Core.ResourceMap::First()
197
+ def first(self) -> windows_foundation_collections.IIterator[windows_foundation_collections.IKeyValuePair[str, NamedResource]]: ...
198
+ # Windows.ApplicationModel.Resources.Core.ResourceMap Windows.ApplicationModel.Resources.Core.ResourceMap::GetSubtree(System.String)
199
+ def get_subtree(self, reference: str, /) -> ResourceMap: ...
200
+ # Windows.ApplicationModel.Resources.Core.ResourceCandidate Windows.ApplicationModel.Resources.Core.ResourceMap::GetValue(System.String)
201
+ def get_value(self, resource: str, /) -> ResourceCandidate: ...
202
+ # Windows.ApplicationModel.Resources.Core.ResourceCandidate Windows.ApplicationModel.Resources.Core.ResourceMap::GetValue(System.String,Windows.ApplicationModel.Resources.Core.ResourceContext)
203
+ def get_value_for_context(self, resource: str, context: ResourceContext, /) -> ResourceCandidate: ...
204
+ # System.Boolean Windows.ApplicationModel.Resources.Core.ResourceMap::HasKey(System.String)
205
+ def has_key(self, key: str, /) -> bool: ...
206
+ # Windows.ApplicationModel.Resources.Core.NamedResource Windows.ApplicationModel.Resources.Core.ResourceMap::Lookup(System.String)
207
+ def lookup(self, key: str, /) -> NamedResource: ...
208
+ # System.Void Windows.ApplicationModel.Resources.Core.ResourceMap::Split(Windows.Foundation.Collections.IMapView`2<System.String,Windows.ApplicationModel.Resources.Core.NamedResource>&,Windows.Foundation.Collections.IMapView`2<System.String,Windows.ApplicationModel.Resources.Core.NamedResource>&)
209
+ def split(self) -> typing.Tuple[typing.Mapping[str, NamedResource], typing.Mapping[str, NamedResource]]: ...
210
+ # Windows.Foundation.Uri Windows.ApplicationModel.Resources.Core.ResourceMap::get_Uri()
211
+ @_property
212
+ def uri(self) -> windows_foundation.Uri: ...
213
+ # System.UInt32 Windows.ApplicationModel.Resources.Core.ResourceMap::get_Size()
214
+ @_property
215
+ def size(self) -> winrt.system.UInt32: ...
216
+
217
+ @typing.final
218
+ class ResourceMapIterator(winrt.system.Object, windows_foundation_collections.IIterator[windows_foundation_collections.IKeyValuePair[str, NamedResource]]):
219
+ def __iter__(self: Self) -> Self: ...
220
+ def __next__(self) -> windows_foundation_collections.IKeyValuePair[str, NamedResource]: ...
221
+ # System.UInt32 Windows.ApplicationModel.Resources.Core.ResourceMapIterator::GetMany(Windows.Foundation.Collections.IKeyValuePair`2<System.String,Windows.ApplicationModel.Resources.Core.NamedResource>[])
222
+ def get_many(self, items: typing.Union[winrt.system.Array[windows_foundation_collections.IKeyValuePair[str, NamedResource]], winrt.system.WriteableBuffer], /) -> winrt.system.UInt32: ...
223
+ # System.Boolean Windows.ApplicationModel.Resources.Core.ResourceMapIterator::MoveNext()
224
+ def move_next(self) -> bool: ...
225
+ # Windows.Foundation.Collections.IKeyValuePair`2<System.String,Windows.ApplicationModel.Resources.Core.NamedResource> Windows.ApplicationModel.Resources.Core.ResourceMapIterator::get_Current()
226
+ @_property
227
+ def current(self) -> windows_foundation_collections.IKeyValuePair[str, NamedResource]: ...
228
+ # System.Boolean Windows.ApplicationModel.Resources.Core.ResourceMapIterator::get_HasCurrent()
229
+ @_property
230
+ def has_current(self) -> bool: ...
231
+
232
+ @typing.final
233
+ class ResourceMapMapView(winrt.system.Object, winrt._winrt.Mapping[str, ResourceMap]):
234
+ def __len__(self) -> int: ...
235
+ def __iter__(self) -> typing.Iterator[str]: ...
236
+ def __contains__(self, key: object) -> bool: ...
237
+ def __getitem__(self, key: str) -> ResourceMap: ...
238
+ # Windows.Foundation.Collections.IIterator`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,Windows.ApplicationModel.Resources.Core.ResourceMap>> Windows.ApplicationModel.Resources.Core.ResourceMapMapView::First()
239
+ def first(self) -> windows_foundation_collections.IIterator[windows_foundation_collections.IKeyValuePair[str, ResourceMap]]: ...
240
+ # System.Boolean Windows.ApplicationModel.Resources.Core.ResourceMapMapView::HasKey(System.String)
241
+ def has_key(self, key: str, /) -> bool: ...
242
+ # Windows.ApplicationModel.Resources.Core.ResourceMap Windows.ApplicationModel.Resources.Core.ResourceMapMapView::Lookup(System.String)
243
+ def lookup(self, key: str, /) -> ResourceMap: ...
244
+ # System.Void Windows.ApplicationModel.Resources.Core.ResourceMapMapView::Split(Windows.Foundation.Collections.IMapView`2<System.String,Windows.ApplicationModel.Resources.Core.ResourceMap>&,Windows.Foundation.Collections.IMapView`2<System.String,Windows.ApplicationModel.Resources.Core.ResourceMap>&)
245
+ def split(self) -> typing.Tuple[typing.Mapping[str, ResourceMap], typing.Mapping[str, ResourceMap]]: ...
246
+ # System.UInt32 Windows.ApplicationModel.Resources.Core.ResourceMapMapView::get_Size()
247
+ @_property
248
+ def size(self) -> winrt.system.UInt32: ...
249
+
250
+ @typing.final
251
+ class ResourceMapMapViewIterator(winrt.system.Object, windows_foundation_collections.IIterator[windows_foundation_collections.IKeyValuePair[str, ResourceMap]]):
252
+ def __iter__(self: Self) -> Self: ...
253
+ def __next__(self) -> windows_foundation_collections.IKeyValuePair[str, ResourceMap]: ...
254
+ # System.UInt32 Windows.ApplicationModel.Resources.Core.ResourceMapMapViewIterator::GetMany(Windows.Foundation.Collections.IKeyValuePair`2<System.String,Windows.ApplicationModel.Resources.Core.ResourceMap>[])
255
+ def get_many(self, items: typing.Union[winrt.system.Array[windows_foundation_collections.IKeyValuePair[str, ResourceMap]], winrt.system.WriteableBuffer], /) -> winrt.system.UInt32: ...
256
+ # System.Boolean Windows.ApplicationModel.Resources.Core.ResourceMapMapViewIterator::MoveNext()
257
+ def move_next(self) -> bool: ...
258
+ # Windows.Foundation.Collections.IKeyValuePair`2<System.String,Windows.ApplicationModel.Resources.Core.ResourceMap> Windows.ApplicationModel.Resources.Core.ResourceMapMapViewIterator::get_Current()
259
+ @_property
260
+ def current(self) -> windows_foundation_collections.IKeyValuePair[str, ResourceMap]: ...
261
+ # System.Boolean Windows.ApplicationModel.Resources.Core.ResourceMapMapViewIterator::get_HasCurrent()
262
+ @_property
263
+ def has_current(self) -> bool: ...
264
+
265
+ @typing.final
266
+ class ResourceQualifier(winrt.system.Object):
267
+ # System.Boolean Windows.ApplicationModel.Resources.Core.ResourceQualifier::get_IsDefault()
268
+ @_property
269
+ def is_default(self) -> bool: ...
270
+ # System.Boolean Windows.ApplicationModel.Resources.Core.ResourceQualifier::get_IsMatch()
271
+ @_property
272
+ def is_match(self) -> bool: ...
273
+ # System.String Windows.ApplicationModel.Resources.Core.ResourceQualifier::get_QualifierName()
274
+ @_property
275
+ def qualifier_name(self) -> str: ...
276
+ # System.String Windows.ApplicationModel.Resources.Core.ResourceQualifier::get_QualifierValue()
277
+ @_property
278
+ def qualifier_value(self) -> str: ...
279
+ # System.Double Windows.ApplicationModel.Resources.Core.ResourceQualifier::get_Score()
280
+ @_property
281
+ def score(self) -> winrt.system.Double: ...
282
+
283
+ @typing.final
284
+ class ResourceQualifierMapView(winrt.system.Object, winrt._winrt.Mapping[str, str]):
285
+ def __len__(self) -> int: ...
286
+ def __iter__(self) -> typing.Iterator[str]: ...
287
+ def __contains__(self, key: object) -> bool: ...
288
+ def __getitem__(self, key: str) -> str: ...
289
+ # Windows.Foundation.Collections.IIterator`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.String>> Windows.ApplicationModel.Resources.Core.ResourceQualifierMapView::First()
290
+ def first(self) -> windows_foundation_collections.IIterator[windows_foundation_collections.IKeyValuePair[str, str]]: ...
291
+ # System.Boolean Windows.ApplicationModel.Resources.Core.ResourceQualifierMapView::HasKey(System.String)
292
+ def has_key(self, key: str, /) -> bool: ...
293
+ # System.String Windows.ApplicationModel.Resources.Core.ResourceQualifierMapView::Lookup(System.String)
294
+ def lookup(self, key: str, /) -> str: ...
295
+ # System.Void Windows.ApplicationModel.Resources.Core.ResourceQualifierMapView::Split(Windows.Foundation.Collections.IMapView`2<System.String,System.String>&,Windows.Foundation.Collections.IMapView`2<System.String,System.String>&)
296
+ def split(self) -> typing.Tuple[typing.Mapping[str, str], typing.Mapping[str, str]]: ...
297
+ # System.UInt32 Windows.ApplicationModel.Resources.Core.ResourceQualifierMapView::get_Size()
298
+ @_property
299
+ def size(self) -> winrt.system.UInt32: ...
300
+
301
+ @typing.final
302
+ class ResourceQualifierObservableMap(winrt.system.Object, windows_foundation_collections.IObservableMap[str, str], winrt._winrt.MutableMapping[str, str]):
303
+ def __len__(self) -> int: ...
304
+ def __iter__(self) -> typing.Iterator[str]: ...
305
+ def __contains__(self, key: object) -> bool: ...
306
+ def __getitem__(self, key: str) -> str: ...
307
+ def __setitem__(self, key: str, value: str) -> None: ...
308
+ def __delitem__(self, key: str) -> None: ...
309
+ # System.Void Windows.ApplicationModel.Resources.Core.ResourceQualifierObservableMap::Clear()
310
+ def clear(self) -> None: ...
311
+ # Windows.Foundation.Collections.IIterator`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.String>> Windows.ApplicationModel.Resources.Core.ResourceQualifierObservableMap::First()
312
+ def first(self) -> windows_foundation_collections.IIterator[windows_foundation_collections.IKeyValuePair[str, str]]: ...
313
+ # Windows.Foundation.Collections.IMapView`2<System.String,System.String> Windows.ApplicationModel.Resources.Core.ResourceQualifierObservableMap::GetView()
314
+ def get_view(self) -> typing.Mapping[str, str]: ...
315
+ # System.Boolean Windows.ApplicationModel.Resources.Core.ResourceQualifierObservableMap::HasKey(System.String)
316
+ def has_key(self, key: str, /) -> bool: ...
317
+ # System.Boolean Windows.ApplicationModel.Resources.Core.ResourceQualifierObservableMap::Insert(System.String,System.String)
318
+ def insert(self, key: str, value: str, /) -> bool: ...
319
+ # System.String Windows.ApplicationModel.Resources.Core.ResourceQualifierObservableMap::Lookup(System.String)
320
+ def lookup(self, key: str, /) -> str: ...
321
+ # System.Void Windows.ApplicationModel.Resources.Core.ResourceQualifierObservableMap::Remove(System.String)
322
+ def remove(self, key: str, /) -> None: ...
323
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Resources.Core.ResourceQualifierObservableMap::add_MapChanged(Windows.Foundation.Collections.MapChangedEventHandler`2<System.String,System.String>)
324
+ def add_map_changed(self, vhnd: windows_foundation_collections.MapChangedEventHandler[str, str], /) -> windows_foundation.EventRegistrationToken: ...
325
+ # System.Void Windows.ApplicationModel.Resources.Core.ResourceQualifierObservableMap::remove_MapChanged(Windows.Foundation.EventRegistrationToken)
326
+ def remove_map_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
327
+ # System.UInt32 Windows.ApplicationModel.Resources.Core.ResourceQualifierObservableMap::get_Size()
328
+ @_property
329
+ def size(self) -> winrt.system.UInt32: ...
330
+
331
+ @typing.final
332
+ class ResourceQualifierVectorView(winrt.system.Object, winrt._winrt.Sequence[ResourceQualifier]):
333
+ def __len__(self) -> int: ...
334
+ def __iter__(self) -> typing.Iterator[ResourceQualifier]: ...
335
+ @typing.overload
336
+ def __getitem__(self, index: typing.SupportsIndex) -> ResourceQualifier: ...
337
+ @typing.overload
338
+ def __getitem__(self, index: slice) -> winrt.system.Array[ResourceQualifier]: ...
339
+ # Windows.Foundation.Collections.IIterator`1<Windows.ApplicationModel.Resources.Core.ResourceQualifier> Windows.ApplicationModel.Resources.Core.ResourceQualifierVectorView::First()
340
+ def first(self) -> windows_foundation_collections.IIterator[ResourceQualifier]: ...
341
+ # Windows.ApplicationModel.Resources.Core.ResourceQualifier Windows.ApplicationModel.Resources.Core.ResourceQualifierVectorView::GetAt(System.UInt32)
342
+ def get_at(self, index: winrt.system.UInt32, /) -> ResourceQualifier: ...
343
+ # System.UInt32 Windows.ApplicationModel.Resources.Core.ResourceQualifierVectorView::GetMany(System.UInt32,Windows.ApplicationModel.Resources.Core.ResourceQualifier[])
344
+ def get_many(self, start_index: winrt.system.UInt32, items: typing.Union[winrt.system.Array[ResourceQualifier], winrt.system.WriteableBuffer], /) -> winrt.system.UInt32: ...
345
+ # System.Boolean Windows.ApplicationModel.Resources.Core.ResourceQualifierVectorView::IndexOf(Windows.ApplicationModel.Resources.Core.ResourceQualifier,System.UInt32&)
346
+ def index_of(self, value: ResourceQualifier, /) -> typing.Tuple[bool, winrt.system.UInt32]: ...
347
+ # System.UInt32 Windows.ApplicationModel.Resources.Core.ResourceQualifierVectorView::get_Size()
348
+ @_property
349
+ def size(self) -> winrt.system.UInt32: ...
350
+
@@ -0,0 +1,60 @@
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.runtime._internals
6
+ import winrt.system
7
+ from winrt._winrt_windows_applicationmodel_resources_core import (
8
+ ResourceLayoutInfo,
9
+ NamedResource,
10
+ ResourceCandidate,
11
+ ResourceCandidateVectorView,
12
+ ResourceContext,
13
+ ResourceContextLanguagesVectorView,
14
+ ResourceManager,
15
+ ResourceMap,
16
+ ResourceMapIterator,
17
+ ResourceMapMapView,
18
+ ResourceMapMapViewIterator,
19
+ ResourceQualifier,
20
+ ResourceQualifierMapView,
21
+ ResourceQualifierObservableMap,
22
+ ResourceQualifierVectorView,
23
+ )
24
+
25
+ __all__ = [
26
+ "ResourceCandidateKind",
27
+ "ResourceQualifierPersistence",
28
+ "ResourceLayoutInfo",
29
+ "NamedResource",
30
+ "ResourceCandidate",
31
+ "ResourceCandidateVectorView",
32
+ "ResourceContext",
33
+ "ResourceContextLanguagesVectorView",
34
+ "ResourceManager",
35
+ "ResourceMap",
36
+ "ResourceMapIterator",
37
+ "ResourceMapMapView",
38
+ "ResourceMapMapViewIterator",
39
+ "ResourceQualifier",
40
+ "ResourceQualifierMapView",
41
+ "ResourceQualifierObservableMap",
42
+ "ResourceQualifierVectorView",
43
+ ]
44
+
45
+ class ResourceCandidateKind(enum.IntEnum):
46
+ STRING = 0
47
+ FILE = 1
48
+ EMBEDDED_DATA = 2
49
+
50
+ class ResourceQualifierPersistence(enum.IntEnum):
51
+ NONE = 0
52
+ LOCAL_MACHINE = 1
53
+
54
+ winrt.runtime._internals.mixin_sequence(ResourceCandidateVectorView)
55
+ winrt.runtime._internals.mixin_sequence(ResourceContextLanguagesVectorView)
56
+ winrt.runtime._internals.mixin_mapping(ResourceMap)
57
+ winrt.runtime._internals.mixin_mapping(ResourceMapMapView)
58
+ winrt.runtime._internals.mixin_mapping(ResourceQualifierMapView)
59
+ winrt.runtime._internals.mixin_mutable_mapping(ResourceQualifierObservableMap)
60
+ winrt.runtime._internals.mixin_sequence(ResourceQualifierVectorView)
File without changes
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.ApplicationModel.Resources.Core
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.Foundation[all]~=3.2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Storage[all]~=3.2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.UI[all]~=3.2.1.0; extra == "all"
22
+
23
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
24
+
25
+ # winrt-Windows.ApplicationModel.Resources.Core
26
+
27
+ Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Resources.Core` namespace.
28
+
29
+ This package provides the `winrt.windows.applicationmodel.resources.core` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_applicationmodel_resources_core.cp314-win_amd64.pyd,sha256=Bqp-XhIhq3yEAQ0MINqNr2m2GrAuU_DrCNIDyIaqTlI,354816
2
+ winrt/_winrt_windows_applicationmodel_resources_core.pyi,sha256=b53Kxp-5hX1GkPEtY-iQmIBbUPrDkOK7Ry79v-Q-p6E,27972
3
+ winrt/windows/applicationmodel/resources/core/__init__.py,sha256=_wksc8g0PaZtMV090cwENMd4bGAvcz-9LV0huDDCtXA,1777
4
+ winrt/windows/applicationmodel/resources/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_applicationmodel_resources_core-3.2.1.dist-info/METADATA,sha256=dC5uAOpclQGL9NdR7JgWMiiRxNa0n1uppxW9WMVDZ8M,1403
6
+ winrt_windows_applicationmodel_resources_core-3.2.1.dist-info/WHEEL,sha256=7k6Wcy588iJYe5lf5K095NLg-uoBTnE-T8eHJ92G4_4,101
7
+ winrt_windows_applicationmodel_resources_core-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_applicationmodel_resources_core-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
+