winrt-Windows.ApplicationModel.SocialInfo.Provider 2.0.0b2__tar.gz → 2.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {winrt-Windows.ApplicationModel.SocialInfo.Provider-2.0.0b2 → winrt_windows_applicationmodel_socialinfo_provider-2.1.0}/PKG-INFO +5 -1
- winrt_windows_applicationmodel_socialinfo_provider-2.1.0/all-requirements.txt +5 -0
- {winrt-Windows.ApplicationModel.SocialInfo.Provider-2.0.0b2 → winrt_windows_applicationmodel_socialinfo_provider-2.1.0}/py.Windows.ApplicationModel.SocialInfo.Provider.cpp +138 -149
- {winrt-Windows.ApplicationModel.SocialInfo.Provider-2.0.0b2 → winrt_windows_applicationmodel_socialinfo_provider-2.1.0}/pyproject.toml +2 -2
- winrt_windows_applicationmodel_socialinfo_provider-2.1.0/pywinrt-version.txt +1 -0
- {winrt-Windows.ApplicationModel.SocialInfo.Provider-2.0.0b2 → winrt_windows_applicationmodel_socialinfo_provider-2.1.0}/requirements.txt +2 -2
- winrt_windows_applicationmodel_socialinfo_provider-2.1.0/setup.py +31 -0
- winrt_windows_applicationmodel_socialinfo_provider-2.1.0/winrt/_winrt_windows_applicationmodel_socialinfo_provider.pyi +64 -0
- {winrt-Windows.ApplicationModel.SocialInfo.Provider-2.0.0b2 → winrt_windows_applicationmodel_socialinfo_provider-2.1.0}/winrt/windows/applicationmodel/socialinfo/provider/__init__.py +1 -1
- winrt_windows_applicationmodel_socialinfo_provider-2.1.0/winrt/windows/applicationmodel/socialinfo/provider/py.typed +0 -0
- {winrt-Windows.ApplicationModel.SocialInfo.Provider-2.0.0b2 → winrt_windows_applicationmodel_socialinfo_provider-2.1.0}/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/PKG-INFO +5 -1
- {winrt-Windows.ApplicationModel.SocialInfo.Provider-2.0.0b2 → winrt_windows_applicationmodel_socialinfo_provider-2.1.0}/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/SOURCES.txt +1 -0
- winrt_windows_applicationmodel_socialinfo_provider-2.1.0/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/requires.txt +6 -0
- winrt-Windows.ApplicationModel.SocialInfo.Provider-2.0.0b2/all-requirements.txt +0 -5
- winrt-Windows.ApplicationModel.SocialInfo.Provider-2.0.0b2/pywinrt-version.txt +0 -1
- winrt-Windows.ApplicationModel.SocialInfo.Provider-2.0.0b2/setup.py +0 -16
- winrt-Windows.ApplicationModel.SocialInfo.Provider-2.0.0b2/winrt/_winrt_windows_applicationmodel_socialinfo_provider.pyi +0 -65
- winrt-Windows.ApplicationModel.SocialInfo.Provider-2.0.0b2/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/requires.txt +0 -6
- {winrt-Windows.ApplicationModel.SocialInfo.Provider-2.0.0b2 → winrt_windows_applicationmodel_socialinfo_provider-2.1.0}/README.md +0 -0
- {winrt-Windows.ApplicationModel.SocialInfo.Provider-2.0.0b2 → winrt_windows_applicationmodel_socialinfo_provider-2.1.0}/setup.cfg +0 -0
- {winrt-Windows.ApplicationModel.SocialInfo.Provider-2.0.0b2 → winrt_windows_applicationmodel_socialinfo_provider-2.1.0}/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/dependency_links.txt +0 -0
- {winrt-Windows.ApplicationModel.SocialInfo.Provider-2.0.0b2 → winrt_windows_applicationmodel_socialinfo_provider-2.1.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.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -12,7 +12,11 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: <3.13,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.1.0
|
|
15
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.SocialInfo[all]==2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
|
|
16
20
|
|
|
17
21
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
18
22
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.ApplicationModel.SocialInfo.Provider.h"
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
7
6
|
{
|
|
8
7
|
// ----- SocialDashboardItemUpdater class --------------------
|
|
@@ -28,14 +27,14 @@ 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
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"CommitAsync", 0))
|
|
33
|
+
{
|
|
34
|
+
py::set_arg_count_version_error(0);
|
|
35
|
+
return nullptr;
|
|
36
|
+
}
|
|
37
|
+
|
|
39
38
|
return py::convert(self->obj.CommitAsync());
|
|
40
39
|
}
|
|
41
40
|
catch (...)
|
|
@@ -53,14 +52,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
53
52
|
|
|
54
53
|
static PyObject* SocialDashboardItemUpdater_get_Timestamp(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, void* /*unused*/) noexcept
|
|
55
54
|
{
|
|
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
55
|
try
|
|
63
56
|
{
|
|
57
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Timestamp"))
|
|
58
|
+
{
|
|
59
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
60
|
+
return nullptr;
|
|
61
|
+
}
|
|
62
|
+
|
|
64
63
|
return py::convert(self->obj.Timestamp());
|
|
65
64
|
}
|
|
66
65
|
catch (...)
|
|
@@ -72,12 +71,6 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
72
71
|
|
|
73
72
|
static int SocialDashboardItemUpdater_put_Timestamp(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, PyObject* arg, void* /*unused*/) noexcept
|
|
74
73
|
{
|
|
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
74
|
if (arg == nullptr)
|
|
82
75
|
{
|
|
83
76
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
@@ -86,6 +79,12 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
86
79
|
|
|
87
80
|
try
|
|
88
81
|
{
|
|
82
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Timestamp"))
|
|
83
|
+
{
|
|
84
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
85
|
+
return -1;
|
|
86
|
+
}
|
|
87
|
+
|
|
89
88
|
auto param0 = py::convert_to<winrt::Windows::Foundation::DateTime>(arg);
|
|
90
89
|
|
|
91
90
|
self->obj.Timestamp(param0);
|
|
@@ -100,14 +99,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
100
99
|
|
|
101
100
|
static PyObject* SocialDashboardItemUpdater_get_Thumbnail(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, void* /*unused*/) noexcept
|
|
102
101
|
{
|
|
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
102
|
try
|
|
110
103
|
{
|
|
104
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Thumbnail"))
|
|
105
|
+
{
|
|
106
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
107
|
+
return nullptr;
|
|
108
|
+
}
|
|
109
|
+
|
|
111
110
|
return py::convert(self->obj.Thumbnail());
|
|
112
111
|
}
|
|
113
112
|
catch (...)
|
|
@@ -119,12 +118,6 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
119
118
|
|
|
120
119
|
static int SocialDashboardItemUpdater_put_Thumbnail(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, PyObject* arg, void* /*unused*/) noexcept
|
|
121
120
|
{
|
|
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
121
|
if (arg == nullptr)
|
|
129
122
|
{
|
|
130
123
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
@@ -133,6 +126,12 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
133
126
|
|
|
134
127
|
try
|
|
135
128
|
{
|
|
129
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Thumbnail"))
|
|
130
|
+
{
|
|
131
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
132
|
+
return -1;
|
|
133
|
+
}
|
|
134
|
+
|
|
136
135
|
auto param0 = py::convert_to<winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail>(arg);
|
|
137
136
|
|
|
138
137
|
self->obj.Thumbnail(param0);
|
|
@@ -147,14 +146,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
147
146
|
|
|
148
147
|
static PyObject* SocialDashboardItemUpdater_get_TargetUri(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, void* /*unused*/) noexcept
|
|
149
148
|
{
|
|
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
149
|
try
|
|
157
150
|
{
|
|
151
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"TargetUri"))
|
|
152
|
+
{
|
|
153
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
154
|
+
return nullptr;
|
|
155
|
+
}
|
|
156
|
+
|
|
158
157
|
return py::convert(self->obj.TargetUri());
|
|
159
158
|
}
|
|
160
159
|
catch (...)
|
|
@@ -166,12 +165,6 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
166
165
|
|
|
167
166
|
static int SocialDashboardItemUpdater_put_TargetUri(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, PyObject* arg, void* /*unused*/) noexcept
|
|
168
167
|
{
|
|
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
168
|
if (arg == nullptr)
|
|
176
169
|
{
|
|
177
170
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
@@ -180,6 +173,12 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
180
173
|
|
|
181
174
|
try
|
|
182
175
|
{
|
|
176
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"TargetUri"))
|
|
177
|
+
{
|
|
178
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
179
|
+
return -1;
|
|
180
|
+
}
|
|
181
|
+
|
|
183
182
|
auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(arg);
|
|
184
183
|
|
|
185
184
|
self->obj.TargetUri(param0);
|
|
@@ -194,14 +193,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
194
193
|
|
|
195
194
|
static PyObject* SocialDashboardItemUpdater_get_Content(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, void* /*unused*/) noexcept
|
|
196
195
|
{
|
|
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
196
|
try
|
|
204
197
|
{
|
|
198
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Content"))
|
|
199
|
+
{
|
|
200
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
201
|
+
return nullptr;
|
|
202
|
+
}
|
|
203
|
+
|
|
205
204
|
return py::convert(self->obj.Content());
|
|
206
205
|
}
|
|
207
206
|
catch (...)
|
|
@@ -213,14 +212,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
213
212
|
|
|
214
213
|
static PyObject* SocialDashboardItemUpdater_get_OwnerRemoteId(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater* self, void* /*unused*/) noexcept
|
|
215
214
|
{
|
|
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
215
|
try
|
|
223
216
|
{
|
|
217
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"OwnerRemoteId"))
|
|
218
|
+
{
|
|
219
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
220
|
+
return nullptr;
|
|
221
|
+
}
|
|
222
|
+
|
|
224
223
|
return py::convert(self->obj.OwnerRemoteId());
|
|
225
224
|
}
|
|
226
225
|
catch (...)
|
|
@@ -270,23 +269,20 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
270
269
|
{ }
|
|
271
270
|
};
|
|
272
271
|
|
|
273
|
-
static PyType_Slot _type_slots_SocialDashboardItemUpdater[] =
|
|
274
|
-
{
|
|
272
|
+
static PyType_Slot _type_slots_SocialDashboardItemUpdater[] = {
|
|
275
273
|
{ Py_tp_new, reinterpret_cast<void*>(_new_SocialDashboardItemUpdater) },
|
|
276
274
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_SocialDashboardItemUpdater) },
|
|
277
275
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_SocialDashboardItemUpdater) },
|
|
278
276
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_SocialDashboardItemUpdater) },
|
|
279
|
-
{ }
|
|
277
|
+
{ }
|
|
280
278
|
};
|
|
281
279
|
|
|
282
|
-
static PyType_Spec type_spec_SocialDashboardItemUpdater =
|
|
283
|
-
{
|
|
280
|
+
static PyType_Spec type_spec_SocialDashboardItemUpdater = {
|
|
284
281
|
"winrt._winrt_windows_applicationmodel_socialinfo_provider.SocialDashboardItemUpdater",
|
|
285
282
|
sizeof(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater),
|
|
286
283
|
0,
|
|
287
284
|
Py_TPFLAGS_DEFAULT,
|
|
288
|
-
_type_slots_SocialDashboardItemUpdater
|
|
289
|
-
};
|
|
285
|
+
_type_slots_SocialDashboardItemUpdater};
|
|
290
286
|
|
|
291
287
|
// ----- SocialFeedUpdater class --------------------
|
|
292
288
|
|
|
@@ -311,14 +307,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
311
307
|
|
|
312
308
|
if (arg_count == 0)
|
|
313
309
|
{
|
|
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
310
|
try
|
|
321
311
|
{
|
|
312
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"CommitAsync", 0))
|
|
313
|
+
{
|
|
314
|
+
py::set_arg_count_version_error(0);
|
|
315
|
+
return nullptr;
|
|
316
|
+
}
|
|
317
|
+
|
|
322
318
|
return py::convert(self->obj.CommitAsync());
|
|
323
319
|
}
|
|
324
320
|
catch (...)
|
|
@@ -336,14 +332,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
336
332
|
|
|
337
333
|
static PyObject* SocialFeedUpdater_get_Items(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialFeedUpdater* self, void* /*unused*/) noexcept
|
|
338
334
|
{
|
|
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
335
|
try
|
|
346
336
|
{
|
|
337
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"Items"))
|
|
338
|
+
{
|
|
339
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
340
|
+
return nullptr;
|
|
341
|
+
}
|
|
342
|
+
|
|
347
343
|
return py::convert(self->obj.Items());
|
|
348
344
|
}
|
|
349
345
|
catch (...)
|
|
@@ -355,14 +351,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
355
351
|
|
|
356
352
|
static PyObject* SocialFeedUpdater_get_Kind(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialFeedUpdater* self, void* /*unused*/) noexcept
|
|
357
353
|
{
|
|
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
354
|
try
|
|
365
355
|
{
|
|
356
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"Kind"))
|
|
357
|
+
{
|
|
358
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
359
|
+
return nullptr;
|
|
360
|
+
}
|
|
361
|
+
|
|
366
362
|
return py::convert(self->obj.Kind());
|
|
367
363
|
}
|
|
368
364
|
catch (...)
|
|
@@ -374,14 +370,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
374
370
|
|
|
375
371
|
static PyObject* SocialFeedUpdater_get_OwnerRemoteId(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialFeedUpdater* self, void* /*unused*/) noexcept
|
|
376
372
|
{
|
|
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
373
|
try
|
|
384
374
|
{
|
|
375
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"OwnerRemoteId"))
|
|
376
|
+
{
|
|
377
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
378
|
+
return nullptr;
|
|
379
|
+
}
|
|
380
|
+
|
|
385
381
|
return py::convert(self->obj.OwnerRemoteId());
|
|
386
382
|
}
|
|
387
383
|
catch (...)
|
|
@@ -429,23 +425,20 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
429
425
|
{ }
|
|
430
426
|
};
|
|
431
427
|
|
|
432
|
-
static PyType_Slot _type_slots_SocialFeedUpdater[] =
|
|
433
|
-
{
|
|
428
|
+
static PyType_Slot _type_slots_SocialFeedUpdater[] = {
|
|
434
429
|
{ Py_tp_new, reinterpret_cast<void*>(_new_SocialFeedUpdater) },
|
|
435
430
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_SocialFeedUpdater) },
|
|
436
431
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_SocialFeedUpdater) },
|
|
437
432
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_SocialFeedUpdater) },
|
|
438
|
-
{ }
|
|
433
|
+
{ }
|
|
439
434
|
};
|
|
440
435
|
|
|
441
|
-
static PyType_Spec type_spec_SocialFeedUpdater =
|
|
442
|
-
{
|
|
436
|
+
static PyType_Spec type_spec_SocialFeedUpdater = {
|
|
443
437
|
"winrt._winrt_windows_applicationmodel_socialinfo_provider.SocialFeedUpdater",
|
|
444
438
|
sizeof(py::wrapper::Windows::ApplicationModel::SocialInfo::Provider::SocialFeedUpdater),
|
|
445
439
|
0,
|
|
446
440
|
Py_TPFLAGS_DEFAULT,
|
|
447
|
-
_type_slots_SocialFeedUpdater
|
|
448
|
-
};
|
|
441
|
+
_type_slots_SocialFeedUpdater};
|
|
449
442
|
|
|
450
443
|
// ----- SocialInfoProviderManager class --------------------
|
|
451
444
|
|
|
@@ -462,14 +455,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
462
455
|
|
|
463
456
|
if (arg_count == 1)
|
|
464
457
|
{
|
|
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
458
|
try
|
|
472
459
|
{
|
|
460
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"CreateDashboardItemUpdaterAsync", 1))
|
|
461
|
+
{
|
|
462
|
+
py::set_arg_count_version_error(1);
|
|
463
|
+
return nullptr;
|
|
464
|
+
}
|
|
465
|
+
|
|
473
466
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
474
467
|
|
|
475
468
|
return py::convert(winrt::Windows::ApplicationModel::SocialInfo::Provider::SocialInfoProviderManager::CreateDashboardItemUpdaterAsync(param0));
|
|
@@ -493,14 +486,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
493
486
|
|
|
494
487
|
if (arg_count == 3)
|
|
495
488
|
{
|
|
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
489
|
try
|
|
503
490
|
{
|
|
491
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"CreateSocialFeedUpdaterAsync", 3))
|
|
492
|
+
{
|
|
493
|
+
py::set_arg_count_version_error(3);
|
|
494
|
+
return nullptr;
|
|
495
|
+
}
|
|
496
|
+
|
|
504
497
|
auto param0 = py::convert_to<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind>(args, 0);
|
|
505
498
|
auto param1 = py::convert_to<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedUpdateMode>(args, 1);
|
|
506
499
|
auto param2 = py::convert_to<winrt::hstring>(args, 2);
|
|
@@ -526,14 +519,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
526
519
|
|
|
527
520
|
if (arg_count == 0)
|
|
528
521
|
{
|
|
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
522
|
try
|
|
536
523
|
{
|
|
524
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"DeprovisionAsync", 0))
|
|
525
|
+
{
|
|
526
|
+
py::set_arg_count_version_error(0);
|
|
527
|
+
return nullptr;
|
|
528
|
+
}
|
|
529
|
+
|
|
537
530
|
return py::convert(winrt::Windows::ApplicationModel::SocialInfo::Provider::SocialInfoProviderManager::DeprovisionAsync());
|
|
538
531
|
}
|
|
539
532
|
catch (...)
|
|
@@ -555,14 +548,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
555
548
|
|
|
556
549
|
if (arg_count == 0)
|
|
557
550
|
{
|
|
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
551
|
try
|
|
565
552
|
{
|
|
553
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"ProvisionAsync", 0))
|
|
554
|
+
{
|
|
555
|
+
py::set_arg_count_version_error(0);
|
|
556
|
+
return nullptr;
|
|
557
|
+
}
|
|
558
|
+
|
|
566
559
|
return py::convert(winrt::Windows::ApplicationModel::SocialInfo::Provider::SocialInfoProviderManager::ProvisionAsync());
|
|
567
560
|
}
|
|
568
561
|
catch (...)
|
|
@@ -584,14 +577,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
584
577
|
|
|
585
578
|
if (arg_count == 2)
|
|
586
579
|
{
|
|
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
580
|
try
|
|
594
581
|
{
|
|
582
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"ReportNewContentAvailable", 2))
|
|
583
|
+
{
|
|
584
|
+
py::set_arg_count_version_error(2);
|
|
585
|
+
return nullptr;
|
|
586
|
+
}
|
|
587
|
+
|
|
595
588
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
596
589
|
auto param1 = py::convert_to<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind>(args, 1);
|
|
597
590
|
|
|
@@ -617,14 +610,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
617
610
|
|
|
618
611
|
if (arg_count == 2)
|
|
619
612
|
{
|
|
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
613
|
try
|
|
627
614
|
{
|
|
615
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"UpdateBadgeCountValue", 2))
|
|
616
|
+
{
|
|
617
|
+
py::set_arg_count_version_error(2);
|
|
618
|
+
return nullptr;
|
|
619
|
+
}
|
|
620
|
+
|
|
628
621
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
629
622
|
auto param1 = py::convert_to<int32_t>(args, 1);
|
|
630
623
|
|
|
@@ -652,22 +645,19 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
652
645
|
{ }
|
|
653
646
|
};
|
|
654
647
|
|
|
655
|
-
static PyType_Slot _type_slots_SocialInfoProviderManager[] =
|
|
656
|
-
{
|
|
648
|
+
static PyType_Slot _type_slots_SocialInfoProviderManager[] = {
|
|
657
649
|
{ Py_tp_new, reinterpret_cast<void*>(_new_SocialInfoProviderManager) },
|
|
658
650
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_SocialInfoProviderManager) },
|
|
659
651
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_SocialInfoProviderManager) },
|
|
660
|
-
{ }
|
|
652
|
+
{ }
|
|
661
653
|
};
|
|
662
654
|
|
|
663
|
-
static PyType_Spec type_spec_SocialInfoProviderManager =
|
|
664
|
-
{
|
|
655
|
+
static PyType_Spec type_spec_SocialInfoProviderManager = {
|
|
665
656
|
"winrt._winrt_windows_applicationmodel_socialinfo_provider.SocialInfoProviderManager",
|
|
666
657
|
0,
|
|
667
658
|
0,
|
|
668
659
|
Py_TPFLAGS_DEFAULT,
|
|
669
|
-
_type_slots_SocialInfoProviderManager
|
|
670
|
-
};
|
|
660
|
+
_type_slots_SocialInfoProviderManager};
|
|
671
661
|
|
|
672
662
|
static PyGetSetDef getset_SocialInfoProviderManager_Static[] = {
|
|
673
663
|
{ }
|
|
@@ -701,20 +691,19 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
|
701
691
|
};
|
|
702
692
|
|
|
703
693
|
// ----- Windows.ApplicationModel.SocialInfo.Provider Initialization --------------------
|
|
704
|
-
PyDoc_STRVAR(module_doc, "Windows::ApplicationModel::SocialInfo::Provider");
|
|
705
694
|
|
|
695
|
+
PyDoc_STRVAR(module_doc, "Windows.ApplicationModel.SocialInfo.Provider");
|
|
706
696
|
|
|
707
|
-
static PyModuleDef module_def
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
697
|
+
static PyModuleDef module_def = {
|
|
698
|
+
PyModuleDef_HEAD_INIT,
|
|
699
|
+
"_winrt_windows_applicationmodel_socialinfo_provider",
|
|
700
|
+
module_doc,
|
|
701
|
+
0,
|
|
702
|
+
nullptr,
|
|
703
|
+
nullptr,
|
|
704
|
+
nullptr,
|
|
705
|
+
nullptr,
|
|
706
|
+
nullptr};
|
|
718
707
|
} // py::cpp::Windows::ApplicationModel::SocialInfo::Provider
|
|
719
708
|
|
|
720
709
|
PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_socialinfo_provider(void) noexcept
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "
|
|
4
|
+
requires = ["setuptools", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
@@ -30,7 +30,7 @@ dependencies = { file = "requirements.txt" }
|
|
|
30
30
|
optional-dependencies.all = { file = "all-requirements.txt" }
|
|
31
31
|
|
|
32
32
|
[tool.setuptools.package-data]
|
|
33
|
-
|
|
33
|
+
"*" = ["*.pyi", "py.typed"]
|
|
34
34
|
|
|
35
35
|
[tool.cibuildwheel]
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.1.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.1.0
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
+
|
|
3
|
+
from setuptools import Extension, setup
|
|
4
|
+
from setuptools.command.build_ext import build_ext
|
|
5
|
+
from winrt_sdk import get_include_dirs
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class build_ext_ex(build_ext):
|
|
9
|
+
def build_extension(self, ext):
|
|
10
|
+
if self.compiler.compiler_type == "msvc":
|
|
11
|
+
ext.extra_compile_args = ["/std:c++20", "/permissive-"]
|
|
12
|
+
elif self.compiler.compiler_type == "mingw32":
|
|
13
|
+
ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
|
|
14
|
+
ext.extra_link_args = ["-loleaut32"]
|
|
15
|
+
else:
|
|
16
|
+
raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
|
|
17
|
+
|
|
18
|
+
build_ext.build_extension(self, ext)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
setup(
|
|
22
|
+
cmdclass = {'build_ext': build_ext_ex},
|
|
23
|
+
ext_modules=[
|
|
24
|
+
Extension(
|
|
25
|
+
"winrt._winrt_windows_applicationmodel_socialinfo_provider",
|
|
26
|
+
sources=["py.Windows.ApplicationModel.SocialInfo.Provider.cpp"],
|
|
27
|
+
include_dirs=get_include_dirs(),
|
|
28
|
+
libraries=["windowsapp"],
|
|
29
|
+
)
|
|
30
|
+
],
|
|
31
|
+
)
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.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
|
+
@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
|
+
|
|
File without changes
|
|
@@ -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.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -12,7 +12,11 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: <3.13,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.1.0
|
|
15
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.SocialInfo[all]==2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
|
|
16
20
|
|
|
17
21
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
18
22
|
|
|
@@ -7,6 +7,7 @@ requirements.txt
|
|
|
7
7
|
setup.py
|
|
8
8
|
winrt/_winrt_windows_applicationmodel_socialinfo_provider.pyi
|
|
9
9
|
winrt/windows/applicationmodel/socialinfo/provider/__init__.py
|
|
10
|
+
winrt/windows/applicationmodel/socialinfo/provider/py.typed
|
|
10
11
|
winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/PKG-INFO
|
|
11
12
|
winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/SOURCES.txt
|
|
12
13
|
winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/dependency_links.txt
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.0-beta.2
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
-
|
|
3
|
-
from setuptools import Extension, setup
|
|
4
|
-
from winrt_sdk import get_include_dirs
|
|
5
|
-
|
|
6
|
-
setup(
|
|
7
|
-
ext_modules=[
|
|
8
|
-
Extension(
|
|
9
|
-
"winrt._winrt_windows_applicationmodel_socialinfo_provider",
|
|
10
|
-
sources=["py.Windows.ApplicationModel.SocialInfo.Provider.cpp"],
|
|
11
|
-
include_dirs=get_include_dirs(),
|
|
12
|
-
extra_compile_args=["/std:c++20", "/permissive-"],
|
|
13
|
-
libraries=["windowsapp"],
|
|
14
|
-
)
|
|
15
|
-
],
|
|
16
|
-
)
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.2
|
|
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
|