winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider 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.Appointments.AppointmentsProvider-2.0.0b2 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0}/PKG-INFO +4 -1
  2. winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0/all-requirements.txt +4 -0
  3. {winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider-2.0.0b2 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0}/py.Windows.ApplicationModel.Appointments.AppointmentsProvider.cpp +184 -198
  4. {winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider-2.0.0b2 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0}/pyproject.toml +2 -2
  5. winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0/pywinrt-version.txt +1 -0
  6. {winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider-2.0.0b2 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0}/requirements.txt +2 -2
  7. winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0/setup.py +31 -0
  8. {winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider-2.0.0b2 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0}/winrt/_winrt_windows_applicationmodel_appointments_appointmentsprovider.pyi +6 -7
  9. {winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider-2.0.0b2 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0}/winrt/windows/applicationmodel/appointments/appointmentsprovider/__init__.py +1 -1
  10. winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0/winrt/windows/applicationmodel/appointments/appointmentsprovider/py.typed +0 -0
  11. {winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider-2.0.0b2 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0}/winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/PKG-INFO +4 -1
  12. {winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider-2.0.0b2 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0}/winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/SOURCES.txt +1 -0
  13. winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0/winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/requires.txt +5 -0
  14. winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider-2.0.0b2/all-requirements.txt +0 -4
  15. winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider-2.0.0b2/pywinrt-version.txt +0 -1
  16. winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider-2.0.0b2/setup.py +0 -16
  17. winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider-2.0.0b2/winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/requires.txt +0 -5
  18. {winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider-2.0.0b2 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0}/README.md +0 -0
  19. {winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider-2.0.0b2 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0}/setup.cfg +0 -0
  20. {winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider-2.0.0b2 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0}/winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/dependency_links.txt +0 -0
  21. {winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider-2.0.0b2 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0}/winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider
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.ApplicationModel.Appointments[all]==2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[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.ApplicationModel.Appointments[all]==2.1.0
4
+ winrt-Windows.Foundation[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.Appointments.AppointmentsProvider.h"
4
4
 
5
-
6
5
  namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
7
6
  {
8
7
  // ----- AddAppointmentOperation class --------------------
@@ -28,14 +27,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
28
27
 
29
28
  if (arg_count == 0)
30
29
  {
31
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"DismissUI", 0))
32
- {
33
- py::set_arg_count_version_error(0);
34
- return nullptr;
35
- }
36
-
37
30
  try
38
31
  {
32
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"DismissUI", 0))
33
+ {
34
+ py::set_arg_count_version_error(0);
35
+ return nullptr;
36
+ }
37
+
39
38
  self->obj.DismissUI();
40
39
  Py_RETURN_NONE;
41
40
  }
@@ -58,14 +57,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
58
57
 
59
58
  if (arg_count == 0)
60
59
  {
61
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"ReportCanceled", 0))
62
- {
63
- py::set_arg_count_version_error(0);
64
- return nullptr;
65
- }
66
-
67
60
  try
68
61
  {
62
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"ReportCanceled", 0))
63
+ {
64
+ py::set_arg_count_version_error(0);
65
+ return nullptr;
66
+ }
67
+
69
68
  self->obj.ReportCanceled();
70
69
  Py_RETURN_NONE;
71
70
  }
@@ -88,14 +87,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
88
87
 
89
88
  if (arg_count == 1)
90
89
  {
91
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"ReportCompleted", 1))
92
- {
93
- py::set_arg_count_version_error(1);
94
- return nullptr;
95
- }
96
-
97
90
  try
98
91
  {
92
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"ReportCompleted", 1))
93
+ {
94
+ py::set_arg_count_version_error(1);
95
+ return nullptr;
96
+ }
97
+
99
98
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
100
99
 
101
100
  self->obj.ReportCompleted(param0);
@@ -120,14 +119,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
120
119
 
121
120
  if (arg_count == 1)
122
121
  {
123
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"ReportError", 1))
124
- {
125
- py::set_arg_count_version_error(1);
126
- return nullptr;
127
- }
128
-
129
122
  try
130
123
  {
124
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"ReportError", 1))
125
+ {
126
+ py::set_arg_count_version_error(1);
127
+ return nullptr;
128
+ }
129
+
131
130
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
132
131
 
133
132
  self->obj.ReportError(param0);
@@ -148,14 +147,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
148
147
 
149
148
  static PyObject* AddAppointmentOperation_get_AppointmentInformation(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::AddAppointmentOperation* self, void* /*unused*/) noexcept
150
149
  {
151
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"AppointmentInformation"))
152
- {
153
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
154
- return nullptr;
155
- }
156
-
157
150
  try
158
151
  {
152
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"AppointmentInformation"))
153
+ {
154
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
155
+ return nullptr;
156
+ }
157
+
159
158
  return py::convert(self->obj.AppointmentInformation());
160
159
  }
161
160
  catch (...)
@@ -167,14 +166,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
167
166
 
168
167
  static PyObject* AddAppointmentOperation_get_SourcePackageFamilyName(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::AddAppointmentOperation* self, void* /*unused*/) noexcept
169
168
  {
170
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"SourcePackageFamilyName"))
171
- {
172
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
173
- return nullptr;
174
- }
175
-
176
169
  try
177
170
  {
171
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"SourcePackageFamilyName"))
172
+ {
173
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
174
+ return nullptr;
175
+ }
176
+
178
177
  return py::convert(self->obj.SourcePackageFamilyName());
179
178
  }
180
179
  catch (...)
@@ -224,23 +223,20 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
224
223
  { }
225
224
  };
226
225
 
227
- static PyType_Slot _type_slots_AddAppointmentOperation[] =
228
- {
226
+ static PyType_Slot _type_slots_AddAppointmentOperation[] = {
229
227
  { Py_tp_new, reinterpret_cast<void*>(_new_AddAppointmentOperation) },
230
228
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AddAppointmentOperation) },
231
229
  { Py_tp_methods, reinterpret_cast<void*>(_methods_AddAppointmentOperation) },
232
230
  { Py_tp_getset, reinterpret_cast<void*>(_getset_AddAppointmentOperation) },
233
- { },
231
+ { }
234
232
  };
235
233
 
236
- static PyType_Spec type_spec_AddAppointmentOperation =
237
- {
234
+ static PyType_Spec type_spec_AddAppointmentOperation = {
238
235
  "winrt._winrt_windows_applicationmodel_appointments_appointmentsprovider.AddAppointmentOperation",
239
236
  sizeof(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::AddAppointmentOperation),
240
237
  0,
241
238
  Py_TPFLAGS_DEFAULT,
242
- _type_slots_AddAppointmentOperation
243
- };
239
+ _type_slots_AddAppointmentOperation};
244
240
 
245
241
  // ----- AppointmentsProviderLaunchActionVerbs class --------------------
246
242
 
@@ -253,14 +249,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
253
249
 
254
250
  static PyObject* AppointmentsProviderLaunchActionVerbs_get_AddAppointment(PyObject* /*unused*/, void* /*unused*/) noexcept
255
251
  {
256
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"AddAppointment"))
257
- {
258
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
259
- return nullptr;
260
- }
261
-
262
252
  try
263
253
  {
254
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"AddAppointment"))
255
+ {
256
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
257
+ return nullptr;
258
+ }
259
+
264
260
  return py::convert(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::AppointmentsProviderLaunchActionVerbs::AddAppointment());
265
261
  }
266
262
  catch (...)
@@ -272,14 +268,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
272
268
 
273
269
  static PyObject* AppointmentsProviderLaunchActionVerbs_get_RemoveAppointment(PyObject* /*unused*/, void* /*unused*/) noexcept
274
270
  {
275
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"RemoveAppointment"))
276
- {
277
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
278
- return nullptr;
279
- }
280
-
281
271
  try
282
272
  {
273
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"RemoveAppointment"))
274
+ {
275
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
276
+ return nullptr;
277
+ }
278
+
283
279
  return py::convert(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::AppointmentsProviderLaunchActionVerbs::RemoveAppointment());
284
280
  }
285
281
  catch (...)
@@ -291,14 +287,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
291
287
 
292
288
  static PyObject* AppointmentsProviderLaunchActionVerbs_get_ReplaceAppointment(PyObject* /*unused*/, void* /*unused*/) noexcept
293
289
  {
294
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"ReplaceAppointment"))
295
- {
296
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
297
- return nullptr;
298
- }
299
-
300
290
  try
301
291
  {
292
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"ReplaceAppointment"))
293
+ {
294
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
295
+ return nullptr;
296
+ }
297
+
302
298
  return py::convert(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::AppointmentsProviderLaunchActionVerbs::ReplaceAppointment());
303
299
  }
304
300
  catch (...)
@@ -310,14 +306,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
310
306
 
311
307
  static PyObject* AppointmentsProviderLaunchActionVerbs_get_ShowTimeFrame(PyObject* /*unused*/, void* /*unused*/) noexcept
312
308
  {
313
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"ShowTimeFrame"))
314
- {
315
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
316
- return nullptr;
317
- }
318
-
319
309
  try
320
310
  {
311
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"ShowTimeFrame"))
312
+ {
313
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
314
+ return nullptr;
315
+ }
316
+
321
317
  return py::convert(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::AppointmentsProviderLaunchActionVerbs::ShowTimeFrame());
322
318
  }
323
319
  catch (...)
@@ -329,14 +325,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
329
325
 
330
326
  static PyObject* AppointmentsProviderLaunchActionVerbs_get_ShowAppointmentDetails(PyObject* /*unused*/, void* /*unused*/) noexcept
331
327
  {
332
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"ShowAppointmentDetails"))
333
- {
334
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
335
- return nullptr;
336
- }
337
-
338
328
  try
339
329
  {
330
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"ShowAppointmentDetails"))
331
+ {
332
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
333
+ return nullptr;
334
+ }
335
+
340
336
  return py::convert(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::AppointmentsProviderLaunchActionVerbs::ShowAppointmentDetails());
341
337
  }
342
338
  catch (...)
@@ -354,22 +350,19 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
354
350
  { }
355
351
  };
356
352
 
357
- static PyType_Slot _type_slots_AppointmentsProviderLaunchActionVerbs[] =
358
- {
353
+ static PyType_Slot _type_slots_AppointmentsProviderLaunchActionVerbs[] = {
359
354
  { Py_tp_new, reinterpret_cast<void*>(_new_AppointmentsProviderLaunchActionVerbs) },
360
355
  { Py_tp_methods, reinterpret_cast<void*>(_methods_AppointmentsProviderLaunchActionVerbs) },
361
356
  { Py_tp_getset, reinterpret_cast<void*>(_getset_AppointmentsProviderLaunchActionVerbs) },
362
- { },
357
+ { }
363
358
  };
364
359
 
365
- static PyType_Spec type_spec_AppointmentsProviderLaunchActionVerbs =
366
- {
360
+ static PyType_Spec type_spec_AppointmentsProviderLaunchActionVerbs = {
367
361
  "winrt._winrt_windows_applicationmodel_appointments_appointmentsprovider.AppointmentsProviderLaunchActionVerbs",
368
362
  0,
369
363
  0,
370
364
  Py_TPFLAGS_DEFAULT,
371
- _type_slots_AppointmentsProviderLaunchActionVerbs
372
- };
365
+ _type_slots_AppointmentsProviderLaunchActionVerbs};
373
366
 
374
367
  static PyGetSetDef getset_AppointmentsProviderLaunchActionVerbs_Static[] = {
375
368
  { "add_appointment", reinterpret_cast<getter>(AppointmentsProviderLaunchActionVerbs_get_AddAppointment), nullptr, nullptr, nullptr },
@@ -424,14 +417,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
424
417
 
425
418
  if (arg_count == 0)
426
419
  {
427
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"DismissUI", 0))
428
- {
429
- py::set_arg_count_version_error(0);
430
- return nullptr;
431
- }
432
-
433
420
  try
434
421
  {
422
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"DismissUI", 0))
423
+ {
424
+ py::set_arg_count_version_error(0);
425
+ return nullptr;
426
+ }
427
+
435
428
  self->obj.DismissUI();
436
429
  Py_RETURN_NONE;
437
430
  }
@@ -454,14 +447,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
454
447
 
455
448
  if (arg_count == 0)
456
449
  {
457
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"ReportCanceled", 0))
458
- {
459
- py::set_arg_count_version_error(0);
460
- return nullptr;
461
- }
462
-
463
450
  try
464
451
  {
452
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"ReportCanceled", 0))
453
+ {
454
+ py::set_arg_count_version_error(0);
455
+ return nullptr;
456
+ }
457
+
465
458
  self->obj.ReportCanceled();
466
459
  Py_RETURN_NONE;
467
460
  }
@@ -484,14 +477,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
484
477
 
485
478
  if (arg_count == 0)
486
479
  {
487
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"ReportCompleted", 0))
488
- {
489
- py::set_arg_count_version_error(0);
490
- return nullptr;
491
- }
492
-
493
480
  try
494
481
  {
482
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"ReportCompleted", 0))
483
+ {
484
+ py::set_arg_count_version_error(0);
485
+ return nullptr;
486
+ }
487
+
495
488
  self->obj.ReportCompleted();
496
489
  Py_RETURN_NONE;
497
490
  }
@@ -514,14 +507,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
514
507
 
515
508
  if (arg_count == 1)
516
509
  {
517
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"ReportError", 1))
518
- {
519
- py::set_arg_count_version_error(1);
520
- return nullptr;
521
- }
522
-
523
510
  try
524
511
  {
512
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"ReportError", 1))
513
+ {
514
+ py::set_arg_count_version_error(1);
515
+ return nullptr;
516
+ }
517
+
525
518
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
526
519
 
527
520
  self->obj.ReportError(param0);
@@ -542,14 +535,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
542
535
 
543
536
  static PyObject* RemoveAppointmentOperation_get_AppointmentId(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::RemoveAppointmentOperation* self, void* /*unused*/) noexcept
544
537
  {
545
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"AppointmentId"))
546
- {
547
- PyErr_SetString(PyExc_AttributeError, "property 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::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"AppointmentId"))
541
+ {
542
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
543
+ return nullptr;
544
+ }
545
+
553
546
  return py::convert(self->obj.AppointmentId());
554
547
  }
555
548
  catch (...)
@@ -561,14 +554,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
561
554
 
562
555
  static PyObject* RemoveAppointmentOperation_get_InstanceStartDate(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::RemoveAppointmentOperation* self, void* /*unused*/) noexcept
563
556
  {
564
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"InstanceStartDate"))
565
- {
566
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
567
- return nullptr;
568
- }
569
-
570
557
  try
571
558
  {
559
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"InstanceStartDate"))
560
+ {
561
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
562
+ return nullptr;
563
+ }
564
+
572
565
  return py::convert(self->obj.InstanceStartDate());
573
566
  }
574
567
  catch (...)
@@ -580,14 +573,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
580
573
 
581
574
  static PyObject* RemoveAppointmentOperation_get_SourcePackageFamilyName(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::RemoveAppointmentOperation* self, void* /*unused*/) noexcept
582
575
  {
583
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"SourcePackageFamilyName"))
584
- {
585
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
586
- return nullptr;
587
- }
588
-
589
576
  try
590
577
  {
578
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"SourcePackageFamilyName"))
579
+ {
580
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
581
+ return nullptr;
582
+ }
583
+
591
584
  return py::convert(self->obj.SourcePackageFamilyName());
592
585
  }
593
586
  catch (...)
@@ -638,23 +631,20 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
638
631
  { }
639
632
  };
640
633
 
641
- static PyType_Slot _type_slots_RemoveAppointmentOperation[] =
642
- {
634
+ static PyType_Slot _type_slots_RemoveAppointmentOperation[] = {
643
635
  { Py_tp_new, reinterpret_cast<void*>(_new_RemoveAppointmentOperation) },
644
636
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_RemoveAppointmentOperation) },
645
637
  { Py_tp_methods, reinterpret_cast<void*>(_methods_RemoveAppointmentOperation) },
646
638
  { Py_tp_getset, reinterpret_cast<void*>(_getset_RemoveAppointmentOperation) },
647
- { },
639
+ { }
648
640
  };
649
641
 
650
- static PyType_Spec type_spec_RemoveAppointmentOperation =
651
- {
642
+ static PyType_Spec type_spec_RemoveAppointmentOperation = {
652
643
  "winrt._winrt_windows_applicationmodel_appointments_appointmentsprovider.RemoveAppointmentOperation",
653
644
  sizeof(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::RemoveAppointmentOperation),
654
645
  0,
655
646
  Py_TPFLAGS_DEFAULT,
656
- _type_slots_RemoveAppointmentOperation
657
- };
647
+ _type_slots_RemoveAppointmentOperation};
658
648
 
659
649
  // ----- ReplaceAppointmentOperation class --------------------
660
650
 
@@ -679,14 +669,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
679
669
 
680
670
  if (arg_count == 0)
681
671
  {
682
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"DismissUI", 0))
683
- {
684
- py::set_arg_count_version_error(0);
685
- return nullptr;
686
- }
687
-
688
672
  try
689
673
  {
674
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"DismissUI", 0))
675
+ {
676
+ py::set_arg_count_version_error(0);
677
+ return nullptr;
678
+ }
679
+
690
680
  self->obj.DismissUI();
691
681
  Py_RETURN_NONE;
692
682
  }
@@ -709,14 +699,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
709
699
 
710
700
  if (arg_count == 0)
711
701
  {
712
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"ReportCanceled", 0))
713
- {
714
- py::set_arg_count_version_error(0);
715
- return nullptr;
716
- }
717
-
718
702
  try
719
703
  {
704
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"ReportCanceled", 0))
705
+ {
706
+ py::set_arg_count_version_error(0);
707
+ return nullptr;
708
+ }
709
+
720
710
  self->obj.ReportCanceled();
721
711
  Py_RETURN_NONE;
722
712
  }
@@ -739,14 +729,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
739
729
 
740
730
  if (arg_count == 1)
741
731
  {
742
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"ReportCompleted", 1))
743
- {
744
- py::set_arg_count_version_error(1);
745
- return nullptr;
746
- }
747
-
748
732
  try
749
733
  {
734
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"ReportCompleted", 1))
735
+ {
736
+ py::set_arg_count_version_error(1);
737
+ return nullptr;
738
+ }
739
+
750
740
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
751
741
 
752
742
  self->obj.ReportCompleted(param0);
@@ -771,14 +761,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
771
761
 
772
762
  if (arg_count == 1)
773
763
  {
774
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"ReportError", 1))
775
- {
776
- py::set_arg_count_version_error(1);
777
- return nullptr;
778
- }
779
-
780
764
  try
781
765
  {
766
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"ReportError", 1))
767
+ {
768
+ py::set_arg_count_version_error(1);
769
+ return nullptr;
770
+ }
771
+
782
772
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
783
773
 
784
774
  self->obj.ReportError(param0);
@@ -799,14 +789,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
799
789
 
800
790
  static PyObject* ReplaceAppointmentOperation_get_AppointmentId(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::ReplaceAppointmentOperation* self, void* /*unused*/) noexcept
801
791
  {
802
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"AppointmentId"))
803
- {
804
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
805
- return nullptr;
806
- }
807
-
808
792
  try
809
793
  {
794
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"AppointmentId"))
795
+ {
796
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
797
+ return nullptr;
798
+ }
799
+
810
800
  return py::convert(self->obj.AppointmentId());
811
801
  }
812
802
  catch (...)
@@ -818,14 +808,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
818
808
 
819
809
  static PyObject* ReplaceAppointmentOperation_get_AppointmentInformation(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::ReplaceAppointmentOperation* self, void* /*unused*/) noexcept
820
810
  {
821
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"AppointmentInformation"))
822
- {
823
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
824
- return nullptr;
825
- }
826
-
827
811
  try
828
812
  {
813
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"AppointmentInformation"))
814
+ {
815
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
816
+ return nullptr;
817
+ }
818
+
829
819
  return py::convert(self->obj.AppointmentInformation());
830
820
  }
831
821
  catch (...)
@@ -837,14 +827,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
837
827
 
838
828
  static PyObject* ReplaceAppointmentOperation_get_InstanceStartDate(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::ReplaceAppointmentOperation* self, void* /*unused*/) noexcept
839
829
  {
840
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"InstanceStartDate"))
841
- {
842
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
843
- return nullptr;
844
- }
845
-
846
830
  try
847
831
  {
832
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"InstanceStartDate"))
833
+ {
834
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
835
+ return nullptr;
836
+ }
837
+
848
838
  return py::convert(self->obj.InstanceStartDate());
849
839
  }
850
840
  catch (...)
@@ -856,14 +846,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
856
846
 
857
847
  static PyObject* ReplaceAppointmentOperation_get_SourcePackageFamilyName(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::ReplaceAppointmentOperation* self, void* /*unused*/) noexcept
858
848
  {
859
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"SourcePackageFamilyName"))
860
- {
861
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
862
- return nullptr;
863
- }
864
-
865
849
  try
866
850
  {
851
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"SourcePackageFamilyName"))
852
+ {
853
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
854
+ return nullptr;
855
+ }
856
+
867
857
  return py::convert(self->obj.SourcePackageFamilyName());
868
858
  }
869
859
  catch (...)
@@ -915,39 +905,35 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
915
905
  { }
916
906
  };
917
907
 
918
- static PyType_Slot _type_slots_ReplaceAppointmentOperation[] =
919
- {
908
+ static PyType_Slot _type_slots_ReplaceAppointmentOperation[] = {
920
909
  { Py_tp_new, reinterpret_cast<void*>(_new_ReplaceAppointmentOperation) },
921
910
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_ReplaceAppointmentOperation) },
922
911
  { Py_tp_methods, reinterpret_cast<void*>(_methods_ReplaceAppointmentOperation) },
923
912
  { Py_tp_getset, reinterpret_cast<void*>(_getset_ReplaceAppointmentOperation) },
924
- { },
913
+ { }
925
914
  };
926
915
 
927
- static PyType_Spec type_spec_ReplaceAppointmentOperation =
928
- {
916
+ static PyType_Spec type_spec_ReplaceAppointmentOperation = {
929
917
  "winrt._winrt_windows_applicationmodel_appointments_appointmentsprovider.ReplaceAppointmentOperation",
930
918
  sizeof(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::ReplaceAppointmentOperation),
931
919
  0,
932
920
  Py_TPFLAGS_DEFAULT,
933
- _type_slots_ReplaceAppointmentOperation
934
- };
921
+ _type_slots_ReplaceAppointmentOperation};
935
922
 
936
923
  // ----- Windows.ApplicationModel.Appointments.AppointmentsProvider Initialization --------------------
937
- PyDoc_STRVAR(module_doc, "Windows::ApplicationModel::Appointments::AppointmentsProvider");
938
924
 
925
+ PyDoc_STRVAR(module_doc, "Windows.ApplicationModel.Appointments.AppointmentsProvider");
939
926
 
940
- static PyModuleDef module_def
941
- = {PyModuleDef_HEAD_INIT,
942
- "_winrt_windows_applicationmodel_appointments_appointmentsprovider",
943
- module_doc,
944
- 0,
945
- nullptr,
946
- nullptr,
947
- nullptr,
948
- nullptr,
949
- nullptr};
950
-
927
+ static PyModuleDef module_def = {
928
+ PyModuleDef_HEAD_INIT,
929
+ "_winrt_windows_applicationmodel_appointments_appointmentsprovider",
930
+ module_doc,
931
+ 0,
932
+ nullptr,
933
+ nullptr,
934
+ nullptr,
935
+ nullptr,
936
+ nullptr};
951
937
  } // py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
952
938
 
953
939
  PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_appointments_appointmentsprovider(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_appointments_appointmentsprovider",
26
+ sources=["py.Windows.ApplicationModel.Appointments.AppointmentsProvider.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.applicationmodel.appointments
13
- import winrt.windows.foundation
12
+ import winrt.windows.applicationmodel.appointments as windows_applicationmodel_appointments
13
+ import winrt.windows.foundation as windows_foundation
14
14
 
15
15
  Self = typing.TypeVar('Self')
16
16
 
@@ -23,7 +23,7 @@ class AddAppointmentOperation(winrt.system.Object):
23
23
  def report_completed(self, item_id: str, /) -> None: ...
24
24
  def report_error(self, value: str, /) -> None: ...
25
25
  @_property
26
- def appointment_information(self) -> typing.Optional[winrt.windows.applicationmodel.appointments.Appointment]: ...
26
+ def appointment_information(self) -> typing.Optional[windows_applicationmodel_appointments.Appointment]: ...
27
27
  @_property
28
28
  def source_package_family_name(self) -> str: ...
29
29
 
@@ -42,8 +42,7 @@ class AppointmentsProviderLaunchActionVerbs_Static(type):
42
42
 
43
43
  @typing.final
44
44
  class AppointmentsProviderLaunchActionVerbs(winrt.system.Object, metaclass=AppointmentsProviderLaunchActionVerbs_Static):
45
- @staticmethod
46
- def _from(obj: winrt.system.Object, /) -> AppointmentsProviderLaunchActionVerbs: ...
45
+ pass
47
46
 
48
47
  @typing.final
49
48
  class RemoveAppointmentOperation(winrt.system.Object):
@@ -71,7 +70,7 @@ class ReplaceAppointmentOperation(winrt.system.Object):
71
70
  @_property
72
71
  def appointment_id(self) -> str: ...
73
72
  @_property
74
- def appointment_information(self) -> typing.Optional[winrt.windows.applicationmodel.appointments.Appointment]: ...
73
+ def appointment_information(self) -> typing.Optional[windows_applicationmodel_appointments.Appointment]: ...
75
74
  @_property
76
75
  def instance_start_date(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
77
76
  @_property
@@ -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_applicationmodel_appointments_appointmentsprovider
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider
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.ApplicationModel.Appointments[all]==2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[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_applicationmodel_appointments_appointmentsprovider.pyi
9
9
  winrt/windows/applicationmodel/appointments/appointmentsprovider/__init__.py
10
+ winrt/windows/applicationmodel/appointments/appointmentsprovider/py.typed
10
11
  winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/PKG-INFO
11
12
  winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/SOURCES.txt
12
13
  winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/dependency_links.txt
@@ -0,0 +1,5 @@
1
+ winrt-runtime==2.1.0
2
+
3
+ [all]
4
+ winrt-Windows.ApplicationModel.Appointments[all]==2.1.0
5
+ winrt-Windows.Foundation[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.ApplicationModel.Appointments[all]==2.0.0-beta.2
4
- winrt-Windows.Foundation[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_appointments_appointmentsprovider",
10
- sources=["py.Windows.ApplicationModel.Appointments.AppointmentsProvider.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.ApplicationModel.Appointments[all]==2.0.0-beta.2
5
- winrt-Windows.Foundation[all]==2.0.0-beta.2