winrt-Windows.ApplicationModel.AppService 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.ApplicationModel.AppService-2.0.0b2 → winrt_windows_applicationmodel_appservice-2.1.0}/PKG-INFO +7 -1
  2. winrt_windows_applicationmodel_appservice-2.1.0/all-requirements.txt +7 -0
  3. {winrt-Windows.ApplicationModel.AppService-2.0.0b2 → winrt_windows_applicationmodel_appservice-2.1.0}/py.Windows.ApplicationModel.AppService.cpp +241 -270
  4. {winrt-Windows.ApplicationModel.AppService-2.0.0b2 → winrt_windows_applicationmodel_appservice-2.1.0}/pyproject.toml +2 -2
  5. winrt_windows_applicationmodel_appservice-2.1.0/pywinrt-version.txt +1 -0
  6. {winrt-Windows.ApplicationModel.AppService-2.0.0b2 → winrt_windows_applicationmodel_appservice-2.1.0}/requirements.txt +2 -2
  7. winrt_windows_applicationmodel_appservice-2.1.0/setup.py +31 -0
  8. {winrt-Windows.ApplicationModel.AppService-2.0.0b2 → winrt_windows_applicationmodel_appservice-2.1.0}/winrt/_winrt_windows_applicationmodel_appservice.pyi +24 -25
  9. {winrt-Windows.ApplicationModel.AppService-2.0.0b2 → winrt_windows_applicationmodel_appservice-2.1.0}/winrt/windows/applicationmodel/appservice/__init__.py +1 -1
  10. winrt_windows_applicationmodel_appservice-2.1.0/winrt/windows/applicationmodel/appservice/py.typed +0 -0
  11. {winrt-Windows.ApplicationModel.AppService-2.0.0b2 → winrt_windows_applicationmodel_appservice-2.1.0}/winrt_Windows.ApplicationModel.AppService.egg-info/PKG-INFO +7 -1
  12. {winrt-Windows.ApplicationModel.AppService-2.0.0b2 → winrt_windows_applicationmodel_appservice-2.1.0}/winrt_Windows.ApplicationModel.AppService.egg-info/SOURCES.txt +1 -0
  13. winrt_windows_applicationmodel_appservice-2.1.0/winrt_Windows.ApplicationModel.AppService.egg-info/requires.txt +8 -0
  14. winrt-Windows.ApplicationModel.AppService-2.0.0b2/all-requirements.txt +0 -7
  15. winrt-Windows.ApplicationModel.AppService-2.0.0b2/pywinrt-version.txt +0 -1
  16. winrt-Windows.ApplicationModel.AppService-2.0.0b2/setup.py +0 -16
  17. winrt-Windows.ApplicationModel.AppService-2.0.0b2/winrt_Windows.ApplicationModel.AppService.egg-info/requires.txt +0 -8
  18. {winrt-Windows.ApplicationModel.AppService-2.0.0b2 → winrt_windows_applicationmodel_appservice-2.1.0}/README.md +0 -0
  19. {winrt-Windows.ApplicationModel.AppService-2.0.0b2 → winrt_windows_applicationmodel_appservice-2.1.0}/setup.cfg +0 -0
  20. {winrt-Windows.ApplicationModel.AppService-2.0.0b2 → winrt_windows_applicationmodel_appservice-2.1.0}/winrt_Windows.ApplicationModel.AppService.egg-info/dependency_links.txt +0 -0
  21. {winrt-Windows.ApplicationModel.AppService-2.0.0b2 → winrt_windows_applicationmodel_appservice-2.1.0}/winrt_Windows.ApplicationModel.AppService.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.AppService
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,13 @@ 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.ApplicationModel[all]==2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.System[all]==2.1.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.System.RemoteSystems[all]==2.1.0; extra == "all"
16
22
 
17
23
  <!-- warning: Please don't edit this file. It was automatically generated. -->
18
24
 
@@ -0,0 +1,7 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
+
3
+ winrt-Windows.ApplicationModel[all]==2.1.0
4
+ winrt-Windows.Foundation[all]==2.1.0
5
+ winrt-Windows.Foundation.Collections[all]==2.1.0
6
+ winrt-Windows.System[all]==2.1.0
7
+ winrt-Windows.System.RemoteSystems[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.ApplicationModel.AppService.h"
4
4
 
5
-
6
5
  namespace py::cpp::Windows::ApplicationModel::AppService
7
6
  {
8
7
  // ----- AppServiceCatalog class --------------------
@@ -20,14 +19,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
20
19
 
21
20
  if (arg_count == 1)
22
21
  {
23
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceCatalog", L"FindAppServiceProvidersAsync", 1))
24
- {
25
- py::set_arg_count_version_error(1);
26
- return nullptr;
27
- }
28
-
29
22
  try
30
23
  {
24
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceCatalog", L"FindAppServiceProvidersAsync", 1))
25
+ {
26
+ py::set_arg_count_version_error(1);
27
+ return nullptr;
28
+ }
29
+
31
30
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
32
31
 
33
32
  return py::convert(winrt::Windows::ApplicationModel::AppService::AppServiceCatalog::FindAppServiceProvidersAsync(param0));
@@ -53,22 +52,19 @@ namespace py::cpp::Windows::ApplicationModel::AppService
53
52
  { }
54
53
  };
55
54
 
56
- static PyType_Slot _type_slots_AppServiceCatalog[] =
57
- {
55
+ static PyType_Slot _type_slots_AppServiceCatalog[] = {
58
56
  { Py_tp_new, reinterpret_cast<void*>(_new_AppServiceCatalog) },
59
57
  { Py_tp_methods, reinterpret_cast<void*>(_methods_AppServiceCatalog) },
60
58
  { Py_tp_getset, reinterpret_cast<void*>(_getset_AppServiceCatalog) },
61
- { },
59
+ { }
62
60
  };
63
61
 
64
- static PyType_Spec type_spec_AppServiceCatalog =
65
- {
62
+ static PyType_Spec type_spec_AppServiceCatalog = {
66
63
  "winrt._winrt_windows_applicationmodel_appservice.AppServiceCatalog",
67
64
  0,
68
65
  0,
69
66
  Py_TPFLAGS_DEFAULT,
70
- _type_slots_AppServiceCatalog
71
- };
67
+ _type_slots_AppServiceCatalog};
72
68
 
73
69
  static PyGetSetDef getset_AppServiceCatalog_Static[] = {
74
70
  { }
@@ -115,14 +111,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
115
111
 
116
112
  static PyObject* AppServiceClosedEventArgs_get_Status(py::wrapper::Windows::ApplicationModel::AppService::AppServiceClosedEventArgs* self, void* /*unused*/) noexcept
117
113
  {
118
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceClosedEventArgs", L"Status"))
119
- {
120
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
121
- return nullptr;
122
- }
123
-
124
114
  try
125
115
  {
116
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceClosedEventArgs", L"Status"))
117
+ {
118
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
119
+ return nullptr;
120
+ }
121
+
126
122
  return py::convert(self->obj.Status());
127
123
  }
128
124
  catch (...)
@@ -167,23 +163,20 @@ namespace py::cpp::Windows::ApplicationModel::AppService
167
163
  { }
168
164
  };
169
165
 
170
- static PyType_Slot _type_slots_AppServiceClosedEventArgs[] =
171
- {
166
+ static PyType_Slot _type_slots_AppServiceClosedEventArgs[] = {
172
167
  { Py_tp_new, reinterpret_cast<void*>(_new_AppServiceClosedEventArgs) },
173
168
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppServiceClosedEventArgs) },
174
169
  { Py_tp_methods, reinterpret_cast<void*>(_methods_AppServiceClosedEventArgs) },
175
170
  { Py_tp_getset, reinterpret_cast<void*>(_getset_AppServiceClosedEventArgs) },
176
- { },
171
+ { }
177
172
  };
178
173
 
179
- static PyType_Spec type_spec_AppServiceClosedEventArgs =
180
- {
174
+ static PyType_Spec type_spec_AppServiceClosedEventArgs = {
181
175
  "winrt._winrt_windows_applicationmodel_appservice.AppServiceClosedEventArgs",
182
176
  sizeof(py::wrapper::Windows::ApplicationModel::AppService::AppServiceClosedEventArgs),
183
177
  0,
184
178
  Py_TPFLAGS_DEFAULT,
185
- _type_slots_AppServiceClosedEventArgs
186
- };
179
+ _type_slots_AppServiceClosedEventArgs};
187
180
 
188
181
  // ----- AppServiceConnection class --------------------
189
182
 
@@ -230,14 +223,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
230
223
 
231
224
  if (arg_count == 0)
232
225
  {
233
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"Close", 0))
234
- {
235
- py::set_arg_count_version_error(0);
236
- return nullptr;
237
- }
238
-
239
226
  try
240
227
  {
228
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"Close", 0))
229
+ {
230
+ py::set_arg_count_version_error(0);
231
+ return nullptr;
232
+ }
233
+
241
234
  self->obj.Close();
242
235
  Py_RETURN_NONE;
243
236
  }
@@ -260,14 +253,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
260
253
 
261
254
  if (arg_count == 0)
262
255
  {
263
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"OpenAsync", 0))
264
- {
265
- py::set_arg_count_version_error(0);
266
- return nullptr;
267
- }
268
-
269
256
  try
270
257
  {
258
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"OpenAsync", 0))
259
+ {
260
+ py::set_arg_count_version_error(0);
261
+ return nullptr;
262
+ }
263
+
271
264
  return py::convert(self->obj.OpenAsync());
272
265
  }
273
266
  catch (...)
@@ -289,14 +282,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
289
282
 
290
283
  if (arg_count == 1)
291
284
  {
292
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"OpenRemoteAsync", 1))
293
- {
294
- py::set_arg_count_version_error(1);
295
- return nullptr;
296
- }
297
-
298
285
  try
299
286
  {
287
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"OpenRemoteAsync", 1))
288
+ {
289
+ py::set_arg_count_version_error(1);
290
+ return nullptr;
291
+ }
292
+
300
293
  auto param0 = py::convert_to<winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest>(args, 0);
301
294
 
302
295
  return py::convert(self->obj.OpenRemoteAsync(param0));
@@ -320,14 +313,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
320
313
 
321
314
  if (arg_count == 1)
322
315
  {
323
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"SendMessageAsync", 1))
324
- {
325
- py::set_arg_count_version_error(1);
326
- return nullptr;
327
- }
328
-
329
316
  try
330
317
  {
318
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"SendMessageAsync", 1))
319
+ {
320
+ py::set_arg_count_version_error(1);
321
+ return nullptr;
322
+ }
323
+
331
324
  auto param0 = py::convert_to<winrt::Windows::Foundation::Collections::ValueSet>(args, 0);
332
325
 
333
326
  return py::convert(self->obj.SendMessageAsync(param0));
@@ -351,14 +344,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
351
344
 
352
345
  if (arg_count == 3)
353
346
  {
354
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"SendStatelessMessageAsync", 3))
355
- {
356
- py::set_arg_count_version_error(3);
357
- return nullptr;
358
- }
359
-
360
347
  try
361
348
  {
349
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"SendStatelessMessageAsync", 3))
350
+ {
351
+ py::set_arg_count_version_error(3);
352
+ return nullptr;
353
+ }
354
+
362
355
  auto param0 = py::convert_to<winrt::Windows::ApplicationModel::AppService::AppServiceConnection>(args, 0);
363
356
  auto param1 = py::convert_to<winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest>(args, 1);
364
357
  auto param2 = py::convert_to<winrt::Windows::Foundation::Collections::ValueSet>(args, 2);
@@ -380,14 +373,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
380
373
 
381
374
  static PyObject* AppServiceConnection_get_PackageFamilyName(py::wrapper::Windows::ApplicationModel::AppService::AppServiceConnection* self, void* /*unused*/) noexcept
382
375
  {
383
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"PackageFamilyName"))
384
- {
385
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
386
- return nullptr;
387
- }
388
-
389
376
  try
390
377
  {
378
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"PackageFamilyName"))
379
+ {
380
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
381
+ return nullptr;
382
+ }
383
+
391
384
  return py::convert(self->obj.PackageFamilyName());
392
385
  }
393
386
  catch (...)
@@ -399,12 +392,6 @@ namespace py::cpp::Windows::ApplicationModel::AppService
399
392
 
400
393
  static int AppServiceConnection_put_PackageFamilyName(py::wrapper::Windows::ApplicationModel::AppService::AppServiceConnection* self, PyObject* arg, void* /*unused*/) noexcept
401
394
  {
402
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"PackageFamilyName"))
403
- {
404
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
405
- return -1;
406
- }
407
-
408
395
  if (arg == nullptr)
409
396
  {
410
397
  PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
@@ -413,6 +400,12 @@ namespace py::cpp::Windows::ApplicationModel::AppService
413
400
 
414
401
  try
415
402
  {
403
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"PackageFamilyName"))
404
+ {
405
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
406
+ return -1;
407
+ }
408
+
416
409
  auto param0 = py::convert_to<winrt::hstring>(arg);
417
410
 
418
411
  self->obj.PackageFamilyName(param0);
@@ -427,14 +420,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
427
420
 
428
421
  static PyObject* AppServiceConnection_get_AppServiceName(py::wrapper::Windows::ApplicationModel::AppService::AppServiceConnection* self, void* /*unused*/) noexcept
429
422
  {
430
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"AppServiceName"))
431
- {
432
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
433
- return nullptr;
434
- }
435
-
436
423
  try
437
424
  {
425
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"AppServiceName"))
426
+ {
427
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
428
+ return nullptr;
429
+ }
430
+
438
431
  return py::convert(self->obj.AppServiceName());
439
432
  }
440
433
  catch (...)
@@ -446,12 +439,6 @@ namespace py::cpp::Windows::ApplicationModel::AppService
446
439
 
447
440
  static int AppServiceConnection_put_AppServiceName(py::wrapper::Windows::ApplicationModel::AppService::AppServiceConnection* self, PyObject* arg, void* /*unused*/) noexcept
448
441
  {
449
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"AppServiceName"))
450
- {
451
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
452
- return -1;
453
- }
454
-
455
442
  if (arg == nullptr)
456
443
  {
457
444
  PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
@@ -460,6 +447,12 @@ namespace py::cpp::Windows::ApplicationModel::AppService
460
447
 
461
448
  try
462
449
  {
450
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"AppServiceName"))
451
+ {
452
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
453
+ return -1;
454
+ }
455
+
463
456
  auto param0 = py::convert_to<winrt::hstring>(arg);
464
457
 
465
458
  self->obj.AppServiceName(param0);
@@ -474,14 +467,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
474
467
 
475
468
  static PyObject* AppServiceConnection_get_User(py::wrapper::Windows::ApplicationModel::AppService::AppServiceConnection* self, void* /*unused*/) noexcept
476
469
  {
477
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"User"))
478
- {
479
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
480
- return nullptr;
481
- }
482
-
483
470
  try
484
471
  {
472
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"User"))
473
+ {
474
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
475
+ return nullptr;
476
+ }
477
+
485
478
  return py::convert(self->obj.User());
486
479
  }
487
480
  catch (...)
@@ -493,12 +486,6 @@ namespace py::cpp::Windows::ApplicationModel::AppService
493
486
 
494
487
  static int AppServiceConnection_put_User(py::wrapper::Windows::ApplicationModel::AppService::AppServiceConnection* self, PyObject* arg, void* /*unused*/) noexcept
495
488
  {
496
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"User"))
497
- {
498
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
499
- return -1;
500
- }
501
-
502
489
  if (arg == nullptr)
503
490
  {
504
491
  PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
@@ -507,6 +494,12 @@ namespace py::cpp::Windows::ApplicationModel::AppService
507
494
 
508
495
  try
509
496
  {
497
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"User"))
498
+ {
499
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
500
+ return -1;
501
+ }
502
+
510
503
  auto param0 = py::convert_to<winrt::Windows::System::User>(arg);
511
504
 
512
505
  self->obj.User(param0);
@@ -521,14 +514,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
521
514
 
522
515
  static PyObject* AppServiceConnection_add_RequestReceived(py::wrapper::Windows::ApplicationModel::AppService::AppServiceConnection* self, PyObject* arg) noexcept
523
516
  {
524
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"RequestReceived"))
525
- {
526
- PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
527
- return nullptr;
528
- }
529
-
530
517
  try
531
518
  {
519
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"RequestReceived"))
520
+ {
521
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
522
+ return nullptr;
523
+ }
524
+
532
525
  auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppService::AppServiceConnection, winrt::Windows::ApplicationModel::AppService::AppServiceRequestReceivedEventArgs>>(arg);
533
526
 
534
527
  return py::convert(self->obj.RequestReceived(param0));
@@ -542,14 +535,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
542
535
 
543
536
  static PyObject* AppServiceConnection_remove_RequestReceived(py::wrapper::Windows::ApplicationModel::AppService::AppServiceConnection* self, PyObject* arg) noexcept
544
537
  {
545
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"RequestReceived"))
546
- {
547
- PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
548
- return nullptr;
549
- }
550
-
551
538
  try
552
539
  {
540
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"RequestReceived"))
541
+ {
542
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
543
+ return nullptr;
544
+ }
545
+
553
546
  auto param0 = py::convert_to<winrt::event_token>(arg);
554
547
 
555
548
  self->obj.RequestReceived(param0);
@@ -564,14 +557,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
564
557
 
565
558
  static PyObject* AppServiceConnection_add_ServiceClosed(py::wrapper::Windows::ApplicationModel::AppService::AppServiceConnection* self, PyObject* arg) noexcept
566
559
  {
567
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"ServiceClosed"))
568
- {
569
- PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
570
- return nullptr;
571
- }
572
-
573
560
  try
574
561
  {
562
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"ServiceClosed"))
563
+ {
564
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
565
+ return nullptr;
566
+ }
567
+
575
568
  auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppService::AppServiceConnection, winrt::Windows::ApplicationModel::AppService::AppServiceClosedEventArgs>>(arg);
576
569
 
577
570
  return py::convert(self->obj.ServiceClosed(param0));
@@ -585,14 +578,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
585
578
 
586
579
  static PyObject* AppServiceConnection_remove_ServiceClosed(py::wrapper::Windows::ApplicationModel::AppService::AppServiceConnection* self, PyObject* arg) noexcept
587
580
  {
588
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"ServiceClosed"))
589
- {
590
- PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
591
- return nullptr;
592
- }
593
-
594
581
  try
595
582
  {
583
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.AppService.AppServiceConnection", L"ServiceClosed"))
584
+ {
585
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
586
+ return nullptr;
587
+ }
588
+
596
589
  auto param0 = py::convert_to<winrt::event_token>(arg);
597
590
 
598
591
  self->obj.ServiceClosed(param0);
@@ -660,7 +653,7 @@ namespace py::cpp::Windows::ApplicationModel::AppService
660
653
  { "_assign_array_", _assign_array_AppServiceConnection, METH_O | METH_STATIC, nullptr },
661
654
  { "_from", reinterpret_cast<PyCFunction>(_from_AppServiceConnection), METH_O | METH_STATIC, nullptr },
662
655
  { "__enter__", reinterpret_cast<PyCFunction>(_enter_AppServiceConnection), METH_NOARGS, nullptr },
663
- { "__exit__", reinterpret_cast<PyCFunction>(_exit_AppServiceConnection), METH_VARARGS, nullptr },
656
+ { "__exit__", reinterpret_cast<PyCFunction>(_exit_AppServiceConnection), METH_VARARGS, nullptr },
664
657
  { }
665
658
  };
666
659
 
@@ -671,23 +664,20 @@ namespace py::cpp::Windows::ApplicationModel::AppService
671
664
  { }
672
665
  };
673
666
 
674
- static PyType_Slot _type_slots_AppServiceConnection[] =
675
- {
667
+ static PyType_Slot _type_slots_AppServiceConnection[] = {
676
668
  { Py_tp_new, reinterpret_cast<void*>(_new_AppServiceConnection) },
677
669
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppServiceConnection) },
678
670
  { Py_tp_methods, reinterpret_cast<void*>(_methods_AppServiceConnection) },
679
671
  { Py_tp_getset, reinterpret_cast<void*>(_getset_AppServiceConnection) },
680
- { },
672
+ { }
681
673
  };
682
674
 
683
- static PyType_Spec type_spec_AppServiceConnection =
684
- {
675
+ static PyType_Spec type_spec_AppServiceConnection = {
685
676
  "winrt._winrt_windows_applicationmodel_appservice.AppServiceConnection",
686
677
  sizeof(py::wrapper::Windows::ApplicationModel::AppService::AppServiceConnection),
687
678
  0,
688
679
  Py_TPFLAGS_DEFAULT,
689
- _type_slots_AppServiceConnection
690
- };
680
+ _type_slots_AppServiceConnection};
691
681
 
692
682
  static PyGetSetDef getset_AppServiceConnection_Static[] = {
693
683
  { }
@@ -738,14 +728,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
738
728
 
739
729
  if (arg_count == 0)
740
730
  {
741
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceDeferral", L"Complete", 0))
742
- {
743
- py::set_arg_count_version_error(0);
744
- return nullptr;
745
- }
746
-
747
731
  try
748
732
  {
733
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceDeferral", L"Complete", 0))
734
+ {
735
+ py::set_arg_count_version_error(0);
736
+ return nullptr;
737
+ }
738
+
749
739
  self->obj.Complete();
750
740
  Py_RETURN_NONE;
751
741
  }
@@ -797,23 +787,20 @@ namespace py::cpp::Windows::ApplicationModel::AppService
797
787
  { }
798
788
  };
799
789
 
800
- static PyType_Slot _type_slots_AppServiceDeferral[] =
801
- {
790
+ static PyType_Slot _type_slots_AppServiceDeferral[] = {
802
791
  { Py_tp_new, reinterpret_cast<void*>(_new_AppServiceDeferral) },
803
792
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppServiceDeferral) },
804
793
  { Py_tp_methods, reinterpret_cast<void*>(_methods_AppServiceDeferral) },
805
794
  { Py_tp_getset, reinterpret_cast<void*>(_getset_AppServiceDeferral) },
806
- { },
795
+ { }
807
796
  };
808
797
 
809
- static PyType_Spec type_spec_AppServiceDeferral =
810
- {
798
+ static PyType_Spec type_spec_AppServiceDeferral = {
811
799
  "winrt._winrt_windows_applicationmodel_appservice.AppServiceDeferral",
812
800
  sizeof(py::wrapper::Windows::ApplicationModel::AppService::AppServiceDeferral),
813
801
  0,
814
802
  Py_TPFLAGS_DEFAULT,
815
- _type_slots_AppServiceDeferral
816
- };
803
+ _type_slots_AppServiceDeferral};
817
804
 
818
805
  // ----- AppServiceRequest class --------------------
819
806
 
@@ -838,14 +825,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
838
825
 
839
826
  if (arg_count == 1)
840
827
  {
841
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceRequest", L"SendResponseAsync", 1))
842
- {
843
- py::set_arg_count_version_error(1);
844
- return nullptr;
845
- }
846
-
847
828
  try
848
829
  {
830
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceRequest", L"SendResponseAsync", 1))
831
+ {
832
+ py::set_arg_count_version_error(1);
833
+ return nullptr;
834
+ }
835
+
849
836
  auto param0 = py::convert_to<winrt::Windows::Foundation::Collections::ValueSet>(args, 0);
850
837
 
851
838
  return py::convert(self->obj.SendResponseAsync(param0));
@@ -865,14 +852,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
865
852
 
866
853
  static PyObject* AppServiceRequest_get_Message(py::wrapper::Windows::ApplicationModel::AppService::AppServiceRequest* self, void* /*unused*/) noexcept
867
854
  {
868
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceRequest", L"Message"))
869
- {
870
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
871
- return nullptr;
872
- }
873
-
874
855
  try
875
856
  {
857
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceRequest", L"Message"))
858
+ {
859
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
860
+ return nullptr;
861
+ }
862
+
876
863
  return py::convert(self->obj.Message());
877
864
  }
878
865
  catch (...)
@@ -918,23 +905,20 @@ namespace py::cpp::Windows::ApplicationModel::AppService
918
905
  { }
919
906
  };
920
907
 
921
- static PyType_Slot _type_slots_AppServiceRequest[] =
922
- {
908
+ static PyType_Slot _type_slots_AppServiceRequest[] = {
923
909
  { Py_tp_new, reinterpret_cast<void*>(_new_AppServiceRequest) },
924
910
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppServiceRequest) },
925
911
  { Py_tp_methods, reinterpret_cast<void*>(_methods_AppServiceRequest) },
926
912
  { Py_tp_getset, reinterpret_cast<void*>(_getset_AppServiceRequest) },
927
- { },
913
+ { }
928
914
  };
929
915
 
930
- static PyType_Spec type_spec_AppServiceRequest =
931
- {
916
+ static PyType_Spec type_spec_AppServiceRequest = {
932
917
  "winrt._winrt_windows_applicationmodel_appservice.AppServiceRequest",
933
918
  sizeof(py::wrapper::Windows::ApplicationModel::AppService::AppServiceRequest),
934
919
  0,
935
920
  Py_TPFLAGS_DEFAULT,
936
- _type_slots_AppServiceRequest
937
- };
921
+ _type_slots_AppServiceRequest};
938
922
 
939
923
  // ----- AppServiceRequestReceivedEventArgs class --------------------
940
924
 
@@ -959,14 +943,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
959
943
 
960
944
  if (arg_count == 0)
961
945
  {
962
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceRequestReceivedEventArgs", L"GetDeferral", 0))
963
- {
964
- py::set_arg_count_version_error(0);
965
- return nullptr;
966
- }
967
-
968
946
  try
969
947
  {
948
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceRequestReceivedEventArgs", L"GetDeferral", 0))
949
+ {
950
+ py::set_arg_count_version_error(0);
951
+ return nullptr;
952
+ }
953
+
970
954
  return py::convert(self->obj.GetDeferral());
971
955
  }
972
956
  catch (...)
@@ -984,14 +968,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
984
968
 
985
969
  static PyObject* AppServiceRequestReceivedEventArgs_get_Request(py::wrapper::Windows::ApplicationModel::AppService::AppServiceRequestReceivedEventArgs* self, void* /*unused*/) noexcept
986
970
  {
987
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceRequestReceivedEventArgs", L"Request"))
988
- {
989
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
990
- return nullptr;
991
- }
992
-
993
971
  try
994
972
  {
973
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceRequestReceivedEventArgs", L"Request"))
974
+ {
975
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
976
+ return nullptr;
977
+ }
978
+
995
979
  return py::convert(self->obj.Request());
996
980
  }
997
981
  catch (...)
@@ -1037,23 +1021,20 @@ namespace py::cpp::Windows::ApplicationModel::AppService
1037
1021
  { }
1038
1022
  };
1039
1023
 
1040
- static PyType_Slot _type_slots_AppServiceRequestReceivedEventArgs[] =
1041
- {
1024
+ static PyType_Slot _type_slots_AppServiceRequestReceivedEventArgs[] = {
1042
1025
  { Py_tp_new, reinterpret_cast<void*>(_new_AppServiceRequestReceivedEventArgs) },
1043
1026
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppServiceRequestReceivedEventArgs) },
1044
1027
  { Py_tp_methods, reinterpret_cast<void*>(_methods_AppServiceRequestReceivedEventArgs) },
1045
1028
  { Py_tp_getset, reinterpret_cast<void*>(_getset_AppServiceRequestReceivedEventArgs) },
1046
- { },
1029
+ { }
1047
1030
  };
1048
1031
 
1049
- static PyType_Spec type_spec_AppServiceRequestReceivedEventArgs =
1050
- {
1032
+ static PyType_Spec type_spec_AppServiceRequestReceivedEventArgs = {
1051
1033
  "winrt._winrt_windows_applicationmodel_appservice.AppServiceRequestReceivedEventArgs",
1052
1034
  sizeof(py::wrapper::Windows::ApplicationModel::AppService::AppServiceRequestReceivedEventArgs),
1053
1035
  0,
1054
1036
  Py_TPFLAGS_DEFAULT,
1055
- _type_slots_AppServiceRequestReceivedEventArgs
1056
- };
1037
+ _type_slots_AppServiceRequestReceivedEventArgs};
1057
1038
 
1058
1039
  // ----- AppServiceResponse class --------------------
1059
1040
 
@@ -1074,14 +1055,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
1074
1055
 
1075
1056
  static PyObject* AppServiceResponse_get_Message(py::wrapper::Windows::ApplicationModel::AppService::AppServiceResponse* self, void* /*unused*/) noexcept
1076
1057
  {
1077
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceResponse", L"Message"))
1078
- {
1079
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1080
- return nullptr;
1081
- }
1082
-
1083
1058
  try
1084
1059
  {
1060
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceResponse", L"Message"))
1061
+ {
1062
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1063
+ return nullptr;
1064
+ }
1065
+
1085
1066
  return py::convert(self->obj.Message());
1086
1067
  }
1087
1068
  catch (...)
@@ -1093,14 +1074,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
1093
1074
 
1094
1075
  static PyObject* AppServiceResponse_get_Status(py::wrapper::Windows::ApplicationModel::AppService::AppServiceResponse* self, void* /*unused*/) noexcept
1095
1076
  {
1096
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceResponse", L"Status"))
1097
- {
1098
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1099
- return nullptr;
1100
- }
1101
-
1102
1077
  try
1103
1078
  {
1079
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceResponse", L"Status"))
1080
+ {
1081
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1082
+ return nullptr;
1083
+ }
1084
+
1104
1085
  return py::convert(self->obj.Status());
1105
1086
  }
1106
1087
  catch (...)
@@ -1146,23 +1127,20 @@ namespace py::cpp::Windows::ApplicationModel::AppService
1146
1127
  { }
1147
1128
  };
1148
1129
 
1149
- static PyType_Slot _type_slots_AppServiceResponse[] =
1150
- {
1130
+ static PyType_Slot _type_slots_AppServiceResponse[] = {
1151
1131
  { Py_tp_new, reinterpret_cast<void*>(_new_AppServiceResponse) },
1152
1132
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppServiceResponse) },
1153
1133
  { Py_tp_methods, reinterpret_cast<void*>(_methods_AppServiceResponse) },
1154
1134
  { Py_tp_getset, reinterpret_cast<void*>(_getset_AppServiceResponse) },
1155
- { },
1135
+ { }
1156
1136
  };
1157
1137
 
1158
- static PyType_Spec type_spec_AppServiceResponse =
1159
- {
1138
+ static PyType_Spec type_spec_AppServiceResponse = {
1160
1139
  "winrt._winrt_windows_applicationmodel_appservice.AppServiceResponse",
1161
1140
  sizeof(py::wrapper::Windows::ApplicationModel::AppService::AppServiceResponse),
1162
1141
  0,
1163
1142
  Py_TPFLAGS_DEFAULT,
1164
- _type_slots_AppServiceResponse
1165
- };
1143
+ _type_slots_AppServiceResponse};
1166
1144
 
1167
1145
  // ----- AppServiceTriggerDetails class --------------------
1168
1146
 
@@ -1187,14 +1165,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
1187
1165
 
1188
1166
  if (arg_count == 1)
1189
1167
  {
1190
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceTriggerDetails", L"CheckCallerForCapabilityAsync", 1))
1191
- {
1192
- py::set_arg_count_version_error(1);
1193
- return nullptr;
1194
- }
1195
-
1196
1168
  try
1197
1169
  {
1170
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.AppService.AppServiceTriggerDetails", L"CheckCallerForCapabilityAsync", 1))
1171
+ {
1172
+ py::set_arg_count_version_error(1);
1173
+ return nullptr;
1174
+ }
1175
+
1198
1176
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
1199
1177
 
1200
1178
  return py::convert(self->obj.CheckCallerForCapabilityAsync(param0));
@@ -1214,14 +1192,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
1214
1192
 
1215
1193
  static PyObject* AppServiceTriggerDetails_get_AppServiceConnection(py::wrapper::Windows::ApplicationModel::AppService::AppServiceTriggerDetails* self, void* /*unused*/) noexcept
1216
1194
  {
1217
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceTriggerDetails", L"AppServiceConnection"))
1218
- {
1219
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1220
- return nullptr;
1221
- }
1222
-
1223
1195
  try
1224
1196
  {
1197
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceTriggerDetails", L"AppServiceConnection"))
1198
+ {
1199
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1200
+ return nullptr;
1201
+ }
1202
+
1225
1203
  return py::convert(self->obj.AppServiceConnection());
1226
1204
  }
1227
1205
  catch (...)
@@ -1233,14 +1211,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
1233
1211
 
1234
1212
  static PyObject* AppServiceTriggerDetails_get_CallerPackageFamilyName(py::wrapper::Windows::ApplicationModel::AppService::AppServiceTriggerDetails* self, void* /*unused*/) noexcept
1235
1213
  {
1236
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceTriggerDetails", L"CallerPackageFamilyName"))
1237
- {
1238
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1239
- return nullptr;
1240
- }
1241
-
1242
1214
  try
1243
1215
  {
1216
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceTriggerDetails", L"CallerPackageFamilyName"))
1217
+ {
1218
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1219
+ return nullptr;
1220
+ }
1221
+
1244
1222
  return py::convert(self->obj.CallerPackageFamilyName());
1245
1223
  }
1246
1224
  catch (...)
@@ -1252,14 +1230,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
1252
1230
 
1253
1231
  static PyObject* AppServiceTriggerDetails_get_Name(py::wrapper::Windows::ApplicationModel::AppService::AppServiceTriggerDetails* self, void* /*unused*/) noexcept
1254
1232
  {
1255
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceTriggerDetails", L"Name"))
1256
- {
1257
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1258
- return nullptr;
1259
- }
1260
-
1261
1233
  try
1262
1234
  {
1235
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceTriggerDetails", L"Name"))
1236
+ {
1237
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1238
+ return nullptr;
1239
+ }
1240
+
1263
1241
  return py::convert(self->obj.Name());
1264
1242
  }
1265
1243
  catch (...)
@@ -1271,14 +1249,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
1271
1249
 
1272
1250
  static PyObject* AppServiceTriggerDetails_get_IsRemoteSystemConnection(py::wrapper::Windows::ApplicationModel::AppService::AppServiceTriggerDetails* self, void* /*unused*/) noexcept
1273
1251
  {
1274
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceTriggerDetails", L"IsRemoteSystemConnection"))
1275
- {
1276
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1277
- return nullptr;
1278
- }
1279
-
1280
1252
  try
1281
1253
  {
1254
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceTriggerDetails", L"IsRemoteSystemConnection"))
1255
+ {
1256
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1257
+ return nullptr;
1258
+ }
1259
+
1282
1260
  return py::convert(self->obj.IsRemoteSystemConnection());
1283
1261
  }
1284
1262
  catch (...)
@@ -1290,14 +1268,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
1290
1268
 
1291
1269
  static PyObject* AppServiceTriggerDetails_get_CallerRemoteConnectionToken(py::wrapper::Windows::ApplicationModel::AppService::AppServiceTriggerDetails* self, void* /*unused*/) noexcept
1292
1270
  {
1293
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceTriggerDetails", L"CallerRemoteConnectionToken"))
1294
- {
1295
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1296
- return nullptr;
1297
- }
1298
-
1299
1271
  try
1300
1272
  {
1273
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.AppServiceTriggerDetails", L"CallerRemoteConnectionToken"))
1274
+ {
1275
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1276
+ return nullptr;
1277
+ }
1278
+
1301
1279
  return py::convert(self->obj.CallerRemoteConnectionToken());
1302
1280
  }
1303
1281
  catch (...)
@@ -1347,23 +1325,20 @@ namespace py::cpp::Windows::ApplicationModel::AppService
1347
1325
  { }
1348
1326
  };
1349
1327
 
1350
- static PyType_Slot _type_slots_AppServiceTriggerDetails[] =
1351
- {
1328
+ static PyType_Slot _type_slots_AppServiceTriggerDetails[] = {
1352
1329
  { Py_tp_new, reinterpret_cast<void*>(_new_AppServiceTriggerDetails) },
1353
1330
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AppServiceTriggerDetails) },
1354
1331
  { Py_tp_methods, reinterpret_cast<void*>(_methods_AppServiceTriggerDetails) },
1355
1332
  { Py_tp_getset, reinterpret_cast<void*>(_getset_AppServiceTriggerDetails) },
1356
- { },
1333
+ { }
1357
1334
  };
1358
1335
 
1359
- static PyType_Spec type_spec_AppServiceTriggerDetails =
1360
- {
1336
+ static PyType_Spec type_spec_AppServiceTriggerDetails = {
1361
1337
  "winrt._winrt_windows_applicationmodel_appservice.AppServiceTriggerDetails",
1362
1338
  sizeof(py::wrapper::Windows::ApplicationModel::AppService::AppServiceTriggerDetails),
1363
1339
  0,
1364
1340
  Py_TPFLAGS_DEFAULT,
1365
- _type_slots_AppServiceTriggerDetails
1366
- };
1341
+ _type_slots_AppServiceTriggerDetails};
1367
1342
 
1368
1343
  // ----- StatelessAppServiceResponse class --------------------
1369
1344
 
@@ -1384,14 +1359,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
1384
1359
 
1385
1360
  static PyObject* StatelessAppServiceResponse_get_Message(py::wrapper::Windows::ApplicationModel::AppService::StatelessAppServiceResponse* self, void* /*unused*/) noexcept
1386
1361
  {
1387
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.StatelessAppServiceResponse", L"Message"))
1388
- {
1389
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1390
- return nullptr;
1391
- }
1392
-
1393
1362
  try
1394
1363
  {
1364
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.StatelessAppServiceResponse", L"Message"))
1365
+ {
1366
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1367
+ return nullptr;
1368
+ }
1369
+
1395
1370
  return py::convert(self->obj.Message());
1396
1371
  }
1397
1372
  catch (...)
@@ -1403,14 +1378,14 @@ namespace py::cpp::Windows::ApplicationModel::AppService
1403
1378
 
1404
1379
  static PyObject* StatelessAppServiceResponse_get_Status(py::wrapper::Windows::ApplicationModel::AppService::StatelessAppServiceResponse* self, void* /*unused*/) noexcept
1405
1380
  {
1406
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.StatelessAppServiceResponse", L"Status"))
1407
- {
1408
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1409
- return nullptr;
1410
- }
1411
-
1412
1381
  try
1413
1382
  {
1383
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.AppService.StatelessAppServiceResponse", L"Status"))
1384
+ {
1385
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1386
+ return nullptr;
1387
+ }
1388
+
1414
1389
  return py::convert(self->obj.Status());
1415
1390
  }
1416
1391
  catch (...)
@@ -1456,39 +1431,35 @@ namespace py::cpp::Windows::ApplicationModel::AppService
1456
1431
  { }
1457
1432
  };
1458
1433
 
1459
- static PyType_Slot _type_slots_StatelessAppServiceResponse[] =
1460
- {
1434
+ static PyType_Slot _type_slots_StatelessAppServiceResponse[] = {
1461
1435
  { Py_tp_new, reinterpret_cast<void*>(_new_StatelessAppServiceResponse) },
1462
1436
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_StatelessAppServiceResponse) },
1463
1437
  { Py_tp_methods, reinterpret_cast<void*>(_methods_StatelessAppServiceResponse) },
1464
1438
  { Py_tp_getset, reinterpret_cast<void*>(_getset_StatelessAppServiceResponse) },
1465
- { },
1439
+ { }
1466
1440
  };
1467
1441
 
1468
- static PyType_Spec type_spec_StatelessAppServiceResponse =
1469
- {
1442
+ static PyType_Spec type_spec_StatelessAppServiceResponse = {
1470
1443
  "winrt._winrt_windows_applicationmodel_appservice.StatelessAppServiceResponse",
1471
1444
  sizeof(py::wrapper::Windows::ApplicationModel::AppService::StatelessAppServiceResponse),
1472
1445
  0,
1473
1446
  Py_TPFLAGS_DEFAULT,
1474
- _type_slots_StatelessAppServiceResponse
1475
- };
1447
+ _type_slots_StatelessAppServiceResponse};
1476
1448
 
1477
1449
  // ----- Windows.ApplicationModel.AppService Initialization --------------------
1478
- PyDoc_STRVAR(module_doc, "Windows::ApplicationModel::AppService");
1479
1450
 
1451
+ PyDoc_STRVAR(module_doc, "Windows.ApplicationModel.AppService");
1480
1452
 
1481
- static PyModuleDef module_def
1482
- = {PyModuleDef_HEAD_INIT,
1483
- "_winrt_windows_applicationmodel_appservice",
1484
- module_doc,
1485
- 0,
1486
- nullptr,
1487
- nullptr,
1488
- nullptr,
1489
- nullptr,
1490
- nullptr};
1491
-
1453
+ static PyModuleDef module_def = {
1454
+ PyModuleDef_HEAD_INIT,
1455
+ "_winrt_windows_applicationmodel_appservice",
1456
+ module_doc,
1457
+ 0,
1458
+ nullptr,
1459
+ nullptr,
1460
+ nullptr,
1461
+ nullptr,
1462
+ nullptr};
1492
1463
  } // py::cpp::Windows::ApplicationModel::AppService
1493
1464
 
1494
1465
  PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_appservice(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_applicationmodel_appservice",
26
+ sources=["py.Windows.ApplicationModel.AppService.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,11 +9,11 @@ from builtins import property as _property
9
9
 
10
10
  import winrt._winrt
11
11
  import winrt.system
12
- import winrt.windows.applicationmodel
13
- import winrt.windows.foundation
14
- import winrt.windows.foundation.collections
15
- import winrt.windows.system
16
- import winrt.windows.system.remotesystems
12
+ import winrt.windows.applicationmodel as windows_applicationmodel
13
+ import winrt.windows.foundation as windows_foundation
14
+ import winrt.windows.foundation.collections as windows_foundation_collections
15
+ import winrt.windows.system as windows_system
16
+ import winrt.windows.system.remotesystems as windows_system_remotesystems
17
17
 
18
18
  from winrt.windows.applicationmodel.appservice import AppServiceClosedStatus, AppServiceConnectionStatus, AppServiceResponseStatus, StatelessAppServiceResponseStatus
19
19
 
@@ -21,12 +21,11 @@ Self = typing.TypeVar('Self')
21
21
 
22
22
  @typing.final
23
23
  class AppServiceCatalog_Static(type):
24
- def find_app_service_providers_async(cls, app_service_name: str, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[winrt.windows.applicationmodel.AppInfo]]: ...
24
+ def find_app_service_providers_async(cls, app_service_name: str, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_applicationmodel.AppInfo]]: ...
25
25
 
26
26
  @typing.final
27
27
  class AppServiceCatalog(winrt.system.Object, metaclass=AppServiceCatalog_Static):
28
- @staticmethod
29
- def _from(obj: winrt.system.Object, /) -> AppServiceCatalog: ...
28
+ pass
30
29
 
31
30
  @typing.final
32
31
  class AppServiceClosedEventArgs(winrt.system.Object):
@@ -37,7 +36,7 @@ class AppServiceClosedEventArgs(winrt.system.Object):
37
36
 
38
37
  @typing.final
39
38
  class AppServiceConnection_Static(type):
40
- def send_stateless_message_async(cls, connection: typing.Optional[AppServiceConnection], connection_request: typing.Optional[winrt.windows.system.remotesystems.RemoteSystemConnectionRequest], message: typing.Optional[winrt.windows.foundation.collections.ValueSet], /) -> winrt.windows.foundation.IAsyncOperation[StatelessAppServiceResponse]: ...
39
+ def send_stateless_message_async(cls, connection: typing.Optional[AppServiceConnection], connection_request: typing.Optional[windows_system_remotesystems.RemoteSystemConnectionRequest], message: typing.Optional[windows_foundation_collections.ValueSet], /) -> windows_foundation.IAsyncOperation[StatelessAppServiceResponse]: ...
41
40
 
42
41
  @typing.final
43
42
  class AppServiceConnection(winrt.system.Object, metaclass=AppServiceConnection_Static):
@@ -45,15 +44,15 @@ class AppServiceConnection(winrt.system.Object, metaclass=AppServiceConnection_S
45
44
  def __exit__(self, *args) -> None: ...
46
45
  @staticmethod
47
46
  def _from(obj: winrt.system.Object, /) -> AppServiceConnection: ...
48
- def __new__(cls: typing.Type[AppServiceConnection]) -> AppServiceConnection:...
47
+ def __new__(cls: typing.Type[AppServiceConnection]) -> AppServiceConnection: ...
49
48
  def close(self) -> None: ...
50
- def open_async(self) -> winrt.windows.foundation.IAsyncOperation[AppServiceConnectionStatus]: ...
51
- def open_remote_async(self, remote_system_connection_request: typing.Optional[winrt.windows.system.remotesystems.RemoteSystemConnectionRequest], /) -> winrt.windows.foundation.IAsyncOperation[AppServiceConnectionStatus]: ...
52
- def send_message_async(self, message: typing.Optional[winrt.windows.foundation.collections.ValueSet], /) -> winrt.windows.foundation.IAsyncOperation[AppServiceResponse]: ...
53
- def add_request_received(self, handler: winrt.windows.foundation.TypedEventHandler[AppServiceConnection, AppServiceRequestReceivedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
54
- def remove_request_received(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
55
- def add_service_closed(self, handler: winrt.windows.foundation.TypedEventHandler[AppServiceConnection, AppServiceClosedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
56
- def remove_service_closed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
49
+ def open_async(self) -> windows_foundation.IAsyncOperation[AppServiceConnectionStatus]: ...
50
+ def open_remote_async(self, remote_system_connection_request: typing.Optional[windows_system_remotesystems.RemoteSystemConnectionRequest], /) -> windows_foundation.IAsyncOperation[AppServiceConnectionStatus]: ...
51
+ def send_message_async(self, message: typing.Optional[windows_foundation_collections.ValueSet], /) -> windows_foundation.IAsyncOperation[AppServiceResponse]: ...
52
+ def add_request_received(self, handler: windows_foundation.TypedEventHandler[AppServiceConnection, AppServiceRequestReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
53
+ def remove_request_received(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
54
+ def add_service_closed(self, handler: windows_foundation.TypedEventHandler[AppServiceConnection, AppServiceClosedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
55
+ def remove_service_closed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
57
56
  @_property
58
57
  def package_family_name(self) -> str: ...
59
58
  @package_family_name.setter
@@ -63,9 +62,9 @@ class AppServiceConnection(winrt.system.Object, metaclass=AppServiceConnection_S
63
62
  @app_service_name.setter
64
63
  def app_service_name(self, value: str) -> None: ...
65
64
  @_property
66
- def user(self) -> typing.Optional[winrt.windows.system.User]: ...
65
+ def user(self) -> typing.Optional[windows_system.User]: ...
67
66
  @user.setter
68
- def user(self, value: typing.Optional[winrt.windows.system.User]) -> None: ...
67
+ def user(self, value: typing.Optional[windows_system.User]) -> None: ...
69
68
 
70
69
  @typing.final
71
70
  class AppServiceDeferral(winrt.system.Object):
@@ -77,9 +76,9 @@ class AppServiceDeferral(winrt.system.Object):
77
76
  class AppServiceRequest(winrt.system.Object):
78
77
  @staticmethod
79
78
  def _from(obj: winrt.system.Object, /) -> AppServiceRequest: ...
80
- def send_response_async(self, message: typing.Optional[winrt.windows.foundation.collections.ValueSet], /) -> winrt.windows.foundation.IAsyncOperation[AppServiceResponseStatus]: ...
79
+ def send_response_async(self, message: typing.Optional[windows_foundation_collections.ValueSet], /) -> windows_foundation.IAsyncOperation[AppServiceResponseStatus]: ...
81
80
  @_property
82
- def message(self) -> typing.Optional[winrt.windows.foundation.collections.ValueSet]: ...
81
+ def message(self) -> typing.Optional[windows_foundation_collections.ValueSet]: ...
83
82
 
84
83
  @typing.final
85
84
  class AppServiceRequestReceivedEventArgs(winrt.system.Object):
@@ -94,7 +93,7 @@ class AppServiceResponse(winrt.system.Object):
94
93
  @staticmethod
95
94
  def _from(obj: winrt.system.Object, /) -> AppServiceResponse: ...
96
95
  @_property
97
- def message(self) -> typing.Optional[winrt.windows.foundation.collections.ValueSet]: ...
96
+ def message(self) -> typing.Optional[windows_foundation_collections.ValueSet]: ...
98
97
  @_property
99
98
  def status(self) -> AppServiceResponseStatus: ...
100
99
 
@@ -102,7 +101,7 @@ class AppServiceResponse(winrt.system.Object):
102
101
  class AppServiceTriggerDetails(winrt.system.Object):
103
102
  @staticmethod
104
103
  def _from(obj: winrt.system.Object, /) -> AppServiceTriggerDetails: ...
105
- def check_caller_for_capability_async(self, capability_name: str, /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
104
+ def check_caller_for_capability_async(self, capability_name: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
106
105
  @_property
107
106
  def app_service_connection(self) -> typing.Optional[AppServiceConnection]: ...
108
107
  @_property
@@ -119,7 +118,7 @@ class StatelessAppServiceResponse(winrt.system.Object):
119
118
  @staticmethod
120
119
  def _from(obj: winrt.system.Object, /) -> StatelessAppServiceResponse: ...
121
120
  @_property
122
- def message(self) -> typing.Optional[winrt.windows.foundation.collections.ValueSet]: ...
121
+ def message(self) -> typing.Optional[windows_foundation_collections.ValueSet]: ...
123
122
  @_property
124
123
  def status(self) -> StatelessAppServiceResponseStatus: ...
125
124
 
@@ -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 enum
4
4
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.AppService
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,13 @@ 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.ApplicationModel[all]==2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.System[all]==2.1.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.System.RemoteSystems[all]==2.1.0; extra == "all"
16
22
 
17
23
  <!-- warning: Please don't edit this file. It was automatically generated. -->
18
24
 
@@ -7,6 +7,7 @@ requirements.txt
7
7
  setup.py
8
8
  winrt/_winrt_windows_applicationmodel_appservice.pyi
9
9
  winrt/windows/applicationmodel/appservice/__init__.py
10
+ winrt/windows/applicationmodel/appservice/py.typed
10
11
  winrt_Windows.ApplicationModel.AppService.egg-info/PKG-INFO
11
12
  winrt_Windows.ApplicationModel.AppService.egg-info/SOURCES.txt
12
13
  winrt_Windows.ApplicationModel.AppService.egg-info/dependency_links.txt
@@ -0,0 +1,8 @@
1
+ winrt-runtime==2.1.0
2
+
3
+ [all]
4
+ winrt-Windows.ApplicationModel[all]==2.1.0
5
+ winrt-Windows.Foundation[all]==2.1.0
6
+ winrt-Windows.Foundation.Collections[all]==2.1.0
7
+ winrt-Windows.System[all]==2.1.0
8
+ winrt-Windows.System.RemoteSystems[all]==2.1.0
@@ -1,7 +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.ApplicationModel[all]==2.0.0-beta.2
4
- winrt-Windows.Foundation[all]==2.0.0-beta.2
5
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.2
6
- winrt-Windows.System[all]==2.0.0-beta.2
7
- winrt-Windows.System.RemoteSystems[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_applicationmodel_appservice",
10
- sources=["py.Windows.ApplicationModel.AppService.cpp"],
11
- include_dirs=get_include_dirs(),
12
- extra_compile_args=["/std:c++20", "/permissive-"],
13
- libraries=["windowsapp"],
14
- )
15
- ],
16
- )
@@ -1,8 +0,0 @@
1
- winrt-runtime==2.0.0-beta.2
2
-
3
- [all]
4
- winrt-Windows.ApplicationModel[all]==2.0.0-beta.2
5
- winrt-Windows.Foundation[all]==2.0.0-beta.2
6
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.2
7
- winrt-Windows.System[all]==2.0.0-beta.2
8
- winrt-Windows.System.RemoteSystems[all]==2.0.0-beta.2