winrt-Windows.ApplicationModel.Resources.Management 2.0.1__tar.gz → 2.1.0__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.
- {winrt_windows_applicationmodel_resources_management-2.0.1 → winrt_windows_applicationmodel_resources_management-2.1.0}/PKG-INFO +4 -4
- winrt_windows_applicationmodel_resources_management-2.1.0/all-requirements.txt +4 -0
- {winrt_windows_applicationmodel_resources_management-2.0.1 → winrt_windows_applicationmodel_resources_management-2.1.0}/py.Windows.ApplicationModel.Resources.Management.cpp +84 -95
- winrt_windows_applicationmodel_resources_management-2.1.0/pywinrt-version.txt +1 -0
- {winrt_windows_applicationmodel_resources_management-2.0.1 → winrt_windows_applicationmodel_resources_management-2.1.0}/requirements.txt +2 -2
- {winrt_windows_applicationmodel_resources_management-2.0.1 → winrt_windows_applicationmodel_resources_management-2.1.0}/winrt/_winrt_windows_applicationmodel_resources_management.pyi +10 -10
- {winrt_windows_applicationmodel_resources_management-2.0.1 → winrt_windows_applicationmodel_resources_management-2.1.0}/winrt/windows/applicationmodel/resources/management/__init__.py +1 -1
- {winrt_windows_applicationmodel_resources_management-2.0.1 → winrt_windows_applicationmodel_resources_management-2.1.0}/winrt_Windows.ApplicationModel.Resources.Management.egg-info/PKG-INFO +4 -4
- winrt_windows_applicationmodel_resources_management-2.1.0/winrt_Windows.ApplicationModel.Resources.Management.egg-info/requires.txt +5 -0
- winrt_windows_applicationmodel_resources_management-2.0.1/all-requirements.txt +0 -4
- winrt_windows_applicationmodel_resources_management-2.0.1/pywinrt-version.txt +0 -1
- winrt_windows_applicationmodel_resources_management-2.0.1/winrt_Windows.ApplicationModel.Resources.Management.egg-info/requires.txt +0 -5
- {winrt_windows_applicationmodel_resources_management-2.0.1 → winrt_windows_applicationmodel_resources_management-2.1.0}/README.md +0 -0
- {winrt_windows_applicationmodel_resources_management-2.0.1 → winrt_windows_applicationmodel_resources_management-2.1.0}/pyproject.toml +0 -0
- {winrt_windows_applicationmodel_resources_management-2.0.1 → winrt_windows_applicationmodel_resources_management-2.1.0}/setup.cfg +0 -0
- {winrt_windows_applicationmodel_resources_management-2.0.1 → winrt_windows_applicationmodel_resources_management-2.1.0}/setup.py +0 -0
- {winrt_windows_applicationmodel_resources_management-2.0.1 → winrt_windows_applicationmodel_resources_management-2.1.0}/winrt/windows/applicationmodel/resources/management/py.typed +0 -0
- {winrt_windows_applicationmodel_resources_management-2.0.1 → winrt_windows_applicationmodel_resources_management-2.1.0}/winrt_Windows.ApplicationModel.Resources.Management.egg-info/SOURCES.txt +0 -0
- {winrt_windows_applicationmodel_resources_management-2.0.1 → winrt_windows_applicationmodel_resources_management-2.1.0}/winrt_Windows.ApplicationModel.Resources.Management.egg-info/dependency_links.txt +0 -0
- {winrt_windows_applicationmodel_resources_management-2.0.1 → winrt_windows_applicationmodel_resources_management-2.1.0}/winrt_Windows.ApplicationModel.Resources.Management.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.Resources.Management
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -12,10 +12,10 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: <3.13,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.ApplicationModel.Resources.Management.h"
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
namespace py::cpp::Windows::ApplicationModel::Resources::Management
|
|
7
6
|
{
|
|
8
7
|
// ----- IndexedResourceCandidate class --------------------
|
|
@@ -28,14 +27,14 @@ namespace py::cpp::Windows::ApplicationModel::Resources::Management
|
|
|
28
27
|
|
|
29
28
|
if (arg_count == 1)
|
|
30
29
|
{
|
|
31
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Resources.Management.IndexedResourceCandidate", L"GetQualifierValue", 1))
|
|
32
|
-
{
|
|
33
|
-
py::set_arg_count_version_error(1);
|
|
34
|
-
return nullptr;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
30
|
try
|
|
38
31
|
{
|
|
32
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Resources.Management.IndexedResourceCandidate", L"GetQualifierValue", 1))
|
|
33
|
+
{
|
|
34
|
+
py::set_arg_count_version_error(1);
|
|
35
|
+
return nullptr;
|
|
36
|
+
}
|
|
37
|
+
|
|
39
38
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
40
39
|
|
|
41
40
|
return py::convert(self->obj.GetQualifierValue(param0));
|
|
@@ -55,14 +54,14 @@ namespace py::cpp::Windows::ApplicationModel::Resources::Management
|
|
|
55
54
|
|
|
56
55
|
static PyObject* IndexedResourceCandidate_get_Metadata(py::wrapper::Windows::ApplicationModel::Resources::Management::IndexedResourceCandidate* self, void* /*unused*/) noexcept
|
|
57
56
|
{
|
|
58
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Resources.Management.IndexedResourceCandidate", L"Metadata"))
|
|
59
|
-
{
|
|
60
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
61
|
-
return nullptr;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
57
|
try
|
|
65
58
|
{
|
|
59
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Resources.Management.IndexedResourceCandidate", L"Metadata"))
|
|
60
|
+
{
|
|
61
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
62
|
+
return nullptr;
|
|
63
|
+
}
|
|
64
|
+
|
|
66
65
|
return py::convert(self->obj.Metadata());
|
|
67
66
|
}
|
|
68
67
|
catch (...)
|
|
@@ -74,14 +73,14 @@ namespace py::cpp::Windows::ApplicationModel::Resources::Management
|
|
|
74
73
|
|
|
75
74
|
static PyObject* IndexedResourceCandidate_get_Qualifiers(py::wrapper::Windows::ApplicationModel::Resources::Management::IndexedResourceCandidate* self, void* /*unused*/) noexcept
|
|
76
75
|
{
|
|
77
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Resources.Management.IndexedResourceCandidate", L"Qualifiers"))
|
|
78
|
-
{
|
|
79
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
80
|
-
return nullptr;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
76
|
try
|
|
84
77
|
{
|
|
78
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Resources.Management.IndexedResourceCandidate", L"Qualifiers"))
|
|
79
|
+
{
|
|
80
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
81
|
+
return nullptr;
|
|
82
|
+
}
|
|
83
|
+
|
|
85
84
|
return py::convert(self->obj.Qualifiers());
|
|
86
85
|
}
|
|
87
86
|
catch (...)
|
|
@@ -93,14 +92,14 @@ namespace py::cpp::Windows::ApplicationModel::Resources::Management
|
|
|
93
92
|
|
|
94
93
|
static PyObject* IndexedResourceCandidate_get_Type(py::wrapper::Windows::ApplicationModel::Resources::Management::IndexedResourceCandidate* self, void* /*unused*/) noexcept
|
|
95
94
|
{
|
|
96
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Resources.Management.IndexedResourceCandidate", L"Type"))
|
|
97
|
-
{
|
|
98
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
99
|
-
return nullptr;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
95
|
try
|
|
103
96
|
{
|
|
97
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Resources.Management.IndexedResourceCandidate", L"Type"))
|
|
98
|
+
{
|
|
99
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
100
|
+
return nullptr;
|
|
101
|
+
}
|
|
102
|
+
|
|
104
103
|
return py::convert(self->obj.Type());
|
|
105
104
|
}
|
|
106
105
|
catch (...)
|
|
@@ -112,14 +111,14 @@ namespace py::cpp::Windows::ApplicationModel::Resources::Management
|
|
|
112
111
|
|
|
113
112
|
static PyObject* IndexedResourceCandidate_get_Uri(py::wrapper::Windows::ApplicationModel::Resources::Management::IndexedResourceCandidate* self, void* /*unused*/) noexcept
|
|
114
113
|
{
|
|
115
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Resources.Management.IndexedResourceCandidate", L"Uri"))
|
|
116
|
-
{
|
|
117
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
118
|
-
return nullptr;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
114
|
try
|
|
122
115
|
{
|
|
116
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Resources.Management.IndexedResourceCandidate", L"Uri"))
|
|
117
|
+
{
|
|
118
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
119
|
+
return nullptr;
|
|
120
|
+
}
|
|
121
|
+
|
|
123
122
|
return py::convert(self->obj.Uri());
|
|
124
123
|
}
|
|
125
124
|
catch (...)
|
|
@@ -131,14 +130,14 @@ namespace py::cpp::Windows::ApplicationModel::Resources::Management
|
|
|
131
130
|
|
|
132
131
|
static PyObject* IndexedResourceCandidate_get_ValueAsString(py::wrapper::Windows::ApplicationModel::Resources::Management::IndexedResourceCandidate* self, void* /*unused*/) noexcept
|
|
133
132
|
{
|
|
134
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Resources.Management.IndexedResourceCandidate", L"ValueAsString"))
|
|
135
|
-
{
|
|
136
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
137
|
-
return nullptr;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
133
|
try
|
|
141
134
|
{
|
|
135
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Resources.Management.IndexedResourceCandidate", L"ValueAsString"))
|
|
136
|
+
{
|
|
137
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
138
|
+
return nullptr;
|
|
139
|
+
}
|
|
140
|
+
|
|
142
141
|
return py::convert(self->obj.ValueAsString());
|
|
143
142
|
}
|
|
144
143
|
catch (...)
|
|
@@ -188,23 +187,20 @@ namespace py::cpp::Windows::ApplicationModel::Resources::Management
|
|
|
188
187
|
{ }
|
|
189
188
|
};
|
|
190
189
|
|
|
191
|
-
static PyType_Slot _type_slots_IndexedResourceCandidate[] =
|
|
192
|
-
{
|
|
190
|
+
static PyType_Slot _type_slots_IndexedResourceCandidate[] = {
|
|
193
191
|
{ Py_tp_new, reinterpret_cast<void*>(_new_IndexedResourceCandidate) },
|
|
194
192
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_IndexedResourceCandidate) },
|
|
195
193
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_IndexedResourceCandidate) },
|
|
196
194
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_IndexedResourceCandidate) },
|
|
197
|
-
{ }
|
|
195
|
+
{ }
|
|
198
196
|
};
|
|
199
197
|
|
|
200
|
-
static PyType_Spec type_spec_IndexedResourceCandidate =
|
|
201
|
-
{
|
|
198
|
+
static PyType_Spec type_spec_IndexedResourceCandidate = {
|
|
202
199
|
"winrt._winrt_windows_applicationmodel_resources_management.IndexedResourceCandidate",
|
|
203
200
|
sizeof(py::wrapper::Windows::ApplicationModel::Resources::Management::IndexedResourceCandidate),
|
|
204
201
|
0,
|
|
205
202
|
Py_TPFLAGS_DEFAULT,
|
|
206
|
-
_type_slots_IndexedResourceCandidate
|
|
207
|
-
};
|
|
203
|
+
_type_slots_IndexedResourceCandidate};
|
|
208
204
|
|
|
209
205
|
// ----- IndexedResourceQualifier class --------------------
|
|
210
206
|
|
|
@@ -225,14 +221,14 @@ namespace py::cpp::Windows::ApplicationModel::Resources::Management
|
|
|
225
221
|
|
|
226
222
|
static PyObject* IndexedResourceQualifier_get_QualifierName(py::wrapper::Windows::ApplicationModel::Resources::Management::IndexedResourceQualifier* self, void* /*unused*/) noexcept
|
|
227
223
|
{
|
|
228
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Resources.Management.IndexedResourceQualifier", L"QualifierName"))
|
|
229
|
-
{
|
|
230
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
231
|
-
return nullptr;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
224
|
try
|
|
235
225
|
{
|
|
226
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Resources.Management.IndexedResourceQualifier", L"QualifierName"))
|
|
227
|
+
{
|
|
228
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
229
|
+
return nullptr;
|
|
230
|
+
}
|
|
231
|
+
|
|
236
232
|
return py::convert(self->obj.QualifierName());
|
|
237
233
|
}
|
|
238
234
|
catch (...)
|
|
@@ -244,14 +240,14 @@ namespace py::cpp::Windows::ApplicationModel::Resources::Management
|
|
|
244
240
|
|
|
245
241
|
static PyObject* IndexedResourceQualifier_get_QualifierValue(py::wrapper::Windows::ApplicationModel::Resources::Management::IndexedResourceQualifier* self, void* /*unused*/) noexcept
|
|
246
242
|
{
|
|
247
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Resources.Management.IndexedResourceQualifier", L"QualifierValue"))
|
|
248
|
-
{
|
|
249
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
250
|
-
return nullptr;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
243
|
try
|
|
254
244
|
{
|
|
245
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Resources.Management.IndexedResourceQualifier", L"QualifierValue"))
|
|
246
|
+
{
|
|
247
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
248
|
+
return nullptr;
|
|
249
|
+
}
|
|
250
|
+
|
|
255
251
|
return py::convert(self->obj.QualifierValue());
|
|
256
252
|
}
|
|
257
253
|
catch (...)
|
|
@@ -297,23 +293,20 @@ namespace py::cpp::Windows::ApplicationModel::Resources::Management
|
|
|
297
293
|
{ }
|
|
298
294
|
};
|
|
299
295
|
|
|
300
|
-
static PyType_Slot _type_slots_IndexedResourceQualifier[] =
|
|
301
|
-
{
|
|
296
|
+
static PyType_Slot _type_slots_IndexedResourceQualifier[] = {
|
|
302
297
|
{ Py_tp_new, reinterpret_cast<void*>(_new_IndexedResourceQualifier) },
|
|
303
298
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_IndexedResourceQualifier) },
|
|
304
299
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_IndexedResourceQualifier) },
|
|
305
300
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_IndexedResourceQualifier) },
|
|
306
|
-
{ }
|
|
301
|
+
{ }
|
|
307
302
|
};
|
|
308
303
|
|
|
309
|
-
static PyType_Spec type_spec_IndexedResourceQualifier =
|
|
310
|
-
{
|
|
304
|
+
static PyType_Spec type_spec_IndexedResourceQualifier = {
|
|
311
305
|
"winrt._winrt_windows_applicationmodel_resources_management.IndexedResourceQualifier",
|
|
312
306
|
sizeof(py::wrapper::Windows::ApplicationModel::Resources::Management::IndexedResourceQualifier),
|
|
313
307
|
0,
|
|
314
308
|
Py_TPFLAGS_DEFAULT,
|
|
315
|
-
_type_slots_IndexedResourceQualifier
|
|
316
|
-
};
|
|
309
|
+
_type_slots_IndexedResourceQualifier};
|
|
317
310
|
|
|
318
311
|
// ----- ResourceIndexer class --------------------
|
|
319
312
|
|
|
@@ -378,14 +371,14 @@ namespace py::cpp::Windows::ApplicationModel::Resources::Management
|
|
|
378
371
|
|
|
379
372
|
if (arg_count == 1)
|
|
380
373
|
{
|
|
381
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Resources.Management.ResourceIndexer", L"IndexFileContentsAsync", 1))
|
|
382
|
-
{
|
|
383
|
-
py::set_arg_count_version_error(1);
|
|
384
|
-
return nullptr;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
374
|
try
|
|
388
375
|
{
|
|
376
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Resources.Management.ResourceIndexer", L"IndexFileContentsAsync", 1))
|
|
377
|
+
{
|
|
378
|
+
py::set_arg_count_version_error(1);
|
|
379
|
+
return nullptr;
|
|
380
|
+
}
|
|
381
|
+
|
|
389
382
|
auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 0);
|
|
390
383
|
|
|
391
384
|
return py::convert(self->obj.IndexFileContentsAsync(param0));
|
|
@@ -409,14 +402,14 @@ namespace py::cpp::Windows::ApplicationModel::Resources::Management
|
|
|
409
402
|
|
|
410
403
|
if (arg_count == 1)
|
|
411
404
|
{
|
|
412
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Resources.Management.ResourceIndexer", L"IndexFilePath", 1))
|
|
413
|
-
{
|
|
414
|
-
py::set_arg_count_version_error(1);
|
|
415
|
-
return nullptr;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
405
|
try
|
|
419
406
|
{
|
|
407
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Resources.Management.ResourceIndexer", L"IndexFilePath", 1))
|
|
408
|
+
{
|
|
409
|
+
py::set_arg_count_version_error(1);
|
|
410
|
+
return nullptr;
|
|
411
|
+
}
|
|
412
|
+
|
|
420
413
|
auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 0);
|
|
421
414
|
|
|
422
415
|
return py::convert(self->obj.IndexFilePath(param0));
|
|
@@ -470,39 +463,35 @@ namespace py::cpp::Windows::ApplicationModel::Resources::Management
|
|
|
470
463
|
{ }
|
|
471
464
|
};
|
|
472
465
|
|
|
473
|
-
static PyType_Slot _type_slots_ResourceIndexer[] =
|
|
474
|
-
{
|
|
466
|
+
static PyType_Slot _type_slots_ResourceIndexer[] = {
|
|
475
467
|
{ Py_tp_new, reinterpret_cast<void*>(_new_ResourceIndexer) },
|
|
476
468
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_ResourceIndexer) },
|
|
477
469
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_ResourceIndexer) },
|
|
478
470
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_ResourceIndexer) },
|
|
479
|
-
{ }
|
|
471
|
+
{ }
|
|
480
472
|
};
|
|
481
473
|
|
|
482
|
-
static PyType_Spec type_spec_ResourceIndexer =
|
|
483
|
-
{
|
|
474
|
+
static PyType_Spec type_spec_ResourceIndexer = {
|
|
484
475
|
"winrt._winrt_windows_applicationmodel_resources_management.ResourceIndexer",
|
|
485
476
|
sizeof(py::wrapper::Windows::ApplicationModel::Resources::Management::ResourceIndexer),
|
|
486
477
|
0,
|
|
487
478
|
Py_TPFLAGS_DEFAULT,
|
|
488
|
-
_type_slots_ResourceIndexer
|
|
489
|
-
};
|
|
479
|
+
_type_slots_ResourceIndexer};
|
|
490
480
|
|
|
491
481
|
// ----- Windows.ApplicationModel.Resources.Management Initialization --------------------
|
|
492
|
-
PyDoc_STRVAR(module_doc, "Windows::ApplicationModel::Resources::Management");
|
|
493
482
|
|
|
483
|
+
PyDoc_STRVAR(module_doc, "Windows.ApplicationModel.Resources.Management");
|
|
494
484
|
|
|
495
|
-
static PyModuleDef module_def
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
485
|
+
static PyModuleDef module_def = {
|
|
486
|
+
PyModuleDef_HEAD_INIT,
|
|
487
|
+
"_winrt_windows_applicationmodel_resources_management",
|
|
488
|
+
module_doc,
|
|
489
|
+
0,
|
|
490
|
+
nullptr,
|
|
491
|
+
nullptr,
|
|
492
|
+
nullptr,
|
|
493
|
+
nullptr,
|
|
494
|
+
nullptr};
|
|
506
495
|
} // py::cpp::Windows::ApplicationModel::Resources::Management
|
|
507
496
|
|
|
508
497
|
PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_resources_management(void) noexcept
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.1.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0
|
|
3
|
+
winrt-runtime==2.1.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -9,8 +9,8 @@ from builtins import property as _property
|
|
|
9
9
|
|
|
10
10
|
import winrt._winrt
|
|
11
11
|
import winrt.system
|
|
12
|
-
import winrt.windows.foundation
|
|
13
|
-
import winrt.windows.foundation.collections
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
14
|
|
|
15
15
|
from winrt.windows.applicationmodel.resources.management import IndexedResourceType
|
|
16
16
|
|
|
@@ -22,13 +22,13 @@ class IndexedResourceCandidate(winrt.system.Object):
|
|
|
22
22
|
def _from(obj: winrt.system.Object, /) -> IndexedResourceCandidate: ...
|
|
23
23
|
def get_qualifier_value(self, qualifier_name: str, /) -> str: ...
|
|
24
24
|
@_property
|
|
25
|
-
def metadata(self) -> typing.Optional[
|
|
25
|
+
def metadata(self) -> typing.Optional[windows_foundation_collections.IMapView[str, str]]: ...
|
|
26
26
|
@_property
|
|
27
|
-
def qualifiers(self) -> typing.Optional[
|
|
27
|
+
def qualifiers(self) -> typing.Optional[windows_foundation_collections.IVectorView[IndexedResourceQualifier]]: ...
|
|
28
28
|
@_property
|
|
29
29
|
def type(self) -> IndexedResourceType: ...
|
|
30
30
|
@_property
|
|
31
|
-
def uri(self) -> typing.Optional[
|
|
31
|
+
def uri(self) -> typing.Optional[windows_foundation.Uri]: ...
|
|
32
32
|
@_property
|
|
33
33
|
def value_as_string(self) -> str: ...
|
|
34
34
|
|
|
@@ -46,9 +46,9 @@ class ResourceIndexer(winrt.system.Object):
|
|
|
46
46
|
@staticmethod
|
|
47
47
|
def _from(obj: winrt.system.Object, /) -> ResourceIndexer: ...
|
|
48
48
|
@typing.overload
|
|
49
|
-
def __new__(cls: typing.Type[ResourceIndexer], project_root: typing.Optional[
|
|
49
|
+
def __new__(cls: typing.Type[ResourceIndexer], project_root: typing.Optional[windows_foundation.Uri], extension_dll_path: typing.Optional[windows_foundation.Uri]) -> ResourceIndexer: ...
|
|
50
50
|
@typing.overload
|
|
51
|
-
def __new__(cls: typing.Type[ResourceIndexer], project_root: typing.Optional[
|
|
52
|
-
def index_file_contents_async(self, file: typing.Optional[
|
|
53
|
-
def index_file_path(self, file_path: typing.Optional[
|
|
51
|
+
def __new__(cls: typing.Type[ResourceIndexer], project_root: typing.Optional[windows_foundation.Uri]) -> ResourceIndexer: ...
|
|
52
|
+
def index_file_contents_async(self, file: typing.Optional[windows_foundation.Uri], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[IndexedResourceCandidate]]: ...
|
|
53
|
+
def index_file_path(self, file_path: typing.Optional[windows_foundation.Uri], /) -> typing.Optional[IndexedResourceCandidate]: ...
|
|
54
54
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.Resources.Management
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -12,10 +12,10 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: <3.13,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|