winrt-Windows.System.Implementation.FileExplorer 2.0.1__tar.gz → 2.2.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_system_implementation_fileexplorer-2.0.1 → winrt_windows_system_implementation_fileexplorer-2.2.0}/PKG-INFO +5 -5
- winrt_windows_system_implementation_fileexplorer-2.2.0/all-requirements.txt +4 -0
- {winrt_windows_system_implementation_fileexplorer-2.0.1 → winrt_windows_system_implementation_fileexplorer-2.2.0}/py.Windows.System.Implementation.FileExplorer.cpp +115 -83
- {winrt_windows_system_implementation_fileexplorer-2.0.1 → winrt_windows_system_implementation_fileexplorer-2.2.0}/pyproject.toml +3 -2
- winrt_windows_system_implementation_fileexplorer-2.2.0/pywinrt-version.txt +1 -0
- {winrt_windows_system_implementation_fileexplorer-2.0.1 → winrt_windows_system_implementation_fileexplorer-2.2.0}/requirements.txt +2 -2
- {winrt_windows_system_implementation_fileexplorer-2.0.1 → winrt_windows_system_implementation_fileexplorer-2.2.0}/winrt/_winrt_windows_system_implementation_fileexplorer.pyi +7 -7
- {winrt_windows_system_implementation_fileexplorer-2.0.1 → winrt_windows_system_implementation_fileexplorer-2.2.0}/winrt/windows/system/implementation/fileexplorer/__init__.py +1 -1
- {winrt_windows_system_implementation_fileexplorer-2.0.1 → winrt_windows_system_implementation_fileexplorer-2.2.0}/winrt_Windows.System.Implementation.FileExplorer.egg-info/PKG-INFO +5 -5
- winrt_windows_system_implementation_fileexplorer-2.2.0/winrt_Windows.System.Implementation.FileExplorer.egg-info/requires.txt +5 -0
- winrt_windows_system_implementation_fileexplorer-2.0.1/all-requirements.txt +0 -4
- winrt_windows_system_implementation_fileexplorer-2.0.1/pywinrt-version.txt +0 -1
- winrt_windows_system_implementation_fileexplorer-2.0.1/winrt_Windows.System.Implementation.FileExplorer.egg-info/requires.txt +0 -5
- {winrt_windows_system_implementation_fileexplorer-2.0.1 → winrt_windows_system_implementation_fileexplorer-2.2.0}/README.md +0 -0
- {winrt_windows_system_implementation_fileexplorer-2.0.1 → winrt_windows_system_implementation_fileexplorer-2.2.0}/setup.cfg +0 -0
- {winrt_windows_system_implementation_fileexplorer-2.0.1 → winrt_windows_system_implementation_fileexplorer-2.2.0}/setup.py +0 -0
- {winrt_windows_system_implementation_fileexplorer-2.0.1 → winrt_windows_system_implementation_fileexplorer-2.2.0}/winrt/windows/system/implementation/fileexplorer/py.typed +0 -0
- {winrt_windows_system_implementation_fileexplorer-2.0.1 → winrt_windows_system_implementation_fileexplorer-2.2.0}/winrt_Windows.System.Implementation.FileExplorer.egg-info/SOURCES.txt +0 -0
- {winrt_windows_system_implementation_fileexplorer-2.0.1 → winrt_windows_system_implementation_fileexplorer-2.2.0}/winrt_Windows.System.Implementation.FileExplorer.egg-info/dependency_links.txt +0 -0
- {winrt_windows_system_implementation_fileexplorer-2.0.1 → winrt_windows_system_implementation_fileexplorer-2.2.0}/winrt_Windows.System.Implementation.FileExplorer.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.System.Implementation.FileExplorer
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,12 +10,12 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python: <3.
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.Web.Http[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Web.Http[all]==2.2.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.2.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.System.Implementation.FileExplorer.h"
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
namespace py::cpp::Windows::System::Implementation::FileExplorer
|
|
7
6
|
{
|
|
8
7
|
// ----- SysStorageProviderEventReceivedEventArgs class --------------------
|
|
@@ -22,7 +21,7 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
|
|
|
22
21
|
{
|
|
23
22
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
24
23
|
|
|
25
|
-
winrt::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs instance{
|
|
24
|
+
winrt::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs instance{param0};
|
|
26
25
|
return py::wrap(instance, type);
|
|
27
26
|
}
|
|
28
27
|
catch (...)
|
|
@@ -48,14 +47,21 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
|
|
|
48
47
|
|
|
49
48
|
static PyObject* SysStorageProviderEventReceivedEventArgs_get_Json(py::wrapper::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs* self, void* /*unused*/) noexcept
|
|
50
49
|
{
|
|
51
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Implementation.FileExplorer.SysStorageProviderEventReceivedEventArgs", L"Json"))
|
|
52
|
-
{
|
|
53
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
54
|
-
return nullptr;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
50
|
try
|
|
58
51
|
{
|
|
52
|
+
static std::optional<bool> is_property_present{};
|
|
53
|
+
|
|
54
|
+
if (!is_property_present.has_value())
|
|
55
|
+
{
|
|
56
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Implementation.FileExplorer.SysStorageProviderEventReceivedEventArgs", L"Json");
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
if (!is_property_present.value())
|
|
60
|
+
{
|
|
61
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
62
|
+
return nullptr;
|
|
63
|
+
}
|
|
64
|
+
|
|
59
65
|
return py::convert(self->obj.Json());
|
|
60
66
|
}
|
|
61
67
|
catch (...)
|
|
@@ -100,23 +106,20 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
|
|
|
100
106
|
{ }
|
|
101
107
|
};
|
|
102
108
|
|
|
103
|
-
static PyType_Slot _type_slots_SysStorageProviderEventReceivedEventArgs[] =
|
|
104
|
-
{
|
|
109
|
+
static PyType_Slot _type_slots_SysStorageProviderEventReceivedEventArgs[] = {
|
|
105
110
|
{ Py_tp_new, reinterpret_cast<void*>(_new_SysStorageProviderEventReceivedEventArgs) },
|
|
106
111
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_SysStorageProviderEventReceivedEventArgs) },
|
|
107
112
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_SysStorageProviderEventReceivedEventArgs) },
|
|
108
113
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_SysStorageProviderEventReceivedEventArgs) },
|
|
109
|
-
{ }
|
|
114
|
+
{ }
|
|
110
115
|
};
|
|
111
116
|
|
|
112
|
-
static PyType_Spec type_spec_SysStorageProviderEventReceivedEventArgs =
|
|
113
|
-
{
|
|
117
|
+
static PyType_Spec type_spec_SysStorageProviderEventReceivedEventArgs = {
|
|
114
118
|
"winrt._winrt_windows_system_implementation_fileexplorer.SysStorageProviderEventReceivedEventArgs",
|
|
115
119
|
sizeof(py::wrapper::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs),
|
|
116
120
|
0,
|
|
117
121
|
Py_TPFLAGS_DEFAULT,
|
|
118
|
-
_type_slots_SysStorageProviderEventReceivedEventArgs
|
|
119
|
-
};
|
|
122
|
+
_type_slots_SysStorageProviderEventReceivedEventArgs};
|
|
120
123
|
|
|
121
124
|
// ----- ISysStorageProviderEventSource interface --------------------
|
|
122
125
|
|
|
@@ -137,14 +140,21 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
|
|
|
137
140
|
|
|
138
141
|
static PyObject* ISysStorageProviderEventSource_add_EventReceived(py::wrapper::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource* self, PyObject* arg) noexcept
|
|
139
142
|
{
|
|
140
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.System.Implementation.FileExplorer.ISysStorageProviderEventSource", L"EventReceived"))
|
|
141
|
-
{
|
|
142
|
-
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
143
|
-
return nullptr;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
143
|
try
|
|
147
144
|
{
|
|
145
|
+
static std::optional<bool> is_event_present{};
|
|
146
|
+
|
|
147
|
+
if (!is_event_present.has_value())
|
|
148
|
+
{
|
|
149
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.System.Implementation.FileExplorer.ISysStorageProviderEventSource", L"EventReceived");
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
if (!is_event_present.value())
|
|
153
|
+
{
|
|
154
|
+
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
155
|
+
return nullptr;
|
|
156
|
+
}
|
|
157
|
+
|
|
148
158
|
auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource, winrt::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs>>(arg);
|
|
149
159
|
|
|
150
160
|
return py::convert(self->obj.EventReceived(param0));
|
|
@@ -158,14 +168,21 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
|
|
|
158
168
|
|
|
159
169
|
static PyObject* ISysStorageProviderEventSource_remove_EventReceived(py::wrapper::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource* self, PyObject* arg) noexcept
|
|
160
170
|
{
|
|
161
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.System.Implementation.FileExplorer.ISysStorageProviderEventSource", L"EventReceived"))
|
|
162
|
-
{
|
|
163
|
-
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
164
|
-
return nullptr;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
171
|
try
|
|
168
172
|
{
|
|
173
|
+
static std::optional<bool> is_event_present{};
|
|
174
|
+
|
|
175
|
+
if (!is_event_present.has_value())
|
|
176
|
+
{
|
|
177
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.System.Implementation.FileExplorer.ISysStorageProviderEventSource", L"EventReceived");
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
if (!is_event_present.value())
|
|
181
|
+
{
|
|
182
|
+
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
183
|
+
return nullptr;
|
|
184
|
+
}
|
|
185
|
+
|
|
169
186
|
auto param0 = py::convert_to<winrt::event_token>(arg);
|
|
170
187
|
|
|
171
188
|
self->obj.EventReceived(param0);
|
|
@@ -214,23 +231,20 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
|
|
|
214
231
|
{ }
|
|
215
232
|
};
|
|
216
233
|
|
|
217
|
-
static PyType_Slot _type_slots_ISysStorageProviderEventSource[] =
|
|
218
|
-
{
|
|
234
|
+
static PyType_Slot _type_slots_ISysStorageProviderEventSource[] = {
|
|
219
235
|
{ Py_tp_new, reinterpret_cast<void*>(_new_ISysStorageProviderEventSource) },
|
|
220
236
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_ISysStorageProviderEventSource) },
|
|
221
237
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_ISysStorageProviderEventSource) },
|
|
222
238
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_ISysStorageProviderEventSource) },
|
|
223
|
-
{ }
|
|
239
|
+
{ }
|
|
224
240
|
};
|
|
225
241
|
|
|
226
|
-
static PyType_Spec type_spec_ISysStorageProviderEventSource =
|
|
227
|
-
{
|
|
242
|
+
static PyType_Spec type_spec_ISysStorageProviderEventSource = {
|
|
228
243
|
"winrt._winrt_windows_system_implementation_fileexplorer.ISysStorageProviderEventSource",
|
|
229
244
|
sizeof(py::wrapper::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource),
|
|
230
245
|
0,
|
|
231
246
|
Py_TPFLAGS_DEFAULT,
|
|
232
|
-
_type_slots_ISysStorageProviderEventSource
|
|
233
|
-
};
|
|
247
|
+
_type_slots_ISysStorageProviderEventSource};
|
|
234
248
|
|
|
235
249
|
// ----- ISysStorageProviderHandlerFactory interface --------------------
|
|
236
250
|
|
|
@@ -255,14 +269,21 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
|
|
|
255
269
|
|
|
256
270
|
if (arg_count == 2)
|
|
257
271
|
{
|
|
258
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Implementation.FileExplorer.ISysStorageProviderHandlerFactory", L"GetEventSource", 2))
|
|
259
|
-
{
|
|
260
|
-
py::set_arg_count_version_error(2);
|
|
261
|
-
return nullptr;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
272
|
try
|
|
265
273
|
{
|
|
274
|
+
static std::optional<bool> is_overload_present{};
|
|
275
|
+
|
|
276
|
+
if (!is_overload_present.has_value())
|
|
277
|
+
{
|
|
278
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Implementation.FileExplorer.ISysStorageProviderHandlerFactory", L"GetEventSource", 2);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
if (!is_overload_present.value())
|
|
282
|
+
{
|
|
283
|
+
py::set_arg_count_version_error(2);
|
|
284
|
+
return nullptr;
|
|
285
|
+
}
|
|
286
|
+
|
|
266
287
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
267
288
|
auto param1 = py::convert_to<winrt::hstring>(args, 1);
|
|
268
289
|
|
|
@@ -287,14 +308,21 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
|
|
|
287
308
|
|
|
288
309
|
if (arg_count == 1)
|
|
289
310
|
{
|
|
290
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Implementation.FileExplorer.ISysStorageProviderHandlerFactory", L"GetHttpRequestProvider", 1))
|
|
291
|
-
{
|
|
292
|
-
py::set_arg_count_version_error(1);
|
|
293
|
-
return nullptr;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
311
|
try
|
|
297
312
|
{
|
|
313
|
+
static std::optional<bool> is_overload_present{};
|
|
314
|
+
|
|
315
|
+
if (!is_overload_present.has_value())
|
|
316
|
+
{
|
|
317
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Implementation.FileExplorer.ISysStorageProviderHandlerFactory", L"GetHttpRequestProvider", 1);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
if (!is_overload_present.value())
|
|
321
|
+
{
|
|
322
|
+
py::set_arg_count_version_error(1);
|
|
323
|
+
return nullptr;
|
|
324
|
+
}
|
|
325
|
+
|
|
298
326
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
299
327
|
|
|
300
328
|
return py::convert(self->obj.GetHttpRequestProvider(param0));
|
|
@@ -348,23 +376,20 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
|
|
|
348
376
|
{ }
|
|
349
377
|
};
|
|
350
378
|
|
|
351
|
-
static PyType_Slot _type_slots_ISysStorageProviderHandlerFactory[] =
|
|
352
|
-
{
|
|
379
|
+
static PyType_Slot _type_slots_ISysStorageProviderHandlerFactory[] = {
|
|
353
380
|
{ Py_tp_new, reinterpret_cast<void*>(_new_ISysStorageProviderHandlerFactory) },
|
|
354
381
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_ISysStorageProviderHandlerFactory) },
|
|
355
382
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_ISysStorageProviderHandlerFactory) },
|
|
356
383
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_ISysStorageProviderHandlerFactory) },
|
|
357
|
-
{ }
|
|
384
|
+
{ }
|
|
358
385
|
};
|
|
359
386
|
|
|
360
|
-
static PyType_Spec type_spec_ISysStorageProviderHandlerFactory =
|
|
361
|
-
{
|
|
387
|
+
static PyType_Spec type_spec_ISysStorageProviderHandlerFactory = {
|
|
362
388
|
"winrt._winrt_windows_system_implementation_fileexplorer.ISysStorageProviderHandlerFactory",
|
|
363
389
|
sizeof(py::wrapper::Windows::System::Implementation::FileExplorer::ISysStorageProviderHandlerFactory),
|
|
364
390
|
0,
|
|
365
391
|
Py_TPFLAGS_DEFAULT,
|
|
366
|
-
_type_slots_ISysStorageProviderHandlerFactory
|
|
367
|
-
};
|
|
392
|
+
_type_slots_ISysStorageProviderHandlerFactory};
|
|
368
393
|
|
|
369
394
|
// ----- ISysStorageProviderHttpRequestProvider interface --------------------
|
|
370
395
|
|
|
@@ -389,14 +414,21 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
|
|
|
389
414
|
|
|
390
415
|
if (arg_count == 1)
|
|
391
416
|
{
|
|
392
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Implementation.FileExplorer.ISysStorageProviderHttpRequestProvider", L"SendRequestAsync", 1))
|
|
393
|
-
{
|
|
394
|
-
py::set_arg_count_version_error(1);
|
|
395
|
-
return nullptr;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
417
|
try
|
|
399
418
|
{
|
|
419
|
+
static std::optional<bool> is_overload_present{};
|
|
420
|
+
|
|
421
|
+
if (!is_overload_present.has_value())
|
|
422
|
+
{
|
|
423
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Implementation.FileExplorer.ISysStorageProviderHttpRequestProvider", L"SendRequestAsync", 1);
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
if (!is_overload_present.value())
|
|
427
|
+
{
|
|
428
|
+
py::set_arg_count_version_error(1);
|
|
429
|
+
return nullptr;
|
|
430
|
+
}
|
|
431
|
+
|
|
400
432
|
auto param0 = py::convert_to<winrt::Windows::Web::Http::HttpRequestMessage>(args, 0);
|
|
401
433
|
|
|
402
434
|
return py::convert(self->obj.SendRequestAsync(param0));
|
|
@@ -449,39 +481,35 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
|
|
|
449
481
|
{ }
|
|
450
482
|
};
|
|
451
483
|
|
|
452
|
-
static PyType_Slot _type_slots_ISysStorageProviderHttpRequestProvider[] =
|
|
453
|
-
{
|
|
484
|
+
static PyType_Slot _type_slots_ISysStorageProviderHttpRequestProvider[] = {
|
|
454
485
|
{ Py_tp_new, reinterpret_cast<void*>(_new_ISysStorageProviderHttpRequestProvider) },
|
|
455
486
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_ISysStorageProviderHttpRequestProvider) },
|
|
456
487
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_ISysStorageProviderHttpRequestProvider) },
|
|
457
488
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_ISysStorageProviderHttpRequestProvider) },
|
|
458
|
-
{ }
|
|
489
|
+
{ }
|
|
459
490
|
};
|
|
460
491
|
|
|
461
|
-
static PyType_Spec type_spec_ISysStorageProviderHttpRequestProvider =
|
|
462
|
-
{
|
|
492
|
+
static PyType_Spec type_spec_ISysStorageProviderHttpRequestProvider = {
|
|
463
493
|
"winrt._winrt_windows_system_implementation_fileexplorer.ISysStorageProviderHttpRequestProvider",
|
|
464
494
|
sizeof(py::wrapper::Windows::System::Implementation::FileExplorer::ISysStorageProviderHttpRequestProvider),
|
|
465
495
|
0,
|
|
466
496
|
Py_TPFLAGS_DEFAULT,
|
|
467
|
-
_type_slots_ISysStorageProviderHttpRequestProvider
|
|
468
|
-
};
|
|
497
|
+
_type_slots_ISysStorageProviderHttpRequestProvider};
|
|
469
498
|
|
|
470
499
|
// ----- Windows.System.Implementation.FileExplorer Initialization --------------------
|
|
471
|
-
PyDoc_STRVAR(module_doc, "Windows::System::Implementation::FileExplorer");
|
|
472
500
|
|
|
501
|
+
PyDoc_STRVAR(module_doc, "Windows.System.Implementation.FileExplorer");
|
|
473
502
|
|
|
474
|
-
static PyModuleDef module_def
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
503
|
+
static PyModuleDef module_def = {
|
|
504
|
+
PyModuleDef_HEAD_INIT,
|
|
505
|
+
"_winrt_windows_system_implementation_fileexplorer",
|
|
506
|
+
module_doc,
|
|
507
|
+
0,
|
|
508
|
+
nullptr,
|
|
509
|
+
nullptr,
|
|
510
|
+
nullptr,
|
|
511
|
+
nullptr,
|
|
512
|
+
nullptr};
|
|
485
513
|
} // py::cpp::Windows::System::Implementation::FileExplorer
|
|
486
514
|
|
|
487
515
|
PyMODINIT_FUNC PyInit__winrt_windows_system_implementation_fileexplorer(void) noexcept
|
|
@@ -513,22 +541,26 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_implementation_fileexplorer(void) no
|
|
|
513
541
|
return nullptr;
|
|
514
542
|
}
|
|
515
543
|
|
|
516
|
-
|
|
544
|
+
py::pytype_handle SysStorageProviderEventReceivedEventArgs_type{py::register_python_type(module.get(), &type_spec_SysStorageProviderEventReceivedEventArgs, object_bases.get(), nullptr)};
|
|
545
|
+
if (!SysStorageProviderEventReceivedEventArgs_type)
|
|
517
546
|
{
|
|
518
547
|
return nullptr;
|
|
519
548
|
}
|
|
520
549
|
|
|
521
|
-
|
|
550
|
+
py::pytype_handle ISysStorageProviderEventSource_type{py::register_python_type(module.get(), &type_spec_ISysStorageProviderEventSource, object_bases.get(), nullptr)};
|
|
551
|
+
if (!ISysStorageProviderEventSource_type)
|
|
522
552
|
{
|
|
523
553
|
return nullptr;
|
|
524
554
|
}
|
|
525
555
|
|
|
526
|
-
|
|
556
|
+
py::pytype_handle ISysStorageProviderHandlerFactory_type{py::register_python_type(module.get(), &type_spec_ISysStorageProviderHandlerFactory, object_bases.get(), nullptr)};
|
|
557
|
+
if (!ISysStorageProviderHandlerFactory_type)
|
|
527
558
|
{
|
|
528
559
|
return nullptr;
|
|
529
560
|
}
|
|
530
561
|
|
|
531
|
-
|
|
562
|
+
py::pytype_handle ISysStorageProviderHttpRequestProvider_type{py::register_python_type(module.get(), &type_spec_ISysStorageProviderHttpRequestProvider, object_bases.get(), nullptr)};
|
|
563
|
+
if (!ISysStorageProviderHttpRequestProvider_type)
|
|
532
564
|
{
|
|
533
565
|
return nullptr;
|
|
534
566
|
}
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9,<3.
|
|
19
|
+
requires-python = ">=3.9,<3.14"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -36,7 +36,8 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
|
-
build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
39
|
+
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
|
+
before-build = "uv pip install setuptools"
|
|
40
41
|
# don't build for PyPy
|
|
41
42
|
skip = "pp*"
|
|
42
43
|
# suppress warnings about ARM64 testing
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.2.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.2.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0
|
|
3
|
+
winrt-runtime==2.2.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.2.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.web.http
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.web.http as windows_web_http
|
|
14
14
|
|
|
15
15
|
Self = typing.TypeVar('Self')
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ Self = typing.TypeVar('Self')
|
|
|
18
18
|
class SysStorageProviderEventReceivedEventArgs(winrt.system.Object):
|
|
19
19
|
@staticmethod
|
|
20
20
|
def _from(obj: winrt.system.Object, /) -> SysStorageProviderEventReceivedEventArgs: ...
|
|
21
|
-
def __new__(cls: typing.Type[SysStorageProviderEventReceivedEventArgs], json: str) -> SysStorageProviderEventReceivedEventArgs
|
|
21
|
+
def __new__(cls: typing.Type[SysStorageProviderEventReceivedEventArgs], json: str) -> SysStorageProviderEventReceivedEventArgs: ...
|
|
22
22
|
@_property
|
|
23
23
|
def json(self) -> str: ...
|
|
24
24
|
|
|
@@ -26,8 +26,8 @@ class SysStorageProviderEventReceivedEventArgs(winrt.system.Object):
|
|
|
26
26
|
class ISysStorageProviderEventSource(winrt.system.Object):
|
|
27
27
|
@staticmethod
|
|
28
28
|
def _from(obj: winrt.system.Object, /) -> ISysStorageProviderEventSource: ...
|
|
29
|
-
def add_event_received(self, handler:
|
|
30
|
-
def remove_event_received(self, token:
|
|
29
|
+
def add_event_received(self, handler: windows_foundation.TypedEventHandler[ISysStorageProviderEventSource, SysStorageProviderEventReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
30
|
+
def remove_event_received(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
31
31
|
|
|
32
32
|
@typing.final
|
|
33
33
|
class ISysStorageProviderHandlerFactory(winrt.system.Object):
|
|
@@ -40,5 +40,5 @@ class ISysStorageProviderHandlerFactory(winrt.system.Object):
|
|
|
40
40
|
class ISysStorageProviderHttpRequestProvider(winrt.system.Object):
|
|
41
41
|
@staticmethod
|
|
42
42
|
def _from(obj: winrt.system.Object, /) -> ISysStorageProviderHttpRequestProvider: ...
|
|
43
|
-
def send_request_async(self, request: typing.Optional[
|
|
43
|
+
def send_request_async(self, request: typing.Optional[windows_web_http.HttpRequestMessage], /) -> windows_foundation.IAsyncOperation[windows_web_http.HttpResponseMessage]: ...
|
|
44
44
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.System.Implementation.FileExplorer
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,12 +10,12 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python: <3.
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.Web.Http[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Web.Http[all]==2.2.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
|