winrt-Windows.ApplicationModel.SocialInfo.Provider 2.3.0__tar.gz → 3.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.
- {winrt_windows_applicationmodel_socialinfo_provider-2.3.0 → winrt_windows_applicationmodel_socialinfo_provider-3.1.0}/PKG-INFO +8 -8
- winrt_windows_applicationmodel_socialinfo_provider-3.1.0/all-requirements.txt +5 -0
- {winrt_windows_applicationmodel_socialinfo_provider-2.3.0 → winrt_windows_applicationmodel_socialinfo_provider-3.1.0}/py.Windows.ApplicationModel.SocialInfo.Provider.cpp +135 -60
- {winrt_windows_applicationmodel_socialinfo_provider-2.3.0 → winrt_windows_applicationmodel_socialinfo_provider-3.1.0}/pyproject.toml +4 -4
- winrt_windows_applicationmodel_socialinfo_provider-3.1.0/pywinrt-version.txt +1 -0
- {winrt_windows_applicationmodel_socialinfo_provider-2.3.0 → winrt_windows_applicationmodel_socialinfo_provider-3.1.0}/requirements.txt +2 -2
- {winrt_windows_applicationmodel_socialinfo_provider-2.3.0 → winrt_windows_applicationmodel_socialinfo_provider-3.1.0}/setup.py +1 -1
- winrt_windows_applicationmodel_socialinfo_provider-3.1.0/winrt/_winrt_windows_applicationmodel_socialinfo_provider.pyi +87 -0
- winrt_windows_applicationmodel_socialinfo_provider-3.1.0/winrt/windows/applicationmodel/socialinfo/provider/__init__.py +15 -0
- {winrt_windows_applicationmodel_socialinfo_provider-2.3.0 → winrt_windows_applicationmodel_socialinfo_provider-3.1.0}/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/PKG-INFO +8 -8
- winrt_windows_applicationmodel_socialinfo_provider-3.1.0/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/requires.txt +6 -0
- winrt_windows_applicationmodel_socialinfo_provider-2.3.0/all-requirements.txt +0 -5
- winrt_windows_applicationmodel_socialinfo_provider-2.3.0/pywinrt-version.txt +0 -1
- winrt_windows_applicationmodel_socialinfo_provider-2.3.0/winrt/_winrt_windows_applicationmodel_socialinfo_provider.pyi +0 -64
- winrt_windows_applicationmodel_socialinfo_provider-2.3.0/winrt/windows/applicationmodel/socialinfo/provider/__init__.py +0 -14
- winrt_windows_applicationmodel_socialinfo_provider-2.3.0/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/requires.txt +0 -6
- {winrt_windows_applicationmodel_socialinfo_provider-2.3.0 → winrt_windows_applicationmodel_socialinfo_provider-3.1.0}/README.md +0 -0
- {winrt_windows_applicationmodel_socialinfo_provider-2.3.0 → winrt_windows_applicationmodel_socialinfo_provider-3.1.0}/setup.cfg +0 -0
- {winrt_windows_applicationmodel_socialinfo_provider-2.3.0 → winrt_windows_applicationmodel_socialinfo_provider-3.1.0}/winrt/windows/applicationmodel/socialinfo/provider/py.typed +0 -0
- {winrt_windows_applicationmodel_socialinfo_provider-2.3.0 → winrt_windows_applicationmodel_socialinfo_provider-3.1.0}/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/SOURCES.txt +0 -0
- {winrt_windows_applicationmodel_socialinfo_provider-2.3.0 → winrt_windows_applicationmodel_socialinfo_provider-3.1.0}/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/dependency_links.txt +0 -0
- {winrt_windows_applicationmodel_socialinfo_provider-2.3.0 → winrt_windows_applicationmodel_socialinfo_provider-3.1.0}/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.SocialInfo.Provider
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -10,13 +10,13 @@ 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.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel.SocialInfo[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.SocialInfo[all]==3.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.1.0; extra == "all"
|
|
20
20
|
|
|
21
21
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
22
22
|
|
|
@@ -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.1.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.ApplicationModel.SocialInfo.Provider.h"
|
|
4
4
|
|
|
@@ -23,7 +23,7 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
23
23
|
|
|
24
24
|
static PyObject* SocialDashboardItemUpdater_CommitAsync(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* 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::SocialInfo::Provider
|
|
|
42
42
|
return nullptr;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
return py::convert(
|
|
45
|
+
return py::convert([&]()
|
|
46
|
+
{
|
|
47
|
+
auto _gil = release_gil();
|
|
48
|
+
return self->obj.CommitAsync();
|
|
49
|
+
}());
|
|
46
50
|
}
|
|
47
51
|
catch (...)
|
|
48
52
|
{
|
|
@@ -74,7 +78,11 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
74
78
|
return nullptr;
|
|
75
79
|
}
|
|
76
80
|
|
|
77
|
-
return py::convert(
|
|
81
|
+
return py::convert([&]()
|
|
82
|
+
{
|
|
83
|
+
auto _gil = release_gil();
|
|
84
|
+
return self->obj.Timestamp();
|
|
85
|
+
}());
|
|
78
86
|
}
|
|
79
87
|
catch (...)
|
|
80
88
|
{
|
|
@@ -85,7 +93,7 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
85
93
|
|
|
86
94
|
static int SocialDashboardItemUpdater_put_Timestamp(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, PyObject* arg, void* /*unused*/) noexcept
|
|
87
95
|
{
|
|
88
|
-
if (arg
|
|
96
|
+
if (!arg)
|
|
89
97
|
{
|
|
90
98
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
91
99
|
return -1;
|
|
@@ -108,7 +116,11 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
108
116
|
|
|
109
117
|
auto param0 = py::convert_to<winrt::Windows::Foundation::DateTime>(arg);
|
|
110
118
|
|
|
111
|
-
|
|
119
|
+
{
|
|
120
|
+
auto _gil = release_gil();
|
|
121
|
+
self->obj.Timestamp(param0);
|
|
122
|
+
}
|
|
123
|
+
|
|
112
124
|
return 0;
|
|
113
125
|
}
|
|
114
126
|
catch (...)
|
|
@@ -135,7 +147,11 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
135
147
|
return nullptr;
|
|
136
148
|
}
|
|
137
149
|
|
|
138
|
-
return py::convert(
|
|
150
|
+
return py::convert([&]()
|
|
151
|
+
{
|
|
152
|
+
auto _gil = release_gil();
|
|
153
|
+
return self->obj.Thumbnail();
|
|
154
|
+
}());
|
|
139
155
|
}
|
|
140
156
|
catch (...)
|
|
141
157
|
{
|
|
@@ -146,7 +162,7 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
146
162
|
|
|
147
163
|
static int SocialDashboardItemUpdater_put_Thumbnail(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, PyObject* arg, void* /*unused*/) noexcept
|
|
148
164
|
{
|
|
149
|
-
if (arg
|
|
165
|
+
if (!arg)
|
|
150
166
|
{
|
|
151
167
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
152
168
|
return -1;
|
|
@@ -169,7 +185,11 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
169
185
|
|
|
170
186
|
auto param0 = py::convert_to<winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail>(arg);
|
|
171
187
|
|
|
172
|
-
|
|
188
|
+
{
|
|
189
|
+
auto _gil = release_gil();
|
|
190
|
+
self->obj.Thumbnail(param0);
|
|
191
|
+
}
|
|
192
|
+
|
|
173
193
|
return 0;
|
|
174
194
|
}
|
|
175
195
|
catch (...)
|
|
@@ -196,7 +216,11 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
196
216
|
return nullptr;
|
|
197
217
|
}
|
|
198
218
|
|
|
199
|
-
return py::convert(
|
|
219
|
+
return py::convert([&]()
|
|
220
|
+
{
|
|
221
|
+
auto _gil = release_gil();
|
|
222
|
+
return self->obj.TargetUri();
|
|
223
|
+
}());
|
|
200
224
|
}
|
|
201
225
|
catch (...)
|
|
202
226
|
{
|
|
@@ -207,7 +231,7 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
207
231
|
|
|
208
232
|
static int SocialDashboardItemUpdater_put_TargetUri(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, PyObject* arg, void* /*unused*/) noexcept
|
|
209
233
|
{
|
|
210
|
-
if (arg
|
|
234
|
+
if (!arg)
|
|
211
235
|
{
|
|
212
236
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
213
237
|
return -1;
|
|
@@ -230,7 +254,11 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
230
254
|
|
|
231
255
|
auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(arg);
|
|
232
256
|
|
|
233
|
-
|
|
257
|
+
{
|
|
258
|
+
auto _gil = release_gil();
|
|
259
|
+
self->obj.TargetUri(param0);
|
|
260
|
+
}
|
|
261
|
+
|
|
234
262
|
return 0;
|
|
235
263
|
}
|
|
236
264
|
catch (...)
|
|
@@ -257,7 +285,11 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
257
285
|
return nullptr;
|
|
258
286
|
}
|
|
259
287
|
|
|
260
|
-
return py::convert(
|
|
288
|
+
return py::convert([&]()
|
|
289
|
+
{
|
|
290
|
+
auto _gil = release_gil();
|
|
291
|
+
return self->obj.Content();
|
|
292
|
+
}());
|
|
261
293
|
}
|
|
262
294
|
catch (...)
|
|
263
295
|
{
|
|
@@ -283,7 +315,11 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
283
315
|
return nullptr;
|
|
284
316
|
}
|
|
285
317
|
|
|
286
|
-
return py::convert(
|
|
318
|
+
return py::convert([&]()
|
|
319
|
+
{
|
|
320
|
+
auto _gil = release_gil();
|
|
321
|
+
return self->obj.OwnerRemoteId();
|
|
322
|
+
}());
|
|
287
323
|
}
|
|
288
324
|
catch (...)
|
|
289
325
|
{
|
|
@@ -320,8 +356,7 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
320
356
|
{ "commit_async", reinterpret_cast<PyCFunction>(SocialDashboardItemUpdater_CommitAsync), METH_VARARGS, nullptr },
|
|
321
357
|
{ "_assign_array_", _assign_array_SocialDashboardItemUpdater, METH_O | METH_STATIC, nullptr },
|
|
322
358
|
{ "_from", reinterpret_cast<PyCFunction>(_from_SocialDashboardItemUpdater), METH_O | METH_STATIC, nullptr },
|
|
323
|
-
{ }
|
|
324
|
-
};
|
|
359
|
+
{ }};
|
|
325
360
|
|
|
326
361
|
static PyGetSetDef _getset_SocialDashboardItemUpdater[] = {
|
|
327
362
|
{ "timestamp", reinterpret_cast<getter>(SocialDashboardItemUpdater_get_Timestamp), reinterpret_cast<setter>(SocialDashboardItemUpdater_put_Timestamp), nullptr, nullptr },
|
|
@@ -329,16 +364,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
329
364
|
{ "target_uri", reinterpret_cast<getter>(SocialDashboardItemUpdater_get_TargetUri), reinterpret_cast<setter>(SocialDashboardItemUpdater_put_TargetUri), nullptr, nullptr },
|
|
330
365
|
{ "content", reinterpret_cast<getter>(SocialDashboardItemUpdater_get_Content), nullptr, nullptr, nullptr },
|
|
331
366
|
{ "owner_remote_id", reinterpret_cast<getter>(SocialDashboardItemUpdater_get_OwnerRemoteId), nullptr, nullptr, nullptr },
|
|
332
|
-
{ }
|
|
333
|
-
};
|
|
367
|
+
{ }};
|
|
334
368
|
|
|
335
369
|
static PyType_Slot _type_slots_SocialDashboardItemUpdater[] = {
|
|
336
370
|
{ Py_tp_new, reinterpret_cast<void*>(_new_SocialDashboardItemUpdater) },
|
|
337
371
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_SocialDashboardItemUpdater) },
|
|
338
372
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_SocialDashboardItemUpdater) },
|
|
339
373
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_SocialDashboardItemUpdater) },
|
|
340
|
-
{ }
|
|
341
|
-
};
|
|
374
|
+
{ }};
|
|
342
375
|
|
|
343
376
|
static PyType_Spec type_spec_SocialDashboardItemUpdater = {
|
|
344
377
|
"winrt._winrt_windows_applicationmodel_socialinfo_provider.SocialDashboardItemUpdater",
|
|
@@ -366,7 +399,7 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
366
399
|
|
|
367
400
|
static PyObject* SocialFeedUpdater_CommitAsync(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialFeedUpdater* self, PyObject* args) noexcept
|
|
368
401
|
{
|
|
369
|
-
auto arg_count =
|
|
402
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
370
403
|
|
|
371
404
|
if (arg_count == 0)
|
|
372
405
|
{
|
|
@@ -385,7 +418,11 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
385
418
|
return nullptr;
|
|
386
419
|
}
|
|
387
420
|
|
|
388
|
-
return py::convert(
|
|
421
|
+
return py::convert([&]()
|
|
422
|
+
{
|
|
423
|
+
auto _gil = release_gil();
|
|
424
|
+
return self->obj.CommitAsync();
|
|
425
|
+
}());
|
|
389
426
|
}
|
|
390
427
|
catch (...)
|
|
391
428
|
{
|
|
@@ -417,7 +454,11 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
417
454
|
return nullptr;
|
|
418
455
|
}
|
|
419
456
|
|
|
420
|
-
return py::convert(
|
|
457
|
+
return py::convert([&]()
|
|
458
|
+
{
|
|
459
|
+
auto _gil = release_gil();
|
|
460
|
+
return self->obj.Items();
|
|
461
|
+
}());
|
|
421
462
|
}
|
|
422
463
|
catch (...)
|
|
423
464
|
{
|
|
@@ -443,7 +484,11 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
443
484
|
return nullptr;
|
|
444
485
|
}
|
|
445
486
|
|
|
446
|
-
return py::convert(
|
|
487
|
+
return py::convert([&]()
|
|
488
|
+
{
|
|
489
|
+
auto _gil = release_gil();
|
|
490
|
+
return self->obj.Kind();
|
|
491
|
+
}());
|
|
447
492
|
}
|
|
448
493
|
catch (...)
|
|
449
494
|
{
|
|
@@ -469,7 +514,11 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
469
514
|
return nullptr;
|
|
470
515
|
}
|
|
471
516
|
|
|
472
|
-
return py::convert(
|
|
517
|
+
return py::convert([&]()
|
|
518
|
+
{
|
|
519
|
+
auto _gil = release_gil();
|
|
520
|
+
return self->obj.OwnerRemoteId();
|
|
521
|
+
}());
|
|
473
522
|
}
|
|
474
523
|
catch (...)
|
|
475
524
|
{
|
|
@@ -506,23 +555,20 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
506
555
|
{ "commit_async", reinterpret_cast<PyCFunction>(SocialFeedUpdater_CommitAsync), METH_VARARGS, nullptr },
|
|
507
556
|
{ "_assign_array_", _assign_array_SocialFeedUpdater, METH_O | METH_STATIC, nullptr },
|
|
508
557
|
{ "_from", reinterpret_cast<PyCFunction>(_from_SocialFeedUpdater), METH_O | METH_STATIC, nullptr },
|
|
509
|
-
{ }
|
|
510
|
-
};
|
|
558
|
+
{ }};
|
|
511
559
|
|
|
512
560
|
static PyGetSetDef _getset_SocialFeedUpdater[] = {
|
|
513
561
|
{ "items", reinterpret_cast<getter>(SocialFeedUpdater_get_Items), nullptr, nullptr, nullptr },
|
|
514
562
|
{ "kind", reinterpret_cast<getter>(SocialFeedUpdater_get_Kind), nullptr, nullptr, nullptr },
|
|
515
563
|
{ "owner_remote_id", reinterpret_cast<getter>(SocialFeedUpdater_get_OwnerRemoteId), nullptr, nullptr, nullptr },
|
|
516
|
-
{ }
|
|
517
|
-
};
|
|
564
|
+
{ }};
|
|
518
565
|
|
|
519
566
|
static PyType_Slot _type_slots_SocialFeedUpdater[] = {
|
|
520
567
|
{ Py_tp_new, reinterpret_cast<void*>(_new_SocialFeedUpdater) },
|
|
521
568
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_SocialFeedUpdater) },
|
|
522
569
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_SocialFeedUpdater) },
|
|
523
570
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_SocialFeedUpdater) },
|
|
524
|
-
{ }
|
|
525
|
-
};
|
|
571
|
+
{ }};
|
|
526
572
|
|
|
527
573
|
static PyType_Spec type_spec_SocialFeedUpdater = {
|
|
528
574
|
"winrt._winrt_windows_applicationmodel_socialinfo_provider.SocialFeedUpdater",
|
|
@@ -542,7 +588,7 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
542
588
|
|
|
543
589
|
static PyObject* SocialInfoProviderManager_CreateDashboardItemUpdaterAsync(PyObject* /*unused*/, PyObject* args) noexcept
|
|
544
590
|
{
|
|
545
|
-
auto arg_count =
|
|
591
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
546
592
|
|
|
547
593
|
if (arg_count == 1)
|
|
548
594
|
{
|
|
@@ -563,7 +609,11 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
563
609
|
|
|
564
610
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
565
611
|
|
|
566
|
-
return py::convert(
|
|
612
|
+
return py::convert([&]()
|
|
613
|
+
{
|
|
614
|
+
auto _gil = release_gil();
|
|
615
|
+
return winrt::Windows::ApplicationModel::SocialInfo::Provider::SocialInfoProviderManager::CreateDashboardItemUpdaterAsync(param0);
|
|
616
|
+
}());
|
|
567
617
|
}
|
|
568
618
|
catch (...)
|
|
569
619
|
{
|
|
@@ -580,7 +630,7 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
580
630
|
|
|
581
631
|
static PyObject* SocialInfoProviderManager_CreateSocialFeedUpdaterAsync(PyObject* /*unused*/, PyObject* args) noexcept
|
|
582
632
|
{
|
|
583
|
-
auto arg_count =
|
|
633
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
584
634
|
|
|
585
635
|
if (arg_count == 3)
|
|
586
636
|
{
|
|
@@ -603,7 +653,11 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
603
653
|
auto param1 = py::convert_to<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedUpdateMode>(args, 1);
|
|
604
654
|
auto param2 = py::convert_to<winrt::hstring>(args, 2);
|
|
605
655
|
|
|
606
|
-
return py::convert(
|
|
656
|
+
return py::convert([&]()
|
|
657
|
+
{
|
|
658
|
+
auto _gil = release_gil();
|
|
659
|
+
return winrt::Windows::ApplicationModel::SocialInfo::Provider::SocialInfoProviderManager::CreateSocialFeedUpdaterAsync(param0, param1, param2);
|
|
660
|
+
}());
|
|
607
661
|
}
|
|
608
662
|
catch (...)
|
|
609
663
|
{
|
|
@@ -620,7 +674,7 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
620
674
|
|
|
621
675
|
static PyObject* SocialInfoProviderManager_DeprovisionAsync(PyObject* /*unused*/, PyObject* args) noexcept
|
|
622
676
|
{
|
|
623
|
-
auto arg_count =
|
|
677
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
624
678
|
|
|
625
679
|
if (arg_count == 0)
|
|
626
680
|
{
|
|
@@ -639,7 +693,11 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
639
693
|
return nullptr;
|
|
640
694
|
}
|
|
641
695
|
|
|
642
|
-
return py::convert(
|
|
696
|
+
return py::convert([&]()
|
|
697
|
+
{
|
|
698
|
+
auto _gil = release_gil();
|
|
699
|
+
return winrt::Windows::ApplicationModel::SocialInfo::Provider::SocialInfoProviderManager::DeprovisionAsync();
|
|
700
|
+
}());
|
|
643
701
|
}
|
|
644
702
|
catch (...)
|
|
645
703
|
{
|
|
@@ -656,7 +714,7 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
656
714
|
|
|
657
715
|
static PyObject* SocialInfoProviderManager_ProvisionAsync(PyObject* /*unused*/, PyObject* args) noexcept
|
|
658
716
|
{
|
|
659
|
-
auto arg_count =
|
|
717
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
660
718
|
|
|
661
719
|
if (arg_count == 0)
|
|
662
720
|
{
|
|
@@ -675,7 +733,11 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
675
733
|
return nullptr;
|
|
676
734
|
}
|
|
677
735
|
|
|
678
|
-
return py::convert(
|
|
736
|
+
return py::convert([&]()
|
|
737
|
+
{
|
|
738
|
+
auto _gil = release_gil();
|
|
739
|
+
return winrt::Windows::ApplicationModel::SocialInfo::Provider::SocialInfoProviderManager::ProvisionAsync();
|
|
740
|
+
}());
|
|
679
741
|
}
|
|
680
742
|
catch (...)
|
|
681
743
|
{
|
|
@@ -692,7 +754,7 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
692
754
|
|
|
693
755
|
static PyObject* SocialInfoProviderManager_ReportNewContentAvailable(PyObject* /*unused*/, PyObject* args) noexcept
|
|
694
756
|
{
|
|
695
|
-
auto arg_count =
|
|
757
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
696
758
|
|
|
697
759
|
if (arg_count == 2)
|
|
698
760
|
{
|
|
@@ -714,7 +776,11 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
714
776
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
715
777
|
auto param1 = py::convert_to<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind>(args, 1);
|
|
716
778
|
|
|
717
|
-
|
|
779
|
+
{
|
|
780
|
+
auto _gil = release_gil();
|
|
781
|
+
winrt::Windows::ApplicationModel::SocialInfo::Provider::SocialInfoProviderManager::ReportNewContentAvailable(param0, param1);
|
|
782
|
+
}
|
|
783
|
+
|
|
718
784
|
Py_RETURN_NONE;
|
|
719
785
|
}
|
|
720
786
|
catch (...)
|
|
@@ -732,7 +798,7 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
732
798
|
|
|
733
799
|
static PyObject* SocialInfoProviderManager_UpdateBadgeCountValue(PyObject* /*unused*/, PyObject* args) noexcept
|
|
734
800
|
{
|
|
735
|
-
auto arg_count =
|
|
801
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
736
802
|
|
|
737
803
|
if (arg_count == 2)
|
|
738
804
|
{
|
|
@@ -754,7 +820,11 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
754
820
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
755
821
|
auto param1 = py::convert_to<int32_t>(args, 1);
|
|
756
822
|
|
|
757
|
-
|
|
823
|
+
{
|
|
824
|
+
auto _gil = release_gil();
|
|
825
|
+
winrt::Windows::ApplicationModel::SocialInfo::Provider::SocialInfoProviderManager::UpdateBadgeCountValue(param0, param1);
|
|
826
|
+
}
|
|
827
|
+
|
|
758
828
|
Py_RETURN_NONE;
|
|
759
829
|
}
|
|
760
830
|
catch (...)
|
|
@@ -771,19 +841,16 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
771
841
|
}
|
|
772
842
|
|
|
773
843
|
static PyMethodDef _methods_SocialInfoProviderManager[] = {
|
|
774
|
-
{ }
|
|
775
|
-
};
|
|
844
|
+
{ }};
|
|
776
845
|
|
|
777
846
|
static PyGetSetDef _getset_SocialInfoProviderManager[] = {
|
|
778
|
-
{ }
|
|
779
|
-
};
|
|
847
|
+
{ }};
|
|
780
848
|
|
|
781
849
|
static PyType_Slot _type_slots_SocialInfoProviderManager[] = {
|
|
782
850
|
{ Py_tp_new, reinterpret_cast<void*>(_new_SocialInfoProviderManager) },
|
|
783
851
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_SocialInfoProviderManager) },
|
|
784
852
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_SocialInfoProviderManager) },
|
|
785
|
-
{ }
|
|
786
|
-
};
|
|
853
|
+
{ }};
|
|
787
854
|
|
|
788
855
|
static PyType_Spec type_spec_SocialInfoProviderManager = {
|
|
789
856
|
"winrt._winrt_windows_applicationmodel_socialinfo_provider.SocialInfoProviderManager",
|
|
@@ -793,8 +860,7 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
793
860
|
_type_slots_SocialInfoProviderManager};
|
|
794
861
|
|
|
795
862
|
static PyGetSetDef getset_SocialInfoProviderManager_Static[] = {
|
|
796
|
-
{ }
|
|
797
|
-
};
|
|
863
|
+
{ }};
|
|
798
864
|
|
|
799
865
|
static PyMethodDef methods_SocialInfoProviderManager_Static[] = {
|
|
800
866
|
{ "create_dashboard_item_updater_async", reinterpret_cast<PyCFunction>(SocialInfoProviderManager_CreateDashboardItemUpdaterAsync), METH_VARARGS, nullptr },
|
|
@@ -803,8 +869,7 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
803
869
|
{ "provision_async", reinterpret_cast<PyCFunction>(SocialInfoProviderManager_ProvisionAsync), METH_VARARGS, nullptr },
|
|
804
870
|
{ "report_new_content_available", reinterpret_cast<PyCFunction>(SocialInfoProviderManager_ReportNewContentAvailable), METH_VARARGS, nullptr },
|
|
805
871
|
{ "update_badge_count_value", reinterpret_cast<PyCFunction>(SocialInfoProviderManager_UpdateBadgeCountValue), METH_VARARGS, nullptr },
|
|
806
|
-
{ }
|
|
807
|
-
};
|
|
872
|
+
{ }};
|
|
808
873
|
|
|
809
874
|
static PyType_Slot type_slots_SocialInfoProviderManager_Static[] =
|
|
810
875
|
{
|
|
@@ -814,14 +879,12 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
814
879
|
{ }
|
|
815
880
|
};
|
|
816
881
|
|
|
817
|
-
static PyType_Spec type_spec_SocialInfoProviderManager_Static =
|
|
818
|
-
{
|
|
882
|
+
static PyType_Spec type_spec_SocialInfoProviderManager_Static = {
|
|
819
883
|
"winrt._winrt_windows_applicationmodel_socialinfo_provider.SocialInfoProviderManager_Static",
|
|
820
884
|
static_cast<int>(PyType_Type.tp_basicsize),
|
|
821
885
|
static_cast<int>(PyType_Type.tp_itemsize),
|
|
822
886
|
Py_TPFLAGS_DEFAULT,
|
|
823
|
-
type_slots_SocialInfoProviderManager_Static
|
|
824
|
-
};
|
|
887
|
+
type_slots_SocialInfoProviderManager_Static};
|
|
825
888
|
|
|
826
889
|
// ----- Windows.ApplicationModel.SocialInfo.Provider Initialization --------------------
|
|
827
890
|
|
|
@@ -855,6 +918,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_socialinfo_provider(void)
|
|
|
855
918
|
return nullptr;
|
|
856
919
|
}
|
|
857
920
|
|
|
921
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
922
|
+
if (!inspectable_meta_type)
|
|
923
|
+
{
|
|
924
|
+
return nullptr;
|
|
925
|
+
}
|
|
926
|
+
|
|
858
927
|
auto object_type = py::get_object_type();
|
|
859
928
|
if (!object_type)
|
|
860
929
|
{
|
|
@@ -868,19 +937,25 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_socialinfo_provider(void)
|
|
|
868
937
|
return nullptr;
|
|
869
938
|
}
|
|
870
939
|
|
|
871
|
-
py::pytype_handle SocialDashboardItemUpdater_type{py::register_python_type(module.get(), &type_spec_SocialDashboardItemUpdater, object_bases.get(),
|
|
940
|
+
py::pytype_handle SocialDashboardItemUpdater_type{py::register_python_type(module.get(), &type_spec_SocialDashboardItemUpdater, object_bases.get(), inspectable_meta_type)};
|
|
872
941
|
if (!SocialDashboardItemUpdater_type)
|
|
873
942
|
{
|
|
874
943
|
return nullptr;
|
|
875
944
|
}
|
|
876
945
|
|
|
877
|
-
py::pytype_handle SocialFeedUpdater_type{py::register_python_type(module.get(), &type_spec_SocialFeedUpdater, object_bases.get(),
|
|
946
|
+
py::pytype_handle SocialFeedUpdater_type{py::register_python_type(module.get(), &type_spec_SocialFeedUpdater, object_bases.get(), inspectable_meta_type)};
|
|
878
947
|
if (!SocialFeedUpdater_type)
|
|
879
948
|
{
|
|
880
949
|
return nullptr;
|
|
881
950
|
}
|
|
882
951
|
|
|
883
|
-
py::pyobj_handle
|
|
952
|
+
py::pyobj_handle SocialInfoProviderManager_Static_bases{PyTuple_Pack(1, reinterpret_cast<PyObject*>(inspectable_meta_type))};
|
|
953
|
+
if (!SocialInfoProviderManager_Static_bases)
|
|
954
|
+
{
|
|
955
|
+
return nullptr;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
py::pyobj_handle type_SocialInfoProviderManager_Static{PyType_FromSpecWithBases(&type_spec_SocialInfoProviderManager_Static, SocialInfoProviderManager_Static_bases.get())};
|
|
884
959
|
if (!type_SocialInfoProviderManager_Static)
|
|
885
960
|
{
|
|
886
961
|
return nullptr;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "winrt-sdk"]
|
|
4
|
+
requires = ["setuptools>=78", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "winrt-Windows.ApplicationModel.SocialInfo.Provider"
|
|
9
9
|
description = "Python projection of Windows Runtime (WinRT) APIs"
|
|
10
10
|
readme = "README.md"
|
|
11
|
-
license =
|
|
11
|
+
license = "MIT"
|
|
12
12
|
classifiers = [
|
|
13
13
|
"Operating System :: Microsoft :: Windows",
|
|
14
14
|
"Programming Language :: Python :: 3",
|
|
@@ -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.1.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.1.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==
|
|
3
|
+
winrt-runtime==3.1.0
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.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.socialinfo as windows_applicationmodel_socialinfo
|
|
13
|
+
import winrt.windows.foundation as windows_foundation
|
|
14
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
+
|
|
16
|
+
Self = typing.TypeVar('Self')
|
|
17
|
+
|
|
18
|
+
@typing.final
|
|
19
|
+
class SocialDashboardItemUpdater(winrt.system.Object):
|
|
20
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater::CommitAsync()
|
|
21
|
+
# @deprecated("ISocialDashboardItemUpdater is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
22
|
+
def commit_async(self) -> windows_foundation.IAsyncAction: ...
|
|
23
|
+
# Windows.Foundation.DateTime Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater::get_Timestamp()
|
|
24
|
+
@_property
|
|
25
|
+
def timestamp(self) -> datetime.datetime: ...
|
|
26
|
+
# System.Void Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater::put_Timestamp(Windows.Foundation.DateTime)
|
|
27
|
+
@timestamp.setter
|
|
28
|
+
def timestamp(self, value: datetime.datetime) -> None: ...
|
|
29
|
+
# Windows.ApplicationModel.SocialInfo.SocialItemThumbnail Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater::get_Thumbnail()
|
|
30
|
+
@_property
|
|
31
|
+
def thumbnail(self) -> windows_applicationmodel_socialinfo.SocialItemThumbnail: ...
|
|
32
|
+
# System.Void Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater::put_Thumbnail(Windows.ApplicationModel.SocialInfo.SocialItemThumbnail)
|
|
33
|
+
@thumbnail.setter
|
|
34
|
+
def thumbnail(self, value: windows_applicationmodel_socialinfo.SocialItemThumbnail) -> None: ...
|
|
35
|
+
# Windows.Foundation.Uri Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater::get_TargetUri()
|
|
36
|
+
@_property
|
|
37
|
+
def target_uri(self) -> windows_foundation.Uri: ...
|
|
38
|
+
# System.Void Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater::put_TargetUri(Windows.Foundation.Uri)
|
|
39
|
+
@target_uri.setter
|
|
40
|
+
def target_uri(self, value: windows_foundation.Uri) -> None: ...
|
|
41
|
+
# Windows.ApplicationModel.SocialInfo.SocialFeedContent Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater::get_Content()
|
|
42
|
+
@_property
|
|
43
|
+
def content(self) -> windows_applicationmodel_socialinfo.SocialFeedContent: ...
|
|
44
|
+
# System.String Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater::get_OwnerRemoteId()
|
|
45
|
+
@_property
|
|
46
|
+
def owner_remote_id(self) -> str: ...
|
|
47
|
+
|
|
48
|
+
@typing.final
|
|
49
|
+
class SocialFeedUpdater(winrt.system.Object):
|
|
50
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater::CommitAsync()
|
|
51
|
+
# @deprecated("ISocialFeedUpdater is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
52
|
+
def commit_async(self) -> windows_foundation.IAsyncAction: ...
|
|
53
|
+
# Windows.Foundation.Collections.IVector`1<Windows.ApplicationModel.SocialInfo.SocialFeedItem> Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater::get_Items()
|
|
54
|
+
@_property
|
|
55
|
+
def items(self) -> typing.MutableSequence[windows_applicationmodel_socialinfo.SocialFeedItem]: ...
|
|
56
|
+
# Windows.ApplicationModel.SocialInfo.SocialFeedKind Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater::get_Kind()
|
|
57
|
+
@_property
|
|
58
|
+
def kind(self) -> windows_applicationmodel_socialinfo.SocialFeedKind: ...
|
|
59
|
+
# System.String Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater::get_OwnerRemoteId()
|
|
60
|
+
@_property
|
|
61
|
+
def owner_remote_id(self) -> str: ...
|
|
62
|
+
|
|
63
|
+
@typing.final
|
|
64
|
+
class SocialInfoProviderManager_Static(winrt._winrt.IInspectable_Static):
|
|
65
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater> Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager::CreateDashboardItemUpdaterAsync(System.String)
|
|
66
|
+
# @deprecated("ISocialInfoProviderManagerStatics is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
67
|
+
def create_dashboard_item_updater_async(cls, owner_remote_id: str, /) -> windows_foundation.IAsyncOperation[SocialDashboardItemUpdater]: ...
|
|
68
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater> Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager::CreateSocialFeedUpdaterAsync(Windows.ApplicationModel.SocialInfo.SocialFeedKind,Windows.ApplicationModel.SocialInfo.SocialFeedUpdateMode,System.String)
|
|
69
|
+
# @deprecated("ISocialInfoProviderManagerStatics is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
70
|
+
def create_social_feed_updater_async(cls, kind: windows_applicationmodel_socialinfo.SocialFeedKind, mode: windows_applicationmodel_socialinfo.SocialFeedUpdateMode, owner_remote_id: str, /) -> windows_foundation.IAsyncOperation[SocialFeedUpdater]: ...
|
|
71
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager::DeprovisionAsync()
|
|
72
|
+
# @deprecated("ISocialInfoProviderManagerStatics is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
73
|
+
def deprovision_async(cls) -> windows_foundation.IAsyncAction: ...
|
|
74
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager::ProvisionAsync()
|
|
75
|
+
# @deprecated("ISocialInfoProviderManagerStatics is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
76
|
+
def provision_async(cls) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
77
|
+
# System.Void Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager::ReportNewContentAvailable(System.String,Windows.ApplicationModel.SocialInfo.SocialFeedKind)
|
|
78
|
+
# @deprecated("ISocialInfoProviderManagerStatics is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
79
|
+
def report_new_content_available(cls, contact_remote_id: str, kind: windows_applicationmodel_socialinfo.SocialFeedKind, /) -> None: ...
|
|
80
|
+
# System.Void Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager::UpdateBadgeCountValue(System.String,System.Int32)
|
|
81
|
+
# @deprecated("ISocialInfoProviderManagerStatics is deprecated and might not work on all platforms. For more info, see MSDN.")
|
|
82
|
+
def update_badge_count_value(cls, item_remote_id: str, new_count: winrt.system.Int32, /) -> None: ...
|
|
83
|
+
|
|
84
|
+
@typing.final
|
|
85
|
+
class SocialInfoProviderManager(winrt.system.Object, metaclass=SocialInfoProviderManager_Static):
|
|
86
|
+
pass
|
|
87
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
|
|
2
|
+
|
|
3
|
+
import winrt.system
|
|
4
|
+
from winrt._winrt_windows_applicationmodel_socialinfo_provider import (
|
|
5
|
+
SocialDashboardItemUpdater,
|
|
6
|
+
SocialFeedUpdater,
|
|
7
|
+
SocialInfoProviderManager,
|
|
8
|
+
)
|
|
9
|
+
|
|
10
|
+
__all__ = [
|
|
11
|
+
"SocialDashboardItemUpdater",
|
|
12
|
+
"SocialFeedUpdater",
|
|
13
|
+
"SocialInfoProviderManager",
|
|
14
|
+
]
|
|
15
|
+
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.SocialInfo.Provider
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -10,13 +10,13 @@ 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.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel.SocialInfo[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.SocialInfo[all]==3.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.1.0; extra == "all"
|
|
20
20
|
|
|
21
21
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
22
22
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.3.0
|
|
@@ -1,64 +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.socialinfo as windows_applicationmodel_socialinfo
|
|
13
|
-
import winrt.windows.foundation as windows_foundation
|
|
14
|
-
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
-
|
|
16
|
-
Self = typing.TypeVar('Self')
|
|
17
|
-
|
|
18
|
-
@typing.final
|
|
19
|
-
class SocialDashboardItemUpdater(winrt.system.Object):
|
|
20
|
-
@staticmethod
|
|
21
|
-
def _from(obj: winrt.system.Object, /) -> SocialDashboardItemUpdater: ...
|
|
22
|
-
def commit_async(self) -> windows_foundation.IAsyncAction: ...
|
|
23
|
-
@_property
|
|
24
|
-
def timestamp(self) -> datetime.datetime: ...
|
|
25
|
-
@timestamp.setter
|
|
26
|
-
def timestamp(self, value: datetime.datetime) -> None: ...
|
|
27
|
-
@_property
|
|
28
|
-
def thumbnail(self) -> typing.Optional[windows_applicationmodel_socialinfo.SocialItemThumbnail]: ...
|
|
29
|
-
@thumbnail.setter
|
|
30
|
-
def thumbnail(self, value: typing.Optional[windows_applicationmodel_socialinfo.SocialItemThumbnail]) -> None: ...
|
|
31
|
-
@_property
|
|
32
|
-
def target_uri(self) -> typing.Optional[windows_foundation.Uri]: ...
|
|
33
|
-
@target_uri.setter
|
|
34
|
-
def target_uri(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
|
|
35
|
-
@_property
|
|
36
|
-
def content(self) -> typing.Optional[windows_applicationmodel_socialinfo.SocialFeedContent]: ...
|
|
37
|
-
@_property
|
|
38
|
-
def owner_remote_id(self) -> str: ...
|
|
39
|
-
|
|
40
|
-
@typing.final
|
|
41
|
-
class SocialFeedUpdater(winrt.system.Object):
|
|
42
|
-
@staticmethod
|
|
43
|
-
def _from(obj: winrt.system.Object, /) -> SocialFeedUpdater: ...
|
|
44
|
-
def commit_async(self) -> windows_foundation.IAsyncAction: ...
|
|
45
|
-
@_property
|
|
46
|
-
def items(self) -> typing.Optional[windows_foundation_collections.IVector[windows_applicationmodel_socialinfo.SocialFeedItem]]: ...
|
|
47
|
-
@_property
|
|
48
|
-
def kind(self) -> windows_applicationmodel_socialinfo.SocialFeedKind: ...
|
|
49
|
-
@_property
|
|
50
|
-
def owner_remote_id(self) -> str: ...
|
|
51
|
-
|
|
52
|
-
@typing.final
|
|
53
|
-
class SocialInfoProviderManager_Static(type):
|
|
54
|
-
def create_dashboard_item_updater_async(cls, owner_remote_id: str, /) -> windows_foundation.IAsyncOperation[SocialDashboardItemUpdater]: ...
|
|
55
|
-
def create_social_feed_updater_async(cls, kind: windows_applicationmodel_socialinfo.SocialFeedKind, mode: windows_applicationmodel_socialinfo.SocialFeedUpdateMode, owner_remote_id: str, /) -> windows_foundation.IAsyncOperation[SocialFeedUpdater]: ...
|
|
56
|
-
def deprovision_async(cls) -> windows_foundation.IAsyncAction: ...
|
|
57
|
-
def provision_async(cls) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
58
|
-
def report_new_content_available(cls, contact_remote_id: str, kind: windows_applicationmodel_socialinfo.SocialFeedKind, /) -> None: ...
|
|
59
|
-
def update_badge_count_value(cls, item_remote_id: str, new_count: winrt.system.Int32, /) -> None: ...
|
|
60
|
-
|
|
61
|
-
@typing.final
|
|
62
|
-
class SocialInfoProviderManager(winrt.system.Object, metaclass=SocialInfoProviderManager_Static):
|
|
63
|
-
pass
|
|
64
|
-
|
|
@@ -1,14 +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_socialinfo_provider
|
|
5
|
-
|
|
6
|
-
__all__ = [
|
|
7
|
-
"SocialDashboardItemUpdater",
|
|
8
|
-
"SocialFeedUpdater",
|
|
9
|
-
"SocialInfoProviderManager",
|
|
10
|
-
]
|
|
11
|
-
|
|
12
|
-
SocialDashboardItemUpdater = _winrt_windows_applicationmodel_socialinfo_provider.SocialDashboardItemUpdater
|
|
13
|
-
SocialFeedUpdater = _winrt_windows_applicationmodel_socialinfo_provider.SocialFeedUpdater
|
|
14
|
-
SocialInfoProviderManager = _winrt_windows_applicationmodel_socialinfo_provider.SocialInfoProviderManager
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|