winrt-Windows.ApplicationModel.SocialInfo.Provider 2.0.1__tar.gz → 2.2.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.0.1 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/PKG-INFO +6 -6
- winrt_windows_applicationmodel_socialinfo_provider-2.2.0/all-requirements.txt +5 -0
- {winrt_windows_applicationmodel_socialinfo_provider-2.0.1 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/py.Windows.ApplicationModel.SocialInfo.Provider.cpp +277 -152
- {winrt_windows_applicationmodel_socialinfo_provider-2.0.1 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/pyproject.toml +3 -2
- winrt_windows_applicationmodel_socialinfo_provider-2.2.0/pywinrt-version.txt +1 -0
- {winrt_windows_applicationmodel_socialinfo_provider-2.0.1 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/requirements.txt +2 -2
- winrt_windows_applicationmodel_socialinfo_provider-2.2.0/winrt/_winrt_windows_applicationmodel_socialinfo_provider.pyi +64 -0
- {winrt_windows_applicationmodel_socialinfo_provider-2.0.1 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/winrt/windows/applicationmodel/socialinfo/provider/__init__.py +1 -1
- {winrt_windows_applicationmodel_socialinfo_provider-2.0.1 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/PKG-INFO +6 -6
- winrt_windows_applicationmodel_socialinfo_provider-2.2.0/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/requires.txt +6 -0
- winrt_windows_applicationmodel_socialinfo_provider-2.0.1/all-requirements.txt +0 -5
- winrt_windows_applicationmodel_socialinfo_provider-2.0.1/pywinrt-version.txt +0 -1
- winrt_windows_applicationmodel_socialinfo_provider-2.0.1/winrt/_winrt_windows_applicationmodel_socialinfo_provider.pyi +0 -65
- winrt_windows_applicationmodel_socialinfo_provider-2.0.1/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/requires.txt +0 -6
- {winrt_windows_applicationmodel_socialinfo_provider-2.0.1 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/README.md +0 -0
- {winrt_windows_applicationmodel_socialinfo_provider-2.0.1 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/setup.cfg +0 -0
- {winrt_windows_applicationmodel_socialinfo_provider-2.0.1 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/setup.py +0 -0
- {winrt_windows_applicationmodel_socialinfo_provider-2.0.1 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/winrt/windows/applicationmodel/socialinfo/provider/py.typed +0 -0
- {winrt_windows_applicationmodel_socialinfo_provider-2.0.1 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/SOURCES.txt +0 -0
- {winrt_windows_applicationmodel_socialinfo_provider-2.0.1 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/dependency_links.txt +0 -0
- {winrt_windows_applicationmodel_socialinfo_provider-2.0.1 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.SocialInfo.Provider
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.2.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,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: <3.
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel.SocialInfo[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.0
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.SocialInfo[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
|
|
20
20
|
|
|
21
21
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
22
22
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.ApplicationModel.SocialInfo.Provider.h"
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
7
6
|
{
|
|
8
7
|
// ----- SocialDashboardItemUpdater class --------------------
|
|
@@ -28,14 +27,21 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
28
27
|
|
|
29
28
|
if (arg_count == 0)
|
|
30
29
|
{
|
|
31
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"CommitAsync", 0))
|
|
32
|
-
{
|
|
33
|
-
py::set_arg_count_version_error(0);
|
|
34
|
-
return nullptr;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
30
|
try
|
|
38
31
|
{
|
|
32
|
+
static std::optional<bool> is_overload_present{};
|
|
33
|
+
|
|
34
|
+
if (!is_overload_present.has_value())
|
|
35
|
+
{
|
|
36
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"CommitAsync", 0);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
if (!is_overload_present.value())
|
|
40
|
+
{
|
|
41
|
+
py::set_arg_count_version_error(0);
|
|
42
|
+
return nullptr;
|
|
43
|
+
}
|
|
44
|
+
|
|
39
45
|
return py::convert(self->obj.CommitAsync());
|
|
40
46
|
}
|
|
41
47
|
catch (...)
|
|
@@ -53,14 +59,21 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
53
59
|
|
|
54
60
|
static PyObject* SocialDashboardItemUpdater_get_Timestamp(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, void* /*unused*/) noexcept
|
|
55
61
|
{
|
|
56
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Timestamp"))
|
|
57
|
-
{
|
|
58
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
59
|
-
return nullptr;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
62
|
try
|
|
63
63
|
{
|
|
64
|
+
static std::optional<bool> is_property_present{};
|
|
65
|
+
|
|
66
|
+
if (!is_property_present.has_value())
|
|
67
|
+
{
|
|
68
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Timestamp");
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
if (!is_property_present.value())
|
|
72
|
+
{
|
|
73
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
74
|
+
return nullptr;
|
|
75
|
+
}
|
|
76
|
+
|
|
64
77
|
return py::convert(self->obj.Timestamp());
|
|
65
78
|
}
|
|
66
79
|
catch (...)
|
|
@@ -72,12 +85,6 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
72
85
|
|
|
73
86
|
static int SocialDashboardItemUpdater_put_Timestamp(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, PyObject* arg, void* /*unused*/) noexcept
|
|
74
87
|
{
|
|
75
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Timestamp"))
|
|
76
|
-
{
|
|
77
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
78
|
-
return -1;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
88
|
if (arg == nullptr)
|
|
82
89
|
{
|
|
83
90
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
@@ -86,6 +93,19 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
86
93
|
|
|
87
94
|
try
|
|
88
95
|
{
|
|
96
|
+
static std::optional<bool> is_property_present{};
|
|
97
|
+
|
|
98
|
+
if (!is_property_present.has_value())
|
|
99
|
+
{
|
|
100
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Timestamp");
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
if (!is_property_present.value())
|
|
104
|
+
{
|
|
105
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
106
|
+
return -1;
|
|
107
|
+
}
|
|
108
|
+
|
|
89
109
|
auto param0 = py::convert_to<winrt::Windows::Foundation::DateTime>(arg);
|
|
90
110
|
|
|
91
111
|
self->obj.Timestamp(param0);
|
|
@@ -100,14 +120,21 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
100
120
|
|
|
101
121
|
static PyObject* SocialDashboardItemUpdater_get_Thumbnail(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, void* /*unused*/) noexcept
|
|
102
122
|
{
|
|
103
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Thumbnail"))
|
|
104
|
-
{
|
|
105
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
106
|
-
return nullptr;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
123
|
try
|
|
110
124
|
{
|
|
125
|
+
static std::optional<bool> is_property_present{};
|
|
126
|
+
|
|
127
|
+
if (!is_property_present.has_value())
|
|
128
|
+
{
|
|
129
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Thumbnail");
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
if (!is_property_present.value())
|
|
133
|
+
{
|
|
134
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
135
|
+
return nullptr;
|
|
136
|
+
}
|
|
137
|
+
|
|
111
138
|
return py::convert(self->obj.Thumbnail());
|
|
112
139
|
}
|
|
113
140
|
catch (...)
|
|
@@ -119,12 +146,6 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
119
146
|
|
|
120
147
|
static int SocialDashboardItemUpdater_put_Thumbnail(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, PyObject* arg, void* /*unused*/) noexcept
|
|
121
148
|
{
|
|
122
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Thumbnail"))
|
|
123
|
-
{
|
|
124
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
125
|
-
return -1;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
149
|
if (arg == nullptr)
|
|
129
150
|
{
|
|
130
151
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
@@ -133,6 +154,19 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
133
154
|
|
|
134
155
|
try
|
|
135
156
|
{
|
|
157
|
+
static std::optional<bool> is_property_present{};
|
|
158
|
+
|
|
159
|
+
if (!is_property_present.has_value())
|
|
160
|
+
{
|
|
161
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Thumbnail");
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
if (!is_property_present.value())
|
|
165
|
+
{
|
|
166
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
167
|
+
return -1;
|
|
168
|
+
}
|
|
169
|
+
|
|
136
170
|
auto param0 = py::convert_to<winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail>(arg);
|
|
137
171
|
|
|
138
172
|
self->obj.Thumbnail(param0);
|
|
@@ -147,14 +181,21 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
147
181
|
|
|
148
182
|
static PyObject* SocialDashboardItemUpdater_get_TargetUri(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, void* /*unused*/) noexcept
|
|
149
183
|
{
|
|
150
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"TargetUri"))
|
|
151
|
-
{
|
|
152
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
153
|
-
return nullptr;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
184
|
try
|
|
157
185
|
{
|
|
186
|
+
static std::optional<bool> is_property_present{};
|
|
187
|
+
|
|
188
|
+
if (!is_property_present.has_value())
|
|
189
|
+
{
|
|
190
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"TargetUri");
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
if (!is_property_present.value())
|
|
194
|
+
{
|
|
195
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
196
|
+
return nullptr;
|
|
197
|
+
}
|
|
198
|
+
|
|
158
199
|
return py::convert(self->obj.TargetUri());
|
|
159
200
|
}
|
|
160
201
|
catch (...)
|
|
@@ -166,12 +207,6 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
166
207
|
|
|
167
208
|
static int SocialDashboardItemUpdater_put_TargetUri(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, PyObject* arg, void* /*unused*/) noexcept
|
|
168
209
|
{
|
|
169
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"TargetUri"))
|
|
170
|
-
{
|
|
171
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
172
|
-
return -1;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
210
|
if (arg == nullptr)
|
|
176
211
|
{
|
|
177
212
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
@@ -180,6 +215,19 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
180
215
|
|
|
181
216
|
try
|
|
182
217
|
{
|
|
218
|
+
static std::optional<bool> is_property_present{};
|
|
219
|
+
|
|
220
|
+
if (!is_property_present.has_value())
|
|
221
|
+
{
|
|
222
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"TargetUri");
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
if (!is_property_present.value())
|
|
226
|
+
{
|
|
227
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
228
|
+
return -1;
|
|
229
|
+
}
|
|
230
|
+
|
|
183
231
|
auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(arg);
|
|
184
232
|
|
|
185
233
|
self->obj.TargetUri(param0);
|
|
@@ -194,14 +242,21 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
194
242
|
|
|
195
243
|
static PyObject* SocialDashboardItemUpdater_get_Content(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, void* /*unused*/) noexcept
|
|
196
244
|
{
|
|
197
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Content"))
|
|
198
|
-
{
|
|
199
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
200
|
-
return nullptr;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
245
|
try
|
|
204
246
|
{
|
|
247
|
+
static std::optional<bool> is_property_present{};
|
|
248
|
+
|
|
249
|
+
if (!is_property_present.has_value())
|
|
250
|
+
{
|
|
251
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Content");
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
if (!is_property_present.value())
|
|
255
|
+
{
|
|
256
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
257
|
+
return nullptr;
|
|
258
|
+
}
|
|
259
|
+
|
|
205
260
|
return py::convert(self->obj.Content());
|
|
206
261
|
}
|
|
207
262
|
catch (...)
|
|
@@ -213,14 +268,21 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
213
268
|
|
|
214
269
|
static PyObject* SocialDashboardItemUpdater_get_OwnerRemoteId(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, void* /*unused*/) noexcept
|
|
215
270
|
{
|
|
216
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"OwnerRemoteId"))
|
|
217
|
-
{
|
|
218
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
219
|
-
return nullptr;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
271
|
try
|
|
223
272
|
{
|
|
273
|
+
static std::optional<bool> is_property_present{};
|
|
274
|
+
|
|
275
|
+
if (!is_property_present.has_value())
|
|
276
|
+
{
|
|
277
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"OwnerRemoteId");
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
if (!is_property_present.value())
|
|
281
|
+
{
|
|
282
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
283
|
+
return nullptr;
|
|
284
|
+
}
|
|
285
|
+
|
|
224
286
|
return py::convert(self->obj.OwnerRemoteId());
|
|
225
287
|
}
|
|
226
288
|
catch (...)
|
|
@@ -270,23 +332,20 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
270
332
|
{ }
|
|
271
333
|
};
|
|
272
334
|
|
|
273
|
-
static PyType_Slot _type_slots_SocialDashboardItemUpdater[] =
|
|
274
|
-
{
|
|
335
|
+
static PyType_Slot _type_slots_SocialDashboardItemUpdater[] = {
|
|
275
336
|
{ Py_tp_new, reinterpret_cast<void*>(_new_SocialDashboardItemUpdater) },
|
|
276
337
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_SocialDashboardItemUpdater) },
|
|
277
338
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_SocialDashboardItemUpdater) },
|
|
278
339
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_SocialDashboardItemUpdater) },
|
|
279
|
-
{ }
|
|
340
|
+
{ }
|
|
280
341
|
};
|
|
281
342
|
|
|
282
|
-
static PyType_Spec type_spec_SocialDashboardItemUpdater =
|
|
283
|
-
{
|
|
343
|
+
static PyType_Spec type_spec_SocialDashboardItemUpdater = {
|
|
284
344
|
"winrt._winrt_windows_applicationmodel_socialinfo_provider.SocialDashboardItemUpdater",
|
|
285
345
|
sizeof(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater),
|
|
286
346
|
0,
|
|
287
347
|
Py_TPFLAGS_DEFAULT,
|
|
288
|
-
_type_slots_SocialDashboardItemUpdater
|
|
289
|
-
};
|
|
348
|
+
_type_slots_SocialDashboardItemUpdater};
|
|
290
349
|
|
|
291
350
|
// ----- SocialFeedUpdater class --------------------
|
|
292
351
|
|
|
@@ -311,14 +370,21 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
311
370
|
|
|
312
371
|
if (arg_count == 0)
|
|
313
372
|
{
|
|
314
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"CommitAsync", 0))
|
|
315
|
-
{
|
|
316
|
-
py::set_arg_count_version_error(0);
|
|
317
|
-
return nullptr;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
373
|
try
|
|
321
374
|
{
|
|
375
|
+
static std::optional<bool> is_overload_present{};
|
|
376
|
+
|
|
377
|
+
if (!is_overload_present.has_value())
|
|
378
|
+
{
|
|
379
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"CommitAsync", 0);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
if (!is_overload_present.value())
|
|
383
|
+
{
|
|
384
|
+
py::set_arg_count_version_error(0);
|
|
385
|
+
return nullptr;
|
|
386
|
+
}
|
|
387
|
+
|
|
322
388
|
return py::convert(self->obj.CommitAsync());
|
|
323
389
|
}
|
|
324
390
|
catch (...)
|
|
@@ -336,14 +402,21 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
336
402
|
|
|
337
403
|
static PyObject* SocialFeedUpdater_get_Items(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialFeedUpdater* self, void* /*unused*/) noexcept
|
|
338
404
|
{
|
|
339
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"Items"))
|
|
340
|
-
{
|
|
341
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
342
|
-
return nullptr;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
405
|
try
|
|
346
406
|
{
|
|
407
|
+
static std::optional<bool> is_property_present{};
|
|
408
|
+
|
|
409
|
+
if (!is_property_present.has_value())
|
|
410
|
+
{
|
|
411
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"Items");
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
if (!is_property_present.value())
|
|
415
|
+
{
|
|
416
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
417
|
+
return nullptr;
|
|
418
|
+
}
|
|
419
|
+
|
|
347
420
|
return py::convert(self->obj.Items());
|
|
348
421
|
}
|
|
349
422
|
catch (...)
|
|
@@ -355,14 +428,21 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
355
428
|
|
|
356
429
|
static PyObject* SocialFeedUpdater_get_Kind(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialFeedUpdater* self, void* /*unused*/) noexcept
|
|
357
430
|
{
|
|
358
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"Kind"))
|
|
359
|
-
{
|
|
360
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
361
|
-
return nullptr;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
431
|
try
|
|
365
432
|
{
|
|
433
|
+
static std::optional<bool> is_property_present{};
|
|
434
|
+
|
|
435
|
+
if (!is_property_present.has_value())
|
|
436
|
+
{
|
|
437
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"Kind");
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
if (!is_property_present.value())
|
|
441
|
+
{
|
|
442
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
443
|
+
return nullptr;
|
|
444
|
+
}
|
|
445
|
+
|
|
366
446
|
return py::convert(self->obj.Kind());
|
|
367
447
|
}
|
|
368
448
|
catch (...)
|
|
@@ -374,14 +454,21 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
374
454
|
|
|
375
455
|
static PyObject* SocialFeedUpdater_get_OwnerRemoteId(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialFeedUpdater* self, void* /*unused*/) noexcept
|
|
376
456
|
{
|
|
377
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"OwnerRemoteId"))
|
|
378
|
-
{
|
|
379
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
380
|
-
return nullptr;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
457
|
try
|
|
384
458
|
{
|
|
459
|
+
static std::optional<bool> is_property_present{};
|
|
460
|
+
|
|
461
|
+
if (!is_property_present.has_value())
|
|
462
|
+
{
|
|
463
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"OwnerRemoteId");
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
if (!is_property_present.value())
|
|
467
|
+
{
|
|
468
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
469
|
+
return nullptr;
|
|
470
|
+
}
|
|
471
|
+
|
|
385
472
|
return py::convert(self->obj.OwnerRemoteId());
|
|
386
473
|
}
|
|
387
474
|
catch (...)
|
|
@@ -429,23 +516,20 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
429
516
|
{ }
|
|
430
517
|
};
|
|
431
518
|
|
|
432
|
-
static PyType_Slot _type_slots_SocialFeedUpdater[] =
|
|
433
|
-
{
|
|
519
|
+
static PyType_Slot _type_slots_SocialFeedUpdater[] = {
|
|
434
520
|
{ Py_tp_new, reinterpret_cast<void*>(_new_SocialFeedUpdater) },
|
|
435
521
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_SocialFeedUpdater) },
|
|
436
522
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_SocialFeedUpdater) },
|
|
437
523
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_SocialFeedUpdater) },
|
|
438
|
-
{ }
|
|
524
|
+
{ }
|
|
439
525
|
};
|
|
440
526
|
|
|
441
|
-
static PyType_Spec type_spec_SocialFeedUpdater =
|
|
442
|
-
{
|
|
527
|
+
static PyType_Spec type_spec_SocialFeedUpdater = {
|
|
443
528
|
"winrt._winrt_windows_applicationmodel_socialinfo_provider.SocialFeedUpdater",
|
|
444
529
|
sizeof(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialFeedUpdater),
|
|
445
530
|
0,
|
|
446
531
|
Py_TPFLAGS_DEFAULT,
|
|
447
|
-
_type_slots_SocialFeedUpdater
|
|
448
|
-
};
|
|
532
|
+
_type_slots_SocialFeedUpdater};
|
|
449
533
|
|
|
450
534
|
// ----- SocialInfoProviderManager class --------------------
|
|
451
535
|
|
|
@@ -462,14 +546,21 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
462
546
|
|
|
463
547
|
if (arg_count == 1)
|
|
464
548
|
{
|
|
465
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"CreateDashboardItemUpdaterAsync", 1))
|
|
466
|
-
{
|
|
467
|
-
py::set_arg_count_version_error(1);
|
|
468
|
-
return nullptr;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
549
|
try
|
|
472
550
|
{
|
|
551
|
+
static std::optional<bool> is_overload_present{};
|
|
552
|
+
|
|
553
|
+
if (!is_overload_present.has_value())
|
|
554
|
+
{
|
|
555
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"CreateDashboardItemUpdaterAsync", 1);
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
if (!is_overload_present.value())
|
|
559
|
+
{
|
|
560
|
+
py::set_arg_count_version_error(1);
|
|
561
|
+
return nullptr;
|
|
562
|
+
}
|
|
563
|
+
|
|
473
564
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
474
565
|
|
|
475
566
|
return py::convert(winrt::Windows::ApplicationModel::SocialInfo::Provider::SocialInfoProviderManager::CreateDashboardItemUpdaterAsync(param0));
|
|
@@ -493,14 +584,21 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
493
584
|
|
|
494
585
|
if (arg_count == 3)
|
|
495
586
|
{
|
|
496
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"CreateSocialFeedUpdaterAsync", 3))
|
|
497
|
-
{
|
|
498
|
-
py::set_arg_count_version_error(3);
|
|
499
|
-
return nullptr;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
587
|
try
|
|
503
588
|
{
|
|
589
|
+
static std::optional<bool> is_overload_present{};
|
|
590
|
+
|
|
591
|
+
if (!is_overload_present.has_value())
|
|
592
|
+
{
|
|
593
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"CreateSocialFeedUpdaterAsync", 3);
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
if (!is_overload_present.value())
|
|
597
|
+
{
|
|
598
|
+
py::set_arg_count_version_error(3);
|
|
599
|
+
return nullptr;
|
|
600
|
+
}
|
|
601
|
+
|
|
504
602
|
auto param0 = py::convert_to<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind>(args, 0);
|
|
505
603
|
auto param1 = py::convert_to<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedUpdateMode>(args, 1);
|
|
506
604
|
auto param2 = py::convert_to<winrt::hstring>(args, 2);
|
|
@@ -526,14 +624,21 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
526
624
|
|
|
527
625
|
if (arg_count == 0)
|
|
528
626
|
{
|
|
529
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"DeprovisionAsync", 0))
|
|
530
|
-
{
|
|
531
|
-
py::set_arg_count_version_error(0);
|
|
532
|
-
return nullptr;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
627
|
try
|
|
536
628
|
{
|
|
629
|
+
static std::optional<bool> is_overload_present{};
|
|
630
|
+
|
|
631
|
+
if (!is_overload_present.has_value())
|
|
632
|
+
{
|
|
633
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"DeprovisionAsync", 0);
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
if (!is_overload_present.value())
|
|
637
|
+
{
|
|
638
|
+
py::set_arg_count_version_error(0);
|
|
639
|
+
return nullptr;
|
|
640
|
+
}
|
|
641
|
+
|
|
537
642
|
return py::convert(winrt::Windows::ApplicationModel::SocialInfo::Provider::SocialInfoProviderManager::DeprovisionAsync());
|
|
538
643
|
}
|
|
539
644
|
catch (...)
|
|
@@ -555,14 +660,21 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
555
660
|
|
|
556
661
|
if (arg_count == 0)
|
|
557
662
|
{
|
|
558
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"ProvisionAsync", 0))
|
|
559
|
-
{
|
|
560
|
-
py::set_arg_count_version_error(0);
|
|
561
|
-
return nullptr;
|
|
562
|
-
}
|
|
563
|
-
|
|
564
663
|
try
|
|
565
664
|
{
|
|
665
|
+
static std::optional<bool> is_overload_present{};
|
|
666
|
+
|
|
667
|
+
if (!is_overload_present.has_value())
|
|
668
|
+
{
|
|
669
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"ProvisionAsync", 0);
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
if (!is_overload_present.value())
|
|
673
|
+
{
|
|
674
|
+
py::set_arg_count_version_error(0);
|
|
675
|
+
return nullptr;
|
|
676
|
+
}
|
|
677
|
+
|
|
566
678
|
return py::convert(winrt::Windows::ApplicationModel::SocialInfo::Provider::SocialInfoProviderManager::ProvisionAsync());
|
|
567
679
|
}
|
|
568
680
|
catch (...)
|
|
@@ -584,14 +696,21 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
584
696
|
|
|
585
697
|
if (arg_count == 2)
|
|
586
698
|
{
|
|
587
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"ReportNewContentAvailable", 2))
|
|
588
|
-
{
|
|
589
|
-
py::set_arg_count_version_error(2);
|
|
590
|
-
return nullptr;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
699
|
try
|
|
594
700
|
{
|
|
701
|
+
static std::optional<bool> is_overload_present{};
|
|
702
|
+
|
|
703
|
+
if (!is_overload_present.has_value())
|
|
704
|
+
{
|
|
705
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"ReportNewContentAvailable", 2);
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
if (!is_overload_present.value())
|
|
709
|
+
{
|
|
710
|
+
py::set_arg_count_version_error(2);
|
|
711
|
+
return nullptr;
|
|
712
|
+
}
|
|
713
|
+
|
|
595
714
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
596
715
|
auto param1 = py::convert_to<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind>(args, 1);
|
|
597
716
|
|
|
@@ -617,14 +736,21 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
617
736
|
|
|
618
737
|
if (arg_count == 2)
|
|
619
738
|
{
|
|
620
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"UpdateBadgeCountValue", 2))
|
|
621
|
-
{
|
|
622
|
-
py::set_arg_count_version_error(2);
|
|
623
|
-
return nullptr;
|
|
624
|
-
}
|
|
625
|
-
|
|
626
739
|
try
|
|
627
740
|
{
|
|
741
|
+
static std::optional<bool> is_overload_present{};
|
|
742
|
+
|
|
743
|
+
if (!is_overload_present.has_value())
|
|
744
|
+
{
|
|
745
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"UpdateBadgeCountValue", 2);
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
if (!is_overload_present.value())
|
|
749
|
+
{
|
|
750
|
+
py::set_arg_count_version_error(2);
|
|
751
|
+
return nullptr;
|
|
752
|
+
}
|
|
753
|
+
|
|
628
754
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
629
755
|
auto param1 = py::convert_to<int32_t>(args, 1);
|
|
630
756
|
|
|
@@ -652,22 +778,19 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
652
778
|
{ }
|
|
653
779
|
};
|
|
654
780
|
|
|
655
|
-
static PyType_Slot _type_slots_SocialInfoProviderManager[] =
|
|
656
|
-
{
|
|
781
|
+
static PyType_Slot _type_slots_SocialInfoProviderManager[] = {
|
|
657
782
|
{ Py_tp_new, reinterpret_cast<void*>(_new_SocialInfoProviderManager) },
|
|
658
783
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_SocialInfoProviderManager) },
|
|
659
784
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_SocialInfoProviderManager) },
|
|
660
|
-
{ }
|
|
785
|
+
{ }
|
|
661
786
|
};
|
|
662
787
|
|
|
663
|
-
static PyType_Spec type_spec_SocialInfoProviderManager =
|
|
664
|
-
{
|
|
788
|
+
static PyType_Spec type_spec_SocialInfoProviderManager = {
|
|
665
789
|
"winrt._winrt_windows_applicationmodel_socialinfo_provider.SocialInfoProviderManager",
|
|
666
790
|
0,
|
|
667
791
|
0,
|
|
668
792
|
Py_TPFLAGS_DEFAULT,
|
|
669
|
-
_type_slots_SocialInfoProviderManager
|
|
670
|
-
};
|
|
793
|
+
_type_slots_SocialInfoProviderManager};
|
|
671
794
|
|
|
672
795
|
static PyGetSetDef getset_SocialInfoProviderManager_Static[] = {
|
|
673
796
|
{ }
|
|
@@ -701,20 +824,19 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
701
824
|
};
|
|
702
825
|
|
|
703
826
|
// ----- Windows.ApplicationModel.SocialInfo.Provider Initialization --------------------
|
|
704
|
-
PyDoc_STRVAR(module_doc, "Windows::ApplicationModel::SocialInfo::Provider");
|
|
705
|
-
|
|
706
827
|
|
|
707
|
-
|
|
708
|
-
= {PyModuleDef_HEAD_INIT,
|
|
709
|
-
"_winrt_windows_applicationmodel_socialinfo_provider",
|
|
710
|
-
module_doc,
|
|
711
|
-
0,
|
|
712
|
-
nullptr,
|
|
713
|
-
nullptr,
|
|
714
|
-
nullptr,
|
|
715
|
-
nullptr,
|
|
716
|
-
nullptr};
|
|
828
|
+
PyDoc_STRVAR(module_doc, "Windows.ApplicationModel.SocialInfo.Provider");
|
|
717
829
|
|
|
830
|
+
static PyModuleDef module_def = {
|
|
831
|
+
PyModuleDef_HEAD_INIT,
|
|
832
|
+
"_winrt_windows_applicationmodel_socialinfo_provider",
|
|
833
|
+
module_doc,
|
|
834
|
+
0,
|
|
835
|
+
nullptr,
|
|
836
|
+
nullptr,
|
|
837
|
+
nullptr,
|
|
838
|
+
nullptr,
|
|
839
|
+
nullptr};
|
|
718
840
|
} // py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
719
841
|
|
|
720
842
|
PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_socialinfo_provider(void) noexcept
|
|
@@ -746,12 +868,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_socialinfo_provider(void)
|
|
|
746
868
|
return nullptr;
|
|
747
869
|
}
|
|
748
870
|
|
|
749
|
-
|
|
871
|
+
py::pytype_handle SocialDashboardItemUpdater_type{py::register_python_type(module.get(), &type_spec_SocialDashboardItemUpdater, object_bases.get(), nullptr)};
|
|
872
|
+
if (!SocialDashboardItemUpdater_type)
|
|
750
873
|
{
|
|
751
874
|
return nullptr;
|
|
752
875
|
}
|
|
753
876
|
|
|
754
|
-
|
|
877
|
+
py::pytype_handle SocialFeedUpdater_type{py::register_python_type(module.get(), &type_spec_SocialFeedUpdater, object_bases.get(), nullptr)};
|
|
878
|
+
if (!SocialFeedUpdater_type)
|
|
755
879
|
{
|
|
756
880
|
return nullptr;
|
|
757
881
|
}
|
|
@@ -762,7 +886,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_socialinfo_provider(void)
|
|
|
762
886
|
return nullptr;
|
|
763
887
|
}
|
|
764
888
|
|
|
765
|
-
|
|
889
|
+
py::pytype_handle SocialInfoProviderManager_type{py::register_python_type(module.get(), &type_spec_SocialInfoProviderManager, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_SocialInfoProviderManager_Static.get()))};
|
|
890
|
+
if (!SocialInfoProviderManager_type)
|
|
766
891
|
{
|
|
767
892
|
return nullptr;
|
|
768
893
|
}
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9,<3.
|
|
19
|
+
requires-python = ">=3.9,<3.14"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -36,7 +36,8 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
|
-
build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
39
|
+
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
|
+
before-build = "uv pip install setuptools"
|
|
40
41
|
# don't build for PyPy
|
|
41
42
|
skip = "pp*"
|
|
42
43
|
# suppress warnings about ARM64 testing
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.2.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0
|
|
3
|
+
winrt-runtime==2.2.0
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.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,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.SocialInfo.Provider
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.2.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,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: <3.
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel.SocialInfo[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.0
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.SocialInfo[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.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.0.1
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
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
|
|
13
|
-
import winrt.windows.foundation
|
|
14
|
-
import winrt.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) -> winrt.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[winrt.windows.applicationmodel.socialinfo.SocialItemThumbnail]: ...
|
|
29
|
-
@thumbnail.setter
|
|
30
|
-
def thumbnail(self, value: typing.Optional[winrt.windows.applicationmodel.socialinfo.SocialItemThumbnail]) -> None: ...
|
|
31
|
-
@_property
|
|
32
|
-
def target_uri(self) -> typing.Optional[winrt.windows.foundation.Uri]: ...
|
|
33
|
-
@target_uri.setter
|
|
34
|
-
def target_uri(self, value: typing.Optional[winrt.windows.foundation.Uri]) -> None: ...
|
|
35
|
-
@_property
|
|
36
|
-
def content(self) -> typing.Optional[winrt.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) -> winrt.windows.foundation.IAsyncAction: ...
|
|
45
|
-
@_property
|
|
46
|
-
def items(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[winrt.windows.applicationmodel.socialinfo.SocialFeedItem]]: ...
|
|
47
|
-
@_property
|
|
48
|
-
def kind(self) -> winrt.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, /) -> winrt.windows.foundation.IAsyncOperation[SocialDashboardItemUpdater]: ...
|
|
55
|
-
def create_social_feed_updater_async(cls, kind: winrt.windows.applicationmodel.socialinfo.SocialFeedKind, mode: winrt.windows.applicationmodel.socialinfo.SocialFeedUpdateMode, owner_remote_id: str, /) -> winrt.windows.foundation.IAsyncOperation[SocialFeedUpdater]: ...
|
|
56
|
-
def deprovision_async(cls) -> winrt.windows.foundation.IAsyncAction: ...
|
|
57
|
-
def provision_async(cls) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
|
|
58
|
-
def report_new_content_available(cls, contact_remote_id: str, kind: winrt.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
|
-
@staticmethod
|
|
64
|
-
def _from(obj: winrt.system.Object, /) -> SocialInfoProviderManager: ...
|
|
65
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|