winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider 2.3.0__tar.gz → 3.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-3.0.0}/PKG-INFO +5 -5
- winrt_windows_applicationmodel_appointments_appointmentsprovider-3.0.0/all-requirements.txt +4 -0
- {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-3.0.0}/py.Windows.ApplicationModel.Appointments.AppointmentsProvider.cpp +178 -78
- {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-3.0.0}/pyproject.toml +2 -2
- winrt_windows_applicationmodel_appointments_appointmentsprovider-3.0.0/pywinrt-version.txt +1 -0
- {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-3.0.0}/requirements.txt +2 -2
- {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-3.0.0}/setup.py +1 -1
- winrt_windows_applicationmodel_appointments_appointmentsprovider-3.0.0/winrt/_winrt_windows_applicationmodel_appointments_appointmentsprovider.pyi +98 -0
- winrt_windows_applicationmodel_appointments_appointmentsprovider-3.0.0/winrt/windows/applicationmodel/appointments/appointmentsprovider/__init__.py +17 -0
- {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-3.0.0}/winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/PKG-INFO +5 -5
- winrt_windows_applicationmodel_appointments_appointmentsprovider-3.0.0/winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/requires.txt +5 -0
- winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0/all-requirements.txt +0 -4
- winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0/pywinrt-version.txt +0 -1
- winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0/winrt/_winrt_windows_applicationmodel_appointments_appointmentsprovider.pyi +0 -78
- winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0/winrt/windows/applicationmodel/appointments/appointmentsprovider/__init__.py +0 -16
- winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0/winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/requires.txt +0 -5
- {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-3.0.0}/README.md +0 -0
- {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-3.0.0}/setup.cfg +0 -0
- {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-3.0.0}/winrt/windows/applicationmodel/appointments/appointmentsprovider/py.typed +0 -0
- {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-3.0.0}/winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/SOURCES.txt +0 -0
- {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-3.0.0}/winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/dependency_links.txt +0 -0
- {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-3.0.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:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,12 +10,12 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel.Appointments[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Appointments[all]==3.0.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.0.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.ApplicationModel.Appointments.AppointmentsProvider.h"
|
|
4
4
|
|
|
@@ -23,7 +23,7 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
23
23
|
|
|
24
24
|
static PyObject* AddAppointmentOperation_DismissUI(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::AddAppointmentOperation* self, PyObject* args) noexcept
|
|
25
25
|
{
|
|
26
|
-
auto arg_count =
|
|
26
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
27
27
|
|
|
28
28
|
if (arg_count == 0)
|
|
29
29
|
{
|
|
@@ -42,7 +42,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
42
42
|
return nullptr;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
{
|
|
46
|
+
auto _gil = release_gil();
|
|
47
|
+
self->obj.DismissUI();
|
|
48
|
+
}
|
|
49
|
+
|
|
46
50
|
Py_RETURN_NONE;
|
|
47
51
|
}
|
|
48
52
|
catch (...)
|
|
@@ -60,7 +64,7 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
60
64
|
|
|
61
65
|
static PyObject* AddAppointmentOperation_ReportCanceled(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::AddAppointmentOperation* self, PyObject* args) noexcept
|
|
62
66
|
{
|
|
63
|
-
auto arg_count =
|
|
67
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
64
68
|
|
|
65
69
|
if (arg_count == 0)
|
|
66
70
|
{
|
|
@@ -79,7 +83,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
79
83
|
return nullptr;
|
|
80
84
|
}
|
|
81
85
|
|
|
82
|
-
|
|
86
|
+
{
|
|
87
|
+
auto _gil = release_gil();
|
|
88
|
+
self->obj.ReportCanceled();
|
|
89
|
+
}
|
|
90
|
+
|
|
83
91
|
Py_RETURN_NONE;
|
|
84
92
|
}
|
|
85
93
|
catch (...)
|
|
@@ -97,7 +105,7 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
97
105
|
|
|
98
106
|
static PyObject* AddAppointmentOperation_ReportCompleted(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::AddAppointmentOperation* self, PyObject* args) noexcept
|
|
99
107
|
{
|
|
100
|
-
auto arg_count =
|
|
108
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
101
109
|
|
|
102
110
|
if (arg_count == 1)
|
|
103
111
|
{
|
|
@@ -118,7 +126,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
118
126
|
|
|
119
127
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
120
128
|
|
|
121
|
-
|
|
129
|
+
{
|
|
130
|
+
auto _gil = release_gil();
|
|
131
|
+
self->obj.ReportCompleted(param0);
|
|
132
|
+
}
|
|
133
|
+
|
|
122
134
|
Py_RETURN_NONE;
|
|
123
135
|
}
|
|
124
136
|
catch (...)
|
|
@@ -136,7 +148,7 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
136
148
|
|
|
137
149
|
static PyObject* AddAppointmentOperation_ReportError(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::AddAppointmentOperation* self, PyObject* args) noexcept
|
|
138
150
|
{
|
|
139
|
-
auto arg_count =
|
|
151
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
140
152
|
|
|
141
153
|
if (arg_count == 1)
|
|
142
154
|
{
|
|
@@ -157,7 +169,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
157
169
|
|
|
158
170
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
159
171
|
|
|
160
|
-
|
|
172
|
+
{
|
|
173
|
+
auto _gil = release_gil();
|
|
174
|
+
self->obj.ReportError(param0);
|
|
175
|
+
}
|
|
176
|
+
|
|
161
177
|
Py_RETURN_NONE;
|
|
162
178
|
}
|
|
163
179
|
catch (...)
|
|
@@ -190,7 +206,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
190
206
|
return nullptr;
|
|
191
207
|
}
|
|
192
208
|
|
|
193
|
-
return py::convert(
|
|
209
|
+
return py::convert([&]()
|
|
210
|
+
{
|
|
211
|
+
auto _gil = release_gil();
|
|
212
|
+
return self->obj.AppointmentInformation();
|
|
213
|
+
}());
|
|
194
214
|
}
|
|
195
215
|
catch (...)
|
|
196
216
|
{
|
|
@@ -216,7 +236,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
216
236
|
return nullptr;
|
|
217
237
|
}
|
|
218
238
|
|
|
219
|
-
return py::convert(
|
|
239
|
+
return py::convert([&]()
|
|
240
|
+
{
|
|
241
|
+
auto _gil = release_gil();
|
|
242
|
+
return self->obj.SourcePackageFamilyName();
|
|
243
|
+
}());
|
|
220
244
|
}
|
|
221
245
|
catch (...)
|
|
222
246
|
{
|
|
@@ -250,28 +274,25 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
250
274
|
}
|
|
251
275
|
|
|
252
276
|
static PyMethodDef _methods_AddAppointmentOperation[] = {
|
|
253
|
-
{ "
|
|
277
|
+
{ "dismiss_ui", reinterpret_cast<PyCFunction>(AddAppointmentOperation_DismissUI), METH_VARARGS, nullptr },
|
|
254
278
|
{ "report_canceled", reinterpret_cast<PyCFunction>(AddAppointmentOperation_ReportCanceled), METH_VARARGS, nullptr },
|
|
255
279
|
{ "report_completed", reinterpret_cast<PyCFunction>(AddAppointmentOperation_ReportCompleted), METH_VARARGS, nullptr },
|
|
256
280
|
{ "report_error", reinterpret_cast<PyCFunction>(AddAppointmentOperation_ReportError), METH_VARARGS, nullptr },
|
|
257
281
|
{ "_assign_array_", _assign_array_AddAppointmentOperation, METH_O | METH_STATIC, nullptr },
|
|
258
282
|
{ "_from", reinterpret_cast<PyCFunction>(_from_AddAppointmentOperation), METH_O | METH_STATIC, nullptr },
|
|
259
|
-
{ }
|
|
260
|
-
};
|
|
283
|
+
{ }};
|
|
261
284
|
|
|
262
285
|
static PyGetSetDef _getset_AddAppointmentOperation[] = {
|
|
263
286
|
{ "appointment_information", reinterpret_cast<getter>(AddAppointmentOperation_get_AppointmentInformation), nullptr, nullptr, nullptr },
|
|
264
287
|
{ "source_package_family_name", reinterpret_cast<getter>(AddAppointmentOperation_get_SourcePackageFamilyName), nullptr, nullptr, nullptr },
|
|
265
|
-
{ }
|
|
266
|
-
};
|
|
288
|
+
{ }};
|
|
267
289
|
|
|
268
290
|
static PyType_Slot _type_slots_AddAppointmentOperation[] = {
|
|
269
291
|
{ Py_tp_new, reinterpret_cast<void*>(_new_AddAppointmentOperation) },
|
|
270
292
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AddAppointmentOperation) },
|
|
271
293
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_AddAppointmentOperation) },
|
|
272
294
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_AddAppointmentOperation) },
|
|
273
|
-
{ }
|
|
274
|
-
};
|
|
295
|
+
{ }};
|
|
275
296
|
|
|
276
297
|
static PyType_Spec type_spec_AddAppointmentOperation = {
|
|
277
298
|
"winrt._winrt_windows_applicationmodel_appointments_appointmentsprovider.AddAppointmentOperation",
|
|
@@ -306,7 +327,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
306
327
|
return nullptr;
|
|
307
328
|
}
|
|
308
329
|
|
|
309
|
-
return py::convert(
|
|
330
|
+
return py::convert([&]()
|
|
331
|
+
{
|
|
332
|
+
auto _gil = release_gil();
|
|
333
|
+
return winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::AppointmentsProviderLaunchActionVerbs::AddAppointment();
|
|
334
|
+
}());
|
|
310
335
|
}
|
|
311
336
|
catch (...)
|
|
312
337
|
{
|
|
@@ -332,7 +357,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
332
357
|
return nullptr;
|
|
333
358
|
}
|
|
334
359
|
|
|
335
|
-
return py::convert(
|
|
360
|
+
return py::convert([&]()
|
|
361
|
+
{
|
|
362
|
+
auto _gil = release_gil();
|
|
363
|
+
return winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::AppointmentsProviderLaunchActionVerbs::RemoveAppointment();
|
|
364
|
+
}());
|
|
336
365
|
}
|
|
337
366
|
catch (...)
|
|
338
367
|
{
|
|
@@ -358,7 +387,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
358
387
|
return nullptr;
|
|
359
388
|
}
|
|
360
389
|
|
|
361
|
-
return py::convert(
|
|
390
|
+
return py::convert([&]()
|
|
391
|
+
{
|
|
392
|
+
auto _gil = release_gil();
|
|
393
|
+
return winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::AppointmentsProviderLaunchActionVerbs::ReplaceAppointment();
|
|
394
|
+
}());
|
|
362
395
|
}
|
|
363
396
|
catch (...)
|
|
364
397
|
{
|
|
@@ -384,7 +417,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
384
417
|
return nullptr;
|
|
385
418
|
}
|
|
386
419
|
|
|
387
|
-
return py::convert(
|
|
420
|
+
return py::convert([&]()
|
|
421
|
+
{
|
|
422
|
+
auto _gil = release_gil();
|
|
423
|
+
return winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::AppointmentsProviderLaunchActionVerbs::ShowTimeFrame();
|
|
424
|
+
}());
|
|
388
425
|
}
|
|
389
426
|
catch (...)
|
|
390
427
|
{
|
|
@@ -410,7 +447,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
410
447
|
return nullptr;
|
|
411
448
|
}
|
|
412
449
|
|
|
413
|
-
return py::convert(
|
|
450
|
+
return py::convert([&]()
|
|
451
|
+
{
|
|
452
|
+
auto _gil = release_gil();
|
|
453
|
+
return winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::AppointmentsProviderLaunchActionVerbs::ShowAppointmentDetails();
|
|
454
|
+
}());
|
|
414
455
|
}
|
|
415
456
|
catch (...)
|
|
416
457
|
{
|
|
@@ -420,19 +461,16 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
420
461
|
}
|
|
421
462
|
|
|
422
463
|
static PyMethodDef _methods_AppointmentsProviderLaunchActionVerbs[] = {
|
|
423
|
-
{ }
|
|
424
|
-
};
|
|
464
|
+
{ }};
|
|
425
465
|
|
|
426
466
|
static PyGetSetDef _getset_AppointmentsProviderLaunchActionVerbs[] = {
|
|
427
|
-
{ }
|
|
428
|
-
};
|
|
467
|
+
{ }};
|
|
429
468
|
|
|
430
469
|
static PyType_Slot _type_slots_AppointmentsProviderLaunchActionVerbs[] = {
|
|
431
470
|
{ Py_tp_new, reinterpret_cast<void*>(_new_AppointmentsProviderLaunchActionVerbs) },
|
|
432
471
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_AppointmentsProviderLaunchActionVerbs) },
|
|
433
472
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_AppointmentsProviderLaunchActionVerbs) },
|
|
434
|
-
{ }
|
|
435
|
-
};
|
|
473
|
+
{ }};
|
|
436
474
|
|
|
437
475
|
static PyType_Spec type_spec_AppointmentsProviderLaunchActionVerbs = {
|
|
438
476
|
"winrt._winrt_windows_applicationmodel_appointments_appointmentsprovider.AppointmentsProviderLaunchActionVerbs",
|
|
@@ -447,12 +485,10 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
447
485
|
{ "replace_appointment", reinterpret_cast<getter>(AppointmentsProviderLaunchActionVerbs_get_ReplaceAppointment), nullptr, nullptr, nullptr },
|
|
448
486
|
{ "show_time_frame", reinterpret_cast<getter>(AppointmentsProviderLaunchActionVerbs_get_ShowTimeFrame), nullptr, nullptr, nullptr },
|
|
449
487
|
{ "show_appointment_details", reinterpret_cast<getter>(AppointmentsProviderLaunchActionVerbs_get_ShowAppointmentDetails), nullptr, nullptr, nullptr },
|
|
450
|
-
{ }
|
|
451
|
-
};
|
|
488
|
+
{ }};
|
|
452
489
|
|
|
453
490
|
static PyMethodDef methods_AppointmentsProviderLaunchActionVerbs_Static[] = {
|
|
454
|
-
{ }
|
|
455
|
-
};
|
|
491
|
+
{ }};
|
|
456
492
|
|
|
457
493
|
static PyType_Slot type_slots_AppointmentsProviderLaunchActionVerbs_Static[] =
|
|
458
494
|
{
|
|
@@ -462,14 +498,12 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
462
498
|
{ }
|
|
463
499
|
};
|
|
464
500
|
|
|
465
|
-
static PyType_Spec type_spec_AppointmentsProviderLaunchActionVerbs_Static =
|
|
466
|
-
{
|
|
501
|
+
static PyType_Spec type_spec_AppointmentsProviderLaunchActionVerbs_Static = {
|
|
467
502
|
"winrt._winrt_windows_applicationmodel_appointments_appointmentsprovider.AppointmentsProviderLaunchActionVerbs_Static",
|
|
468
503
|
static_cast<int>(PyType_Type.tp_basicsize),
|
|
469
504
|
static_cast<int>(PyType_Type.tp_itemsize),
|
|
470
505
|
Py_TPFLAGS_DEFAULT,
|
|
471
|
-
type_slots_AppointmentsProviderLaunchActionVerbs_Static
|
|
472
|
-
};
|
|
506
|
+
type_slots_AppointmentsProviderLaunchActionVerbs_Static};
|
|
473
507
|
|
|
474
508
|
// ----- RemoveAppointmentOperation class --------------------
|
|
475
509
|
|
|
@@ -490,7 +524,7 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
490
524
|
|
|
491
525
|
static PyObject* RemoveAppointmentOperation_DismissUI(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::RemoveAppointmentOperation* self, PyObject* args) noexcept
|
|
492
526
|
{
|
|
493
|
-
auto arg_count =
|
|
527
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
494
528
|
|
|
495
529
|
if (arg_count == 0)
|
|
496
530
|
{
|
|
@@ -509,7 +543,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
509
543
|
return nullptr;
|
|
510
544
|
}
|
|
511
545
|
|
|
512
|
-
|
|
546
|
+
{
|
|
547
|
+
auto _gil = release_gil();
|
|
548
|
+
self->obj.DismissUI();
|
|
549
|
+
}
|
|
550
|
+
|
|
513
551
|
Py_RETURN_NONE;
|
|
514
552
|
}
|
|
515
553
|
catch (...)
|
|
@@ -527,7 +565,7 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
527
565
|
|
|
528
566
|
static PyObject* RemoveAppointmentOperation_ReportCanceled(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::RemoveAppointmentOperation* self, PyObject* args) noexcept
|
|
529
567
|
{
|
|
530
|
-
auto arg_count =
|
|
568
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
531
569
|
|
|
532
570
|
if (arg_count == 0)
|
|
533
571
|
{
|
|
@@ -546,7 +584,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
546
584
|
return nullptr;
|
|
547
585
|
}
|
|
548
586
|
|
|
549
|
-
|
|
587
|
+
{
|
|
588
|
+
auto _gil = release_gil();
|
|
589
|
+
self->obj.ReportCanceled();
|
|
590
|
+
}
|
|
591
|
+
|
|
550
592
|
Py_RETURN_NONE;
|
|
551
593
|
}
|
|
552
594
|
catch (...)
|
|
@@ -564,7 +606,7 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
564
606
|
|
|
565
607
|
static PyObject* RemoveAppointmentOperation_ReportCompleted(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::RemoveAppointmentOperation* self, PyObject* args) noexcept
|
|
566
608
|
{
|
|
567
|
-
auto arg_count =
|
|
609
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
568
610
|
|
|
569
611
|
if (arg_count == 0)
|
|
570
612
|
{
|
|
@@ -583,7 +625,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
583
625
|
return nullptr;
|
|
584
626
|
}
|
|
585
627
|
|
|
586
|
-
|
|
628
|
+
{
|
|
629
|
+
auto _gil = release_gil();
|
|
630
|
+
self->obj.ReportCompleted();
|
|
631
|
+
}
|
|
632
|
+
|
|
587
633
|
Py_RETURN_NONE;
|
|
588
634
|
}
|
|
589
635
|
catch (...)
|
|
@@ -601,7 +647,7 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
601
647
|
|
|
602
648
|
static PyObject* RemoveAppointmentOperation_ReportError(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::RemoveAppointmentOperation* self, PyObject* args) noexcept
|
|
603
649
|
{
|
|
604
|
-
auto arg_count =
|
|
650
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
605
651
|
|
|
606
652
|
if (arg_count == 1)
|
|
607
653
|
{
|
|
@@ -622,7 +668,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
622
668
|
|
|
623
669
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
624
670
|
|
|
625
|
-
|
|
671
|
+
{
|
|
672
|
+
auto _gil = release_gil();
|
|
673
|
+
self->obj.ReportError(param0);
|
|
674
|
+
}
|
|
675
|
+
|
|
626
676
|
Py_RETURN_NONE;
|
|
627
677
|
}
|
|
628
678
|
catch (...)
|
|
@@ -655,7 +705,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
655
705
|
return nullptr;
|
|
656
706
|
}
|
|
657
707
|
|
|
658
|
-
return py::convert(
|
|
708
|
+
return py::convert([&]()
|
|
709
|
+
{
|
|
710
|
+
auto _gil = release_gil();
|
|
711
|
+
return self->obj.AppointmentId();
|
|
712
|
+
}());
|
|
659
713
|
}
|
|
660
714
|
catch (...)
|
|
661
715
|
{
|
|
@@ -681,7 +735,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
681
735
|
return nullptr;
|
|
682
736
|
}
|
|
683
737
|
|
|
684
|
-
return py::convert(
|
|
738
|
+
return py::convert([&]()
|
|
739
|
+
{
|
|
740
|
+
auto _gil = release_gil();
|
|
741
|
+
return self->obj.InstanceStartDate();
|
|
742
|
+
}());
|
|
685
743
|
}
|
|
686
744
|
catch (...)
|
|
687
745
|
{
|
|
@@ -707,7 +765,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
707
765
|
return nullptr;
|
|
708
766
|
}
|
|
709
767
|
|
|
710
|
-
return py::convert(
|
|
768
|
+
return py::convert([&]()
|
|
769
|
+
{
|
|
770
|
+
auto _gil = release_gil();
|
|
771
|
+
return self->obj.SourcePackageFamilyName();
|
|
772
|
+
}());
|
|
711
773
|
}
|
|
712
774
|
catch (...)
|
|
713
775
|
{
|
|
@@ -741,29 +803,26 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
741
803
|
}
|
|
742
804
|
|
|
743
805
|
static PyMethodDef _methods_RemoveAppointmentOperation[] = {
|
|
744
|
-
{ "
|
|
806
|
+
{ "dismiss_ui", reinterpret_cast<PyCFunction>(RemoveAppointmentOperation_DismissUI), METH_VARARGS, nullptr },
|
|
745
807
|
{ "report_canceled", reinterpret_cast<PyCFunction>(RemoveAppointmentOperation_ReportCanceled), METH_VARARGS, nullptr },
|
|
746
808
|
{ "report_completed", reinterpret_cast<PyCFunction>(RemoveAppointmentOperation_ReportCompleted), METH_VARARGS, nullptr },
|
|
747
809
|
{ "report_error", reinterpret_cast<PyCFunction>(RemoveAppointmentOperation_ReportError), METH_VARARGS, nullptr },
|
|
748
810
|
{ "_assign_array_", _assign_array_RemoveAppointmentOperation, METH_O | METH_STATIC, nullptr },
|
|
749
811
|
{ "_from", reinterpret_cast<PyCFunction>(_from_RemoveAppointmentOperation), METH_O | METH_STATIC, nullptr },
|
|
750
|
-
{ }
|
|
751
|
-
};
|
|
812
|
+
{ }};
|
|
752
813
|
|
|
753
814
|
static PyGetSetDef _getset_RemoveAppointmentOperation[] = {
|
|
754
815
|
{ "appointment_id", reinterpret_cast<getter>(RemoveAppointmentOperation_get_AppointmentId), nullptr, nullptr, nullptr },
|
|
755
816
|
{ "instance_start_date", reinterpret_cast<getter>(RemoveAppointmentOperation_get_InstanceStartDate), nullptr, nullptr, nullptr },
|
|
756
817
|
{ "source_package_family_name", reinterpret_cast<getter>(RemoveAppointmentOperation_get_SourcePackageFamilyName), nullptr, nullptr, nullptr },
|
|
757
|
-
{ }
|
|
758
|
-
};
|
|
818
|
+
{ }};
|
|
759
819
|
|
|
760
820
|
static PyType_Slot _type_slots_RemoveAppointmentOperation[] = {
|
|
761
821
|
{ Py_tp_new, reinterpret_cast<void*>(_new_RemoveAppointmentOperation) },
|
|
762
822
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_RemoveAppointmentOperation) },
|
|
763
823
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_RemoveAppointmentOperation) },
|
|
764
824
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_RemoveAppointmentOperation) },
|
|
765
|
-
{ }
|
|
766
|
-
};
|
|
825
|
+
{ }};
|
|
767
826
|
|
|
768
827
|
static PyType_Spec type_spec_RemoveAppointmentOperation = {
|
|
769
828
|
"winrt._winrt_windows_applicationmodel_appointments_appointmentsprovider.RemoveAppointmentOperation",
|
|
@@ -791,7 +850,7 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
791
850
|
|
|
792
851
|
static PyObject* ReplaceAppointmentOperation_DismissUI(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::ReplaceAppointmentOperation* self, PyObject* args) noexcept
|
|
793
852
|
{
|
|
794
|
-
auto arg_count =
|
|
853
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
795
854
|
|
|
796
855
|
if (arg_count == 0)
|
|
797
856
|
{
|
|
@@ -810,7 +869,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
810
869
|
return nullptr;
|
|
811
870
|
}
|
|
812
871
|
|
|
813
|
-
|
|
872
|
+
{
|
|
873
|
+
auto _gil = release_gil();
|
|
874
|
+
self->obj.DismissUI();
|
|
875
|
+
}
|
|
876
|
+
|
|
814
877
|
Py_RETURN_NONE;
|
|
815
878
|
}
|
|
816
879
|
catch (...)
|
|
@@ -828,7 +891,7 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
828
891
|
|
|
829
892
|
static PyObject* ReplaceAppointmentOperation_ReportCanceled(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::ReplaceAppointmentOperation* self, PyObject* args) noexcept
|
|
830
893
|
{
|
|
831
|
-
auto arg_count =
|
|
894
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
832
895
|
|
|
833
896
|
if (arg_count == 0)
|
|
834
897
|
{
|
|
@@ -847,7 +910,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
847
910
|
return nullptr;
|
|
848
911
|
}
|
|
849
912
|
|
|
850
|
-
|
|
913
|
+
{
|
|
914
|
+
auto _gil = release_gil();
|
|
915
|
+
self->obj.ReportCanceled();
|
|
916
|
+
}
|
|
917
|
+
|
|
851
918
|
Py_RETURN_NONE;
|
|
852
919
|
}
|
|
853
920
|
catch (...)
|
|
@@ -865,7 +932,7 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
865
932
|
|
|
866
933
|
static PyObject* ReplaceAppointmentOperation_ReportCompleted(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::ReplaceAppointmentOperation* self, PyObject* args) noexcept
|
|
867
934
|
{
|
|
868
|
-
auto arg_count =
|
|
935
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
869
936
|
|
|
870
937
|
if (arg_count == 1)
|
|
871
938
|
{
|
|
@@ -886,7 +953,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
886
953
|
|
|
887
954
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
888
955
|
|
|
889
|
-
|
|
956
|
+
{
|
|
957
|
+
auto _gil = release_gil();
|
|
958
|
+
self->obj.ReportCompleted(param0);
|
|
959
|
+
}
|
|
960
|
+
|
|
890
961
|
Py_RETURN_NONE;
|
|
891
962
|
}
|
|
892
963
|
catch (...)
|
|
@@ -904,7 +975,7 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
904
975
|
|
|
905
976
|
static PyObject* ReplaceAppointmentOperation_ReportError(py::wrapper::Windows::ApplicationModel::Appointments::AppointmentsProvider::ReplaceAppointmentOperation* self, PyObject* args) noexcept
|
|
906
977
|
{
|
|
907
|
-
auto arg_count =
|
|
978
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
908
979
|
|
|
909
980
|
if (arg_count == 1)
|
|
910
981
|
{
|
|
@@ -925,7 +996,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
925
996
|
|
|
926
997
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
927
998
|
|
|
928
|
-
|
|
999
|
+
{
|
|
1000
|
+
auto _gil = release_gil();
|
|
1001
|
+
self->obj.ReportError(param0);
|
|
1002
|
+
}
|
|
1003
|
+
|
|
929
1004
|
Py_RETURN_NONE;
|
|
930
1005
|
}
|
|
931
1006
|
catch (...)
|
|
@@ -958,7 +1033,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
958
1033
|
return nullptr;
|
|
959
1034
|
}
|
|
960
1035
|
|
|
961
|
-
return py::convert(
|
|
1036
|
+
return py::convert([&]()
|
|
1037
|
+
{
|
|
1038
|
+
auto _gil = release_gil();
|
|
1039
|
+
return self->obj.AppointmentId();
|
|
1040
|
+
}());
|
|
962
1041
|
}
|
|
963
1042
|
catch (...)
|
|
964
1043
|
{
|
|
@@ -984,7 +1063,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
984
1063
|
return nullptr;
|
|
985
1064
|
}
|
|
986
1065
|
|
|
987
|
-
return py::convert(
|
|
1066
|
+
return py::convert([&]()
|
|
1067
|
+
{
|
|
1068
|
+
auto _gil = release_gil();
|
|
1069
|
+
return self->obj.AppointmentInformation();
|
|
1070
|
+
}());
|
|
988
1071
|
}
|
|
989
1072
|
catch (...)
|
|
990
1073
|
{
|
|
@@ -1010,7 +1093,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
1010
1093
|
return nullptr;
|
|
1011
1094
|
}
|
|
1012
1095
|
|
|
1013
|
-
return py::convert(
|
|
1096
|
+
return py::convert([&]()
|
|
1097
|
+
{
|
|
1098
|
+
auto _gil = release_gil();
|
|
1099
|
+
return self->obj.InstanceStartDate();
|
|
1100
|
+
}());
|
|
1014
1101
|
}
|
|
1015
1102
|
catch (...)
|
|
1016
1103
|
{
|
|
@@ -1036,7 +1123,11 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
1036
1123
|
return nullptr;
|
|
1037
1124
|
}
|
|
1038
1125
|
|
|
1039
|
-
return py::convert(
|
|
1126
|
+
return py::convert([&]()
|
|
1127
|
+
{
|
|
1128
|
+
auto _gil = release_gil();
|
|
1129
|
+
return self->obj.SourcePackageFamilyName();
|
|
1130
|
+
}());
|
|
1040
1131
|
}
|
|
1041
1132
|
catch (...)
|
|
1042
1133
|
{
|
|
@@ -1070,30 +1161,27 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
|
|
|
1070
1161
|
}
|
|
1071
1162
|
|
|
1072
1163
|
static PyMethodDef _methods_ReplaceAppointmentOperation[] = {
|
|
1073
|
-
{ "
|
|
1164
|
+
{ "dismiss_ui", reinterpret_cast<PyCFunction>(ReplaceAppointmentOperation_DismissUI), METH_VARARGS, nullptr },
|
|
1074
1165
|
{ "report_canceled", reinterpret_cast<PyCFunction>(ReplaceAppointmentOperation_ReportCanceled), METH_VARARGS, nullptr },
|
|
1075
1166
|
{ "report_completed", reinterpret_cast<PyCFunction>(ReplaceAppointmentOperation_ReportCompleted), METH_VARARGS, nullptr },
|
|
1076
1167
|
{ "report_error", reinterpret_cast<PyCFunction>(ReplaceAppointmentOperation_ReportError), METH_VARARGS, nullptr },
|
|
1077
1168
|
{ "_assign_array_", _assign_array_ReplaceAppointmentOperation, METH_O | METH_STATIC, nullptr },
|
|
1078
1169
|
{ "_from", reinterpret_cast<PyCFunction>(_from_ReplaceAppointmentOperation), METH_O | METH_STATIC, nullptr },
|
|
1079
|
-
{ }
|
|
1080
|
-
};
|
|
1170
|
+
{ }};
|
|
1081
1171
|
|
|
1082
1172
|
static PyGetSetDef _getset_ReplaceAppointmentOperation[] = {
|
|
1083
1173
|
{ "appointment_id", reinterpret_cast<getter>(ReplaceAppointmentOperation_get_AppointmentId), nullptr, nullptr, nullptr },
|
|
1084
1174
|
{ "appointment_information", reinterpret_cast<getter>(ReplaceAppointmentOperation_get_AppointmentInformation), nullptr, nullptr, nullptr },
|
|
1085
1175
|
{ "instance_start_date", reinterpret_cast<getter>(ReplaceAppointmentOperation_get_InstanceStartDate), nullptr, nullptr, nullptr },
|
|
1086
1176
|
{ "source_package_family_name", reinterpret_cast<getter>(ReplaceAppointmentOperation_get_SourcePackageFamilyName), nullptr, nullptr, nullptr },
|
|
1087
|
-
{ }
|
|
1088
|
-
};
|
|
1177
|
+
{ }};
|
|
1089
1178
|
|
|
1090
1179
|
static PyType_Slot _type_slots_ReplaceAppointmentOperation[] = {
|
|
1091
1180
|
{ Py_tp_new, reinterpret_cast<void*>(_new_ReplaceAppointmentOperation) },
|
|
1092
1181
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_ReplaceAppointmentOperation) },
|
|
1093
1182
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_ReplaceAppointmentOperation) },
|
|
1094
1183
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_ReplaceAppointmentOperation) },
|
|
1095
|
-
{ }
|
|
1096
|
-
};
|
|
1184
|
+
{ }};
|
|
1097
1185
|
|
|
1098
1186
|
static PyType_Spec type_spec_ReplaceAppointmentOperation = {
|
|
1099
1187
|
"winrt._winrt_windows_applicationmodel_appointments_appointmentsprovider.ReplaceAppointmentOperation",
|
|
@@ -1134,6 +1222,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_appointments_appointmentsp
|
|
|
1134
1222
|
return nullptr;
|
|
1135
1223
|
}
|
|
1136
1224
|
|
|
1225
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
1226
|
+
if (!inspectable_meta_type)
|
|
1227
|
+
{
|
|
1228
|
+
return nullptr;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1137
1231
|
auto object_type = py::get_object_type();
|
|
1138
1232
|
if (!object_type)
|
|
1139
1233
|
{
|
|
@@ -1147,13 +1241,19 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_appointments_appointmentsp
|
|
|
1147
1241
|
return nullptr;
|
|
1148
1242
|
}
|
|
1149
1243
|
|
|
1150
|
-
py::pytype_handle AddAppointmentOperation_type{py::register_python_type(module.get(), &type_spec_AddAppointmentOperation, object_bases.get(),
|
|
1244
|
+
py::pytype_handle AddAppointmentOperation_type{py::register_python_type(module.get(), &type_spec_AddAppointmentOperation, object_bases.get(), inspectable_meta_type)};
|
|
1151
1245
|
if (!AddAppointmentOperation_type)
|
|
1152
1246
|
{
|
|
1153
1247
|
return nullptr;
|
|
1154
1248
|
}
|
|
1155
1249
|
|
|
1156
|
-
py::pyobj_handle
|
|
1250
|
+
py::pyobj_handle AppointmentsProviderLaunchActionVerbs_Static_bases{PyTuple_Pack(1, reinterpret_cast<PyObject*>(inspectable_meta_type))};
|
|
1251
|
+
if (!AppointmentsProviderLaunchActionVerbs_Static_bases)
|
|
1252
|
+
{
|
|
1253
|
+
return nullptr;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
py::pyobj_handle type_AppointmentsProviderLaunchActionVerbs_Static{PyType_FromSpecWithBases(&type_spec_AppointmentsProviderLaunchActionVerbs_Static, AppointmentsProviderLaunchActionVerbs_Static_bases.get())};
|
|
1157
1257
|
if (!type_AppointmentsProviderLaunchActionVerbs_Static)
|
|
1158
1258
|
{
|
|
1159
1259
|
return nullptr;
|
|
@@ -1165,13 +1265,13 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_appointments_appointmentsp
|
|
|
1165
1265
|
return nullptr;
|
|
1166
1266
|
}
|
|
1167
1267
|
|
|
1168
|
-
py::pytype_handle RemoveAppointmentOperation_type{py::register_python_type(module.get(), &type_spec_RemoveAppointmentOperation, object_bases.get(),
|
|
1268
|
+
py::pytype_handle RemoveAppointmentOperation_type{py::register_python_type(module.get(), &type_spec_RemoveAppointmentOperation, object_bases.get(), inspectable_meta_type)};
|
|
1169
1269
|
if (!RemoveAppointmentOperation_type)
|
|
1170
1270
|
{
|
|
1171
1271
|
return nullptr;
|
|
1172
1272
|
}
|
|
1173
1273
|
|
|
1174
|
-
py::pytype_handle ReplaceAppointmentOperation_type{py::register_python_type(module.get(), &type_spec_ReplaceAppointmentOperation, object_bases.get(),
|
|
1274
|
+
py::pytype_handle ReplaceAppointmentOperation_type{py::register_python_type(module.get(), &type_spec_ReplaceAppointmentOperation, object_bases.get(), inspectable_meta_type)};
|
|
1175
1275
|
if (!ReplaceAppointmentOperation_type)
|
|
1176
1276
|
{
|
|
1177
1277
|
return nullptr;
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9
|
|
19
|
+
requires-python = ">=3.9"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -34,7 +34,7 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
34
34
|
|
|
35
35
|
[tool.cibuildwheel]
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
|
-
environment = { PYTHONPATH="
|
|
37
|
+
environment = { PYTHONPATH="../../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
39
|
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
40
|
before-build = "uv pip install setuptools"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.0.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==
|
|
3
|
+
winrt-runtime==3.0.0
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.applicationmodel.appointments as windows_applicationmodel_appointments
|
|
13
|
+
import winrt.windows.foundation as windows_foundation
|
|
14
|
+
|
|
15
|
+
Self = typing.TypeVar('Self')
|
|
16
|
+
|
|
17
|
+
@typing.final
|
|
18
|
+
class AddAppointmentOperation(winrt.system.Object):
|
|
19
|
+
# System.Void Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation::DismissUI()
|
|
20
|
+
def dismiss_ui(self) -> None: ...
|
|
21
|
+
# System.Void Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation::ReportCanceled()
|
|
22
|
+
def report_canceled(self) -> None: ...
|
|
23
|
+
# System.Void Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation::ReportCompleted(System.String)
|
|
24
|
+
def report_completed(self, item_id: str, /) -> None: ...
|
|
25
|
+
# System.Void Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation::ReportError(System.String)
|
|
26
|
+
def report_error(self, value: str, /) -> None: ...
|
|
27
|
+
# Windows.ApplicationModel.Appointments.Appointment Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation::get_AppointmentInformation()
|
|
28
|
+
@_property
|
|
29
|
+
def appointment_information(self) -> windows_applicationmodel_appointments.Appointment: ...
|
|
30
|
+
# System.String Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation::get_SourcePackageFamilyName()
|
|
31
|
+
@_property
|
|
32
|
+
def source_package_family_name(self) -> str: ...
|
|
33
|
+
|
|
34
|
+
@typing.final
|
|
35
|
+
class AppointmentsProviderLaunchActionVerbs_Static(winrt._winrt.IInspectable_Static):
|
|
36
|
+
# System.String Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs::get_AddAppointment()
|
|
37
|
+
@_property
|
|
38
|
+
def add_appointment(cls) -> str: ...
|
|
39
|
+
# System.String Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs::get_RemoveAppointment()
|
|
40
|
+
@_property
|
|
41
|
+
def remove_appointment(cls) -> str: ...
|
|
42
|
+
# System.String Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs::get_ReplaceAppointment()
|
|
43
|
+
@_property
|
|
44
|
+
def replace_appointment(cls) -> str: ...
|
|
45
|
+
# System.String Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs::get_ShowTimeFrame()
|
|
46
|
+
@_property
|
|
47
|
+
def show_time_frame(cls) -> str: ...
|
|
48
|
+
# System.String Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs::get_ShowAppointmentDetails()
|
|
49
|
+
@_property
|
|
50
|
+
def show_appointment_details(cls) -> str: ...
|
|
51
|
+
|
|
52
|
+
@typing.final
|
|
53
|
+
class AppointmentsProviderLaunchActionVerbs(winrt.system.Object, metaclass=AppointmentsProviderLaunchActionVerbs_Static):
|
|
54
|
+
pass
|
|
55
|
+
|
|
56
|
+
@typing.final
|
|
57
|
+
class RemoveAppointmentOperation(winrt.system.Object):
|
|
58
|
+
# System.Void Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation::DismissUI()
|
|
59
|
+
def dismiss_ui(self) -> None: ...
|
|
60
|
+
# System.Void Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation::ReportCanceled()
|
|
61
|
+
def report_canceled(self) -> None: ...
|
|
62
|
+
# System.Void Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation::ReportCompleted()
|
|
63
|
+
def report_completed(self) -> None: ...
|
|
64
|
+
# System.Void Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation::ReportError(System.String)
|
|
65
|
+
def report_error(self, value: str, /) -> None: ...
|
|
66
|
+
# System.String Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation::get_AppointmentId()
|
|
67
|
+
@_property
|
|
68
|
+
def appointment_id(self) -> str: ...
|
|
69
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation::get_InstanceStartDate()
|
|
70
|
+
@_property
|
|
71
|
+
def instance_start_date(self) -> typing.Optional[datetime.datetime]: ...
|
|
72
|
+
# System.String Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation::get_SourcePackageFamilyName()
|
|
73
|
+
@_property
|
|
74
|
+
def source_package_family_name(self) -> str: ...
|
|
75
|
+
|
|
76
|
+
@typing.final
|
|
77
|
+
class ReplaceAppointmentOperation(winrt.system.Object):
|
|
78
|
+
# System.Void Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation::DismissUI()
|
|
79
|
+
def dismiss_ui(self) -> None: ...
|
|
80
|
+
# System.Void Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation::ReportCanceled()
|
|
81
|
+
def report_canceled(self) -> None: ...
|
|
82
|
+
# System.Void Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation::ReportCompleted(System.String)
|
|
83
|
+
def report_completed(self, item_id: str, /) -> None: ...
|
|
84
|
+
# System.Void Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation::ReportError(System.String)
|
|
85
|
+
def report_error(self, value: str, /) -> None: ...
|
|
86
|
+
# System.String Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation::get_AppointmentId()
|
|
87
|
+
@_property
|
|
88
|
+
def appointment_id(self) -> str: ...
|
|
89
|
+
# Windows.ApplicationModel.Appointments.Appointment Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation::get_AppointmentInformation()
|
|
90
|
+
@_property
|
|
91
|
+
def appointment_information(self) -> windows_applicationmodel_appointments.Appointment: ...
|
|
92
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation::get_InstanceStartDate()
|
|
93
|
+
@_property
|
|
94
|
+
def instance_start_date(self) -> typing.Optional[datetime.datetime]: ...
|
|
95
|
+
# System.String Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation::get_SourcePackageFamilyName()
|
|
96
|
+
@_property
|
|
97
|
+
def source_package_family_name(self) -> str: ...
|
|
98
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
|
+
|
|
3
|
+
import winrt.system
|
|
4
|
+
from winrt._winrt_windows_applicationmodel_appointments_appointmentsprovider import (
|
|
5
|
+
AddAppointmentOperation,
|
|
6
|
+
AppointmentsProviderLaunchActionVerbs,
|
|
7
|
+
RemoveAppointmentOperation,
|
|
8
|
+
ReplaceAppointmentOperation,
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
__all__ = [
|
|
12
|
+
"AddAppointmentOperation",
|
|
13
|
+
"AppointmentsProviderLaunchActionVerbs",
|
|
14
|
+
"RemoveAppointmentOperation",
|
|
15
|
+
"ReplaceAppointmentOperation",
|
|
16
|
+
]
|
|
17
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,12 +10,12 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel.Appointments[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Appointments[all]==3.0.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.0.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.3.0
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
|
-
|
|
3
|
-
import datetime
|
|
4
|
-
import sys
|
|
5
|
-
import types
|
|
6
|
-
import typing
|
|
7
|
-
import uuid as _uuid
|
|
8
|
-
from builtins import property as _property
|
|
9
|
-
|
|
10
|
-
import winrt._winrt
|
|
11
|
-
import winrt.system
|
|
12
|
-
import winrt.windows.applicationmodel.appointments as windows_applicationmodel_appointments
|
|
13
|
-
import winrt.windows.foundation as windows_foundation
|
|
14
|
-
|
|
15
|
-
Self = typing.TypeVar('Self')
|
|
16
|
-
|
|
17
|
-
@typing.final
|
|
18
|
-
class AddAppointmentOperation(winrt.system.Object):
|
|
19
|
-
@staticmethod
|
|
20
|
-
def _from(obj: winrt.system.Object, /) -> AddAppointmentOperation: ...
|
|
21
|
-
def dismiss_u_i(self) -> None: ...
|
|
22
|
-
def report_canceled(self) -> None: ...
|
|
23
|
-
def report_completed(self, item_id: str, /) -> None: ...
|
|
24
|
-
def report_error(self, value: str, /) -> None: ...
|
|
25
|
-
@_property
|
|
26
|
-
def appointment_information(self) -> typing.Optional[windows_applicationmodel_appointments.Appointment]: ...
|
|
27
|
-
@_property
|
|
28
|
-
def source_package_family_name(self) -> str: ...
|
|
29
|
-
|
|
30
|
-
@typing.final
|
|
31
|
-
class AppointmentsProviderLaunchActionVerbs_Static(type):
|
|
32
|
-
@_property
|
|
33
|
-
def add_appointment(cls) -> str: ...
|
|
34
|
-
@_property
|
|
35
|
-
def remove_appointment(cls) -> str: ...
|
|
36
|
-
@_property
|
|
37
|
-
def replace_appointment(cls) -> str: ...
|
|
38
|
-
@_property
|
|
39
|
-
def show_time_frame(cls) -> str: ...
|
|
40
|
-
@_property
|
|
41
|
-
def show_appointment_details(cls) -> str: ...
|
|
42
|
-
|
|
43
|
-
@typing.final
|
|
44
|
-
class AppointmentsProviderLaunchActionVerbs(winrt.system.Object, metaclass=AppointmentsProviderLaunchActionVerbs_Static):
|
|
45
|
-
pass
|
|
46
|
-
|
|
47
|
-
@typing.final
|
|
48
|
-
class RemoveAppointmentOperation(winrt.system.Object):
|
|
49
|
-
@staticmethod
|
|
50
|
-
def _from(obj: winrt.system.Object, /) -> RemoveAppointmentOperation: ...
|
|
51
|
-
def dismiss_u_i(self) -> None: ...
|
|
52
|
-
def report_canceled(self) -> None: ...
|
|
53
|
-
def report_completed(self) -> None: ...
|
|
54
|
-
def report_error(self, value: str, /) -> None: ...
|
|
55
|
-
@_property
|
|
56
|
-
def appointment_id(self) -> str: ...
|
|
57
|
-
@_property
|
|
58
|
-
def instance_start_date(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
59
|
-
@_property
|
|
60
|
-
def source_package_family_name(self) -> str: ...
|
|
61
|
-
|
|
62
|
-
@typing.final
|
|
63
|
-
class ReplaceAppointmentOperation(winrt.system.Object):
|
|
64
|
-
@staticmethod
|
|
65
|
-
def _from(obj: winrt.system.Object, /) -> ReplaceAppointmentOperation: ...
|
|
66
|
-
def dismiss_u_i(self) -> None: ...
|
|
67
|
-
def report_canceled(self) -> None: ...
|
|
68
|
-
def report_completed(self, item_id: str, /) -> None: ...
|
|
69
|
-
def report_error(self, value: str, /) -> None: ...
|
|
70
|
-
@_property
|
|
71
|
-
def appointment_id(self) -> str: ...
|
|
72
|
-
@_property
|
|
73
|
-
def appointment_information(self) -> typing.Optional[windows_applicationmodel_appointments.Appointment]: ...
|
|
74
|
-
@_property
|
|
75
|
-
def instance_start_date(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
76
|
-
@_property
|
|
77
|
-
def source_package_family_name(self) -> str: ...
|
|
78
|
-
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
|
-
|
|
3
|
-
import winrt.system
|
|
4
|
-
from winrt import _winrt_windows_applicationmodel_appointments_appointmentsprovider
|
|
5
|
-
|
|
6
|
-
__all__ = [
|
|
7
|
-
"AddAppointmentOperation",
|
|
8
|
-
"AppointmentsProviderLaunchActionVerbs",
|
|
9
|
-
"RemoveAppointmentOperation",
|
|
10
|
-
"ReplaceAppointmentOperation",
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
AddAppointmentOperation = _winrt_windows_applicationmodel_appointments_appointmentsprovider.AddAppointmentOperation
|
|
14
|
-
AppointmentsProviderLaunchActionVerbs = _winrt_windows_applicationmodel_appointments_appointmentsprovider.AppointmentsProviderLaunchActionVerbs
|
|
15
|
-
RemoveAppointmentOperation = _winrt_windows_applicationmodel_appointments_appointmentsprovider.RemoveAppointmentOperation
|
|
16
|
-
ReplaceAppointmentOperation = _winrt_windows_applicationmodel_appointments_appointmentsprovider.ReplaceAppointmentOperation
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|