winrt-Windows.System.Implementation.FileExplorer 2.0.0b2__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.
Files changed (21) hide show
  1. {winrt-Windows.System.Implementation.FileExplorer-2.0.0b2 → winrt_windows_system_implementation_fileexplorer-2.1.0}/PKG-INFO +4 -1
  2. winrt_windows_system_implementation_fileexplorer-2.1.0/all-requirements.txt +4 -0
  3. {winrt-Windows.System.Implementation.FileExplorer-2.0.0b2 → winrt_windows_system_implementation_fileexplorer-2.1.0}/py.Windows.System.Implementation.FileExplorer.cpp +64 -78
  4. {winrt-Windows.System.Implementation.FileExplorer-2.0.0b2 → winrt_windows_system_implementation_fileexplorer-2.1.0}/pyproject.toml +2 -2
  5. winrt_windows_system_implementation_fileexplorer-2.1.0/pywinrt-version.txt +1 -0
  6. {winrt-Windows.System.Implementation.FileExplorer-2.0.0b2 → winrt_windows_system_implementation_fileexplorer-2.1.0}/requirements.txt +2 -2
  7. winrt_windows_system_implementation_fileexplorer-2.1.0/setup.py +31 -0
  8. {winrt-Windows.System.Implementation.FileExplorer-2.0.0b2 → winrt_windows_system_implementation_fileexplorer-2.1.0}/winrt/_winrt_windows_system_implementation_fileexplorer.pyi +7 -7
  9. {winrt-Windows.System.Implementation.FileExplorer-2.0.0b2 → winrt_windows_system_implementation_fileexplorer-2.1.0}/winrt/windows/system/implementation/fileexplorer/__init__.py +1 -1
  10. winrt_windows_system_implementation_fileexplorer-2.1.0/winrt/windows/system/implementation/fileexplorer/py.typed +0 -0
  11. {winrt-Windows.System.Implementation.FileExplorer-2.0.0b2 → winrt_windows_system_implementation_fileexplorer-2.1.0}/winrt_Windows.System.Implementation.FileExplorer.egg-info/PKG-INFO +4 -1
  12. {winrt-Windows.System.Implementation.FileExplorer-2.0.0b2 → winrt_windows_system_implementation_fileexplorer-2.1.0}/winrt_Windows.System.Implementation.FileExplorer.egg-info/SOURCES.txt +1 -0
  13. winrt_windows_system_implementation_fileexplorer-2.1.0/winrt_Windows.System.Implementation.FileExplorer.egg-info/requires.txt +5 -0
  14. winrt-Windows.System.Implementation.FileExplorer-2.0.0b2/all-requirements.txt +0 -4
  15. winrt-Windows.System.Implementation.FileExplorer-2.0.0b2/pywinrt-version.txt +0 -1
  16. winrt-Windows.System.Implementation.FileExplorer-2.0.0b2/setup.py +0 -16
  17. winrt-Windows.System.Implementation.FileExplorer-2.0.0b2/winrt_Windows.System.Implementation.FileExplorer.egg-info/requires.txt +0 -5
  18. {winrt-Windows.System.Implementation.FileExplorer-2.0.0b2 → winrt_windows_system_implementation_fileexplorer-2.1.0}/README.md +0 -0
  19. {winrt-Windows.System.Implementation.FileExplorer-2.0.0b2 → winrt_windows_system_implementation_fileexplorer-2.1.0}/setup.cfg +0 -0
  20. {winrt-Windows.System.Implementation.FileExplorer-2.0.0b2 → winrt_windows_system_implementation_fileexplorer-2.1.0}/winrt_Windows.System.Implementation.FileExplorer.egg-info/dependency_links.txt +0 -0
  21. {winrt-Windows.System.Implementation.FileExplorer-2.0.0b2 → winrt_windows_system_implementation_fileexplorer-2.1.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.0b2
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,7 +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.1.0
15
16
  Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Web.Http[all]==2.1.0; extra == "all"
16
19
 
17
20
  <!-- warning: Please don't edit this file. It was automatically generated. -->
18
21
 
@@ -0,0 +1,4 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
+
3
+ winrt-Windows.Foundation[all]==2.1.0
4
+ winrt-Windows.Web.Http[all]==2.1.0
@@ -1,8 +1,7 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.2
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.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 --------------------
@@ -48,14 +47,14 @@ 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
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Implementation.FileExplorer.SysStorageProviderEventReceivedEventArgs", L"Json"))
53
+ {
54
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
55
+ return nullptr;
56
+ }
57
+
59
58
  return py::convert(self->obj.Json());
60
59
  }
61
60
  catch (...)
@@ -100,23 +99,20 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
100
99
  { }
101
100
  };
102
101
 
103
- static PyType_Slot _type_slots_SysStorageProviderEventReceivedEventArgs[] =
104
- {
102
+ static PyType_Slot _type_slots_SysStorageProviderEventReceivedEventArgs[] = {
105
103
  { Py_tp_new, reinterpret_cast<void*>(_new_SysStorageProviderEventReceivedEventArgs) },
106
104
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_SysStorageProviderEventReceivedEventArgs) },
107
105
  { Py_tp_methods, reinterpret_cast<void*>(_methods_SysStorageProviderEventReceivedEventArgs) },
108
106
  { Py_tp_getset, reinterpret_cast<void*>(_getset_SysStorageProviderEventReceivedEventArgs) },
109
- { },
107
+ { }
110
108
  };
111
109
 
112
- static PyType_Spec type_spec_SysStorageProviderEventReceivedEventArgs =
113
- {
110
+ static PyType_Spec type_spec_SysStorageProviderEventReceivedEventArgs = {
114
111
  "winrt._winrt_windows_system_implementation_fileexplorer.SysStorageProviderEventReceivedEventArgs",
115
112
  sizeof(py::wrapper::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs),
116
113
  0,
117
114
  Py_TPFLAGS_DEFAULT,
118
- _type_slots_SysStorageProviderEventReceivedEventArgs
119
- };
115
+ _type_slots_SysStorageProviderEventReceivedEventArgs};
120
116
 
121
117
  // ----- ISysStorageProviderEventSource interface --------------------
122
118
 
@@ -137,14 +133,14 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
137
133
 
138
134
  static PyObject* ISysStorageProviderEventSource_add_EventReceived(py::wrapper::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource* self, PyObject* arg) noexcept
139
135
  {
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
136
  try
147
137
  {
138
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.System.Implementation.FileExplorer.ISysStorageProviderEventSource", L"EventReceived"))
139
+ {
140
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
141
+ return nullptr;
142
+ }
143
+
148
144
  auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource, winrt::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs>>(arg);
149
145
 
150
146
  return py::convert(self->obj.EventReceived(param0));
@@ -158,14 +154,14 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
158
154
 
159
155
  static PyObject* ISysStorageProviderEventSource_remove_EventReceived(py::wrapper::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource* self, PyObject* arg) noexcept
160
156
  {
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
157
  try
168
158
  {
159
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.System.Implementation.FileExplorer.ISysStorageProviderEventSource", L"EventReceived"))
160
+ {
161
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
162
+ return nullptr;
163
+ }
164
+
169
165
  auto param0 = py::convert_to<winrt::event_token>(arg);
170
166
 
171
167
  self->obj.EventReceived(param0);
@@ -214,23 +210,20 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
214
210
  { }
215
211
  };
216
212
 
217
- static PyType_Slot _type_slots_ISysStorageProviderEventSource[] =
218
- {
213
+ static PyType_Slot _type_slots_ISysStorageProviderEventSource[] = {
219
214
  { Py_tp_new, reinterpret_cast<void*>(_new_ISysStorageProviderEventSource) },
220
215
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_ISysStorageProviderEventSource) },
221
216
  { Py_tp_methods, reinterpret_cast<void*>(_methods_ISysStorageProviderEventSource) },
222
217
  { Py_tp_getset, reinterpret_cast<void*>(_getset_ISysStorageProviderEventSource) },
223
- { },
218
+ { }
224
219
  };
225
220
 
226
- static PyType_Spec type_spec_ISysStorageProviderEventSource =
227
- {
221
+ static PyType_Spec type_spec_ISysStorageProviderEventSource = {
228
222
  "winrt._winrt_windows_system_implementation_fileexplorer.ISysStorageProviderEventSource",
229
223
  sizeof(py::wrapper::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource),
230
224
  0,
231
225
  Py_TPFLAGS_DEFAULT,
232
- _type_slots_ISysStorageProviderEventSource
233
- };
226
+ _type_slots_ISysStorageProviderEventSource};
234
227
 
235
228
  // ----- ISysStorageProviderHandlerFactory interface --------------------
236
229
 
@@ -255,14 +248,14 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
255
248
 
256
249
  if (arg_count == 2)
257
250
  {
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
251
  try
265
252
  {
253
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Implementation.FileExplorer.ISysStorageProviderHandlerFactory", L"GetEventSource", 2))
254
+ {
255
+ py::set_arg_count_version_error(2);
256
+ return nullptr;
257
+ }
258
+
266
259
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
267
260
  auto param1 = py::convert_to<winrt::hstring>(args, 1);
268
261
 
@@ -287,14 +280,14 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
287
280
 
288
281
  if (arg_count == 1)
289
282
  {
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
283
  try
297
284
  {
285
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Implementation.FileExplorer.ISysStorageProviderHandlerFactory", L"GetHttpRequestProvider", 1))
286
+ {
287
+ py::set_arg_count_version_error(1);
288
+ return nullptr;
289
+ }
290
+
298
291
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
299
292
 
300
293
  return py::convert(self->obj.GetHttpRequestProvider(param0));
@@ -348,23 +341,20 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
348
341
  { }
349
342
  };
350
343
 
351
- static PyType_Slot _type_slots_ISysStorageProviderHandlerFactory[] =
352
- {
344
+ static PyType_Slot _type_slots_ISysStorageProviderHandlerFactory[] = {
353
345
  { Py_tp_new, reinterpret_cast<void*>(_new_ISysStorageProviderHandlerFactory) },
354
346
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_ISysStorageProviderHandlerFactory) },
355
347
  { Py_tp_methods, reinterpret_cast<void*>(_methods_ISysStorageProviderHandlerFactory) },
356
348
  { Py_tp_getset, reinterpret_cast<void*>(_getset_ISysStorageProviderHandlerFactory) },
357
- { },
349
+ { }
358
350
  };
359
351
 
360
- static PyType_Spec type_spec_ISysStorageProviderHandlerFactory =
361
- {
352
+ static PyType_Spec type_spec_ISysStorageProviderHandlerFactory = {
362
353
  "winrt._winrt_windows_system_implementation_fileexplorer.ISysStorageProviderHandlerFactory",
363
354
  sizeof(py::wrapper::Windows::System::Implementation::FileExplorer::ISysStorageProviderHandlerFactory),
364
355
  0,
365
356
  Py_TPFLAGS_DEFAULT,
366
- _type_slots_ISysStorageProviderHandlerFactory
367
- };
357
+ _type_slots_ISysStorageProviderHandlerFactory};
368
358
 
369
359
  // ----- ISysStorageProviderHttpRequestProvider interface --------------------
370
360
 
@@ -389,14 +379,14 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
389
379
 
390
380
  if (arg_count == 1)
391
381
  {
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
382
  try
399
383
  {
384
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Implementation.FileExplorer.ISysStorageProviderHttpRequestProvider", L"SendRequestAsync", 1))
385
+ {
386
+ py::set_arg_count_version_error(1);
387
+ return nullptr;
388
+ }
389
+
400
390
  auto param0 = py::convert_to<winrt::Windows::Web::Http::HttpRequestMessage>(args, 0);
401
391
 
402
392
  return py::convert(self->obj.SendRequestAsync(param0));
@@ -449,39 +439,35 @@ namespace py::cpp::Windows::System::Implementation::FileExplorer
449
439
  { }
450
440
  };
451
441
 
452
- static PyType_Slot _type_slots_ISysStorageProviderHttpRequestProvider[] =
453
- {
442
+ static PyType_Slot _type_slots_ISysStorageProviderHttpRequestProvider[] = {
454
443
  { Py_tp_new, reinterpret_cast<void*>(_new_ISysStorageProviderHttpRequestProvider) },
455
444
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_ISysStorageProviderHttpRequestProvider) },
456
445
  { Py_tp_methods, reinterpret_cast<void*>(_methods_ISysStorageProviderHttpRequestProvider) },
457
446
  { Py_tp_getset, reinterpret_cast<void*>(_getset_ISysStorageProviderHttpRequestProvider) },
458
- { },
447
+ { }
459
448
  };
460
449
 
461
- static PyType_Spec type_spec_ISysStorageProviderHttpRequestProvider =
462
- {
450
+ static PyType_Spec type_spec_ISysStorageProviderHttpRequestProvider = {
463
451
  "winrt._winrt_windows_system_implementation_fileexplorer.ISysStorageProviderHttpRequestProvider",
464
452
  sizeof(py::wrapper::Windows::System::Implementation::FileExplorer::ISysStorageProviderHttpRequestProvider),
465
453
  0,
466
454
  Py_TPFLAGS_DEFAULT,
467
- _type_slots_ISysStorageProviderHttpRequestProvider
468
- };
455
+ _type_slots_ISysStorageProviderHttpRequestProvider};
469
456
 
470
457
  // ----- Windows.System.Implementation.FileExplorer Initialization --------------------
471
- PyDoc_STRVAR(module_doc, "Windows::System::Implementation::FileExplorer");
472
-
473
458
 
474
- static PyModuleDef module_def
475
- = {PyModuleDef_HEAD_INIT,
476
- "_winrt_windows_system_implementation_fileexplorer",
477
- module_doc,
478
- 0,
479
- nullptr,
480
- nullptr,
481
- nullptr,
482
- nullptr,
483
- nullptr};
459
+ PyDoc_STRVAR(module_doc, "Windows.System.Implementation.FileExplorer");
484
460
 
461
+ static PyModuleDef module_def = {
462
+ PyModuleDef_HEAD_INIT,
463
+ "_winrt_windows_system_implementation_fileexplorer",
464
+ module_doc,
465
+ 0,
466
+ nullptr,
467
+ nullptr,
468
+ nullptr,
469
+ nullptr,
470
+ nullptr};
485
471
  } // py::cpp::Windows::System::Implementation::FileExplorer
486
472
 
487
473
  PyMODINIT_FUNC PyInit__winrt_windows_system_implementation_fileexplorer(void) noexcept
@@ -1,7 +1,7 @@
1
1
  # WARNING: Please don't edit this file. It was automatically generated.
2
2
 
3
3
  [build-system]
4
- requires = ["setuptools", "setuptools-scm", "winrt-sdk"]
4
+ requires = ["setuptools", "winrt-sdk"]
5
5
  build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
@@ -30,7 +30,7 @@ dependencies = { file = "requirements.txt" }
30
30
  optional-dependencies.all = { file = "all-requirements.txt" }
31
31
 
32
32
  [tool.setuptools.package-data]
33
- winrt = ["*.pyi"]
33
+ "*" = ["*.pyi", "py.typed"]
34
34
 
35
35
  [tool.cibuildwheel]
36
36
  # use local winrt-sdk build dependency
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.2
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
- winrt-runtime==2.0.0-beta.2
3
+ winrt-runtime==2.1.0
@@ -0,0 +1,31 @@
1
+ # WARNING: Please don't edit this file. It was automatically generated.
2
+
3
+ from setuptools import Extension, setup
4
+ from setuptools.command.build_ext import build_ext
5
+ from winrt_sdk import get_include_dirs
6
+
7
+
8
+ class build_ext_ex(build_ext):
9
+ def build_extension(self, ext):
10
+ if self.compiler.compiler_type == "msvc":
11
+ ext.extra_compile_args = ["/std:c++20", "/permissive-"]
12
+ elif self.compiler.compiler_type == "mingw32":
13
+ ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
14
+ ext.extra_link_args = ["-loleaut32"]
15
+ else:
16
+ raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
17
+
18
+ build_ext.build_extension(self, ext)
19
+
20
+
21
+ setup(
22
+ cmdclass = {'build_ext': build_ext_ex},
23
+ ext_modules=[
24
+ Extension(
25
+ "winrt._winrt_windows_system_implementation_fileexplorer",
26
+ sources=["py.Windows.System.Implementation.FileExplorer.cpp"],
27
+ include_dirs=get_include_dirs(),
28
+ libraries=["windowsapp"],
29
+ )
30
+ ],
31
+ )
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.2
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.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: winrt.windows.foundation.TypedEventHandler[ISysStorageProviderEventSource, SysStorageProviderEventReceivedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
30
- def remove_event_received(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
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[winrt.windows.web.http.HttpRequestMessage], /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.web.http.HttpResponseMessage]: ...
43
+ def send_request_async(self, request: typing.Optional[windows_web_http.HttpRequestMessage], /) -> windows_foundation.IAsyncOperation[windows_web_http.HttpResponseMessage]: ...
44
44
 
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.2
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
3
  import winrt.system
4
4
  from winrt import _winrt_windows_system_implementation_fileexplorer
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.System.Implementation.FileExplorer
3
- Version: 2.0.0b2
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,7 +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.1.0
15
16
  Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Web.Http[all]==2.1.0; extra == "all"
16
19
 
17
20
  <!-- warning: Please don't edit this file. It was automatically generated. -->
18
21
 
@@ -7,6 +7,7 @@ requirements.txt
7
7
  setup.py
8
8
  winrt/_winrt_windows_system_implementation_fileexplorer.pyi
9
9
  winrt/windows/system/implementation/fileexplorer/__init__.py
10
+ winrt/windows/system/implementation/fileexplorer/py.typed
10
11
  winrt_Windows.System.Implementation.FileExplorer.egg-info/PKG-INFO
11
12
  winrt_Windows.System.Implementation.FileExplorer.egg-info/SOURCES.txt
12
13
  winrt_Windows.System.Implementation.FileExplorer.egg-info/dependency_links.txt
@@ -0,0 +1,5 @@
1
+ winrt-runtime==2.1.0
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==2.1.0
5
+ winrt-Windows.Web.Http[all]==2.1.0
@@ -1,4 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.2
2
-
3
- winrt-Windows.Foundation[all]==2.0.0-beta.2
4
- winrt-Windows.Web.Http[all]==2.0.0-beta.2
@@ -1,16 +0,0 @@
1
- # WARNING: Please don't edit this file. It was automatically generated.
2
-
3
- from setuptools import Extension, setup
4
- from winrt_sdk import get_include_dirs
5
-
6
- setup(
7
- ext_modules=[
8
- Extension(
9
- "winrt._winrt_windows_system_implementation_fileexplorer",
10
- sources=["py.Windows.System.Implementation.FileExplorer.cpp"],
11
- include_dirs=get_include_dirs(),
12
- extra_compile_args=["/std:c++20", "/permissive-"],
13
- libraries=["windowsapp"],
14
- )
15
- ],
16
- )
@@ -1,5 +0,0 @@
1
- winrt-runtime==2.0.0-beta.2
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.0.0-beta.2
5
- winrt-Windows.Web.Http[all]==2.0.0-beta.2