winrt-Windows.Services.Maps.LocalSearch 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.Services.Maps.LocalSearch-2.0.0b2 → winrt_windows_services_maps_localsearch-2.1.0}/PKG-INFO +7 -1
- winrt_windows_services_maps_localsearch-2.1.0/all-requirements.txt +7 -0
- {winrt-Windows.Services.Maps.LocalSearch-2.0.0b2 → winrt_windows_services_maps_localsearch-2.1.0}/py.Windows.Services.Maps.LocalSearch.cpp +208 -231
- {winrt-Windows.Services.Maps.LocalSearch-2.0.0b2 → winrt_windows_services_maps_localsearch-2.1.0}/pyproject.toml +2 -2
- winrt_windows_services_maps_localsearch-2.1.0/pywinrt-version.txt +1 -0
- {winrt-Windows.Services.Maps.LocalSearch-2.0.0b2 → winrt_windows_services_maps_localsearch-2.1.0}/requirements.txt +2 -2
- winrt_windows_services_maps_localsearch-2.1.0/setup.py +31 -0
- {winrt-Windows.Services.Maps.LocalSearch-2.0.0b2 → winrt_windows_services_maps_localsearch-2.1.0}/winrt/_winrt_windows_services_maps_localsearch.pyi +16 -19
- {winrt-Windows.Services.Maps.LocalSearch-2.0.0b2 → winrt_windows_services_maps_localsearch-2.1.0}/winrt/windows/services/maps/localsearch/__init__.py +1 -1
- winrt_windows_services_maps_localsearch-2.1.0/winrt/windows/services/maps/localsearch/py.typed +0 -0
- {winrt-Windows.Services.Maps.LocalSearch-2.0.0b2 → winrt_windows_services_maps_localsearch-2.1.0}/winrt_Windows.Services.Maps.LocalSearch.egg-info/PKG-INFO +7 -1
- {winrt-Windows.Services.Maps.LocalSearch-2.0.0b2 → winrt_windows_services_maps_localsearch-2.1.0}/winrt_Windows.Services.Maps.LocalSearch.egg-info/SOURCES.txt +1 -0
- winrt_windows_services_maps_localsearch-2.1.0/winrt_Windows.Services.Maps.LocalSearch.egg-info/requires.txt +8 -0
- winrt-Windows.Services.Maps.LocalSearch-2.0.0b2/all-requirements.txt +0 -7
- winrt-Windows.Services.Maps.LocalSearch-2.0.0b2/pywinrt-version.txt +0 -1
- winrt-Windows.Services.Maps.LocalSearch-2.0.0b2/setup.py +0 -16
- winrt-Windows.Services.Maps.LocalSearch-2.0.0b2/winrt_Windows.Services.Maps.LocalSearch.egg-info/requires.txt +0 -8
- {winrt-Windows.Services.Maps.LocalSearch-2.0.0b2 → winrt_windows_services_maps_localsearch-2.1.0}/README.md +0 -0
- {winrt-Windows.Services.Maps.LocalSearch-2.0.0b2 → winrt_windows_services_maps_localsearch-2.1.0}/setup.cfg +0 -0
- {winrt-Windows.Services.Maps.LocalSearch-2.0.0b2 → winrt_windows_services_maps_localsearch-2.1.0}/winrt_Windows.Services.Maps.LocalSearch.egg-info/dependency_links.txt +0 -0
- {winrt-Windows.Services.Maps.LocalSearch-2.0.0b2 → winrt_windows_services_maps_localsearch-2.1.0}/winrt_Windows.Services.Maps.LocalSearch.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Services.Maps.LocalSearch
|
|
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,13 @@ 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.Devices.Geolocation[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"
|
|
20
|
+
Requires-Dist: winrt-Windows.Globalization[all]==2.1.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Services.Maps[all]==2.1.0; extra == "all"
|
|
16
22
|
|
|
17
23
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
18
24
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
|
+
|
|
3
|
+
winrt-Windows.Devices.Geolocation[all]==2.1.0
|
|
4
|
+
winrt-Windows.Foundation[all]==2.1.0
|
|
5
|
+
winrt-Windows.Foundation.Collections[all]==2.1.0
|
|
6
|
+
winrt-Windows.Globalization[all]==2.1.0
|
|
7
|
+
winrt-Windows.Services.Maps[all]==2.1.0
|
|
@@ -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.Services.Maps.LocalSearch.h"
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
7
6
|
{
|
|
8
7
|
// ----- LocalCategories class --------------------
|
|
@@ -16,14 +15,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
16
15
|
|
|
17
16
|
static PyObject* LocalCategories_get_All(PyObject* /*unused*/, void* /*unused*/) noexcept
|
|
18
17
|
{
|
|
19
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"All"))
|
|
20
|
-
{
|
|
21
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
22
|
-
return nullptr;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
18
|
try
|
|
26
19
|
{
|
|
20
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"All"))
|
|
21
|
+
{
|
|
22
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
23
|
+
return nullptr;
|
|
24
|
+
}
|
|
25
|
+
|
|
27
26
|
return py::convert(winrt::Windows::Services::Maps::LocalSearch::LocalCategories::All());
|
|
28
27
|
}
|
|
29
28
|
catch (...)
|
|
@@ -35,14 +34,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
35
34
|
|
|
36
35
|
static PyObject* LocalCategories_get_BankAndCreditUnions(PyObject* /*unused*/, void* /*unused*/) noexcept
|
|
37
36
|
{
|
|
38
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"BankAndCreditUnions"))
|
|
39
|
-
{
|
|
40
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
41
|
-
return nullptr;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
37
|
try
|
|
45
38
|
{
|
|
39
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"BankAndCreditUnions"))
|
|
40
|
+
{
|
|
41
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
42
|
+
return nullptr;
|
|
43
|
+
}
|
|
44
|
+
|
|
46
45
|
return py::convert(winrt::Windows::Services::Maps::LocalSearch::LocalCategories::BankAndCreditUnions());
|
|
47
46
|
}
|
|
48
47
|
catch (...)
|
|
@@ -54,14 +53,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
54
53
|
|
|
55
54
|
static PyObject* LocalCategories_get_EatDrink(PyObject* /*unused*/, void* /*unused*/) noexcept
|
|
56
55
|
{
|
|
57
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"EatDrink"))
|
|
58
|
-
{
|
|
59
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
60
|
-
return nullptr;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
56
|
try
|
|
64
57
|
{
|
|
58
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"EatDrink"))
|
|
59
|
+
{
|
|
60
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
61
|
+
return nullptr;
|
|
62
|
+
}
|
|
63
|
+
|
|
65
64
|
return py::convert(winrt::Windows::Services::Maps::LocalSearch::LocalCategories::EatDrink());
|
|
66
65
|
}
|
|
67
66
|
catch (...)
|
|
@@ -73,14 +72,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
73
72
|
|
|
74
73
|
static PyObject* LocalCategories_get_Hospitals(PyObject* /*unused*/, void* /*unused*/) noexcept
|
|
75
74
|
{
|
|
76
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"Hospitals"))
|
|
77
|
-
{
|
|
78
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
79
|
-
return nullptr;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
75
|
try
|
|
83
76
|
{
|
|
77
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"Hospitals"))
|
|
78
|
+
{
|
|
79
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
80
|
+
return nullptr;
|
|
81
|
+
}
|
|
82
|
+
|
|
84
83
|
return py::convert(winrt::Windows::Services::Maps::LocalSearch::LocalCategories::Hospitals());
|
|
85
84
|
}
|
|
86
85
|
catch (...)
|
|
@@ -92,14 +91,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
92
91
|
|
|
93
92
|
static PyObject* LocalCategories_get_HotelsAndMotels(PyObject* /*unused*/, void* /*unused*/) noexcept
|
|
94
93
|
{
|
|
95
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"HotelsAndMotels"))
|
|
96
|
-
{
|
|
97
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
98
|
-
return nullptr;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
94
|
try
|
|
102
95
|
{
|
|
96
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"HotelsAndMotels"))
|
|
97
|
+
{
|
|
98
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
99
|
+
return nullptr;
|
|
100
|
+
}
|
|
101
|
+
|
|
103
102
|
return py::convert(winrt::Windows::Services::Maps::LocalSearch::LocalCategories::HotelsAndMotels());
|
|
104
103
|
}
|
|
105
104
|
catch (...)
|
|
@@ -111,14 +110,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
111
110
|
|
|
112
111
|
static PyObject* LocalCategories_get_Parking(PyObject* /*unused*/, void* /*unused*/) noexcept
|
|
113
112
|
{
|
|
114
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"Parking"))
|
|
115
|
-
{
|
|
116
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
117
|
-
return nullptr;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
113
|
try
|
|
121
114
|
{
|
|
115
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"Parking"))
|
|
116
|
+
{
|
|
117
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
118
|
+
return nullptr;
|
|
119
|
+
}
|
|
120
|
+
|
|
122
121
|
return py::convert(winrt::Windows::Services::Maps::LocalSearch::LocalCategories::Parking());
|
|
123
122
|
}
|
|
124
123
|
catch (...)
|
|
@@ -130,14 +129,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
130
129
|
|
|
131
130
|
static PyObject* LocalCategories_get_SeeDo(PyObject* /*unused*/, void* /*unused*/) noexcept
|
|
132
131
|
{
|
|
133
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"SeeDo"))
|
|
134
|
-
{
|
|
135
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
136
|
-
return nullptr;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
132
|
try
|
|
140
133
|
{
|
|
134
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"SeeDo"))
|
|
135
|
+
{
|
|
136
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
137
|
+
return nullptr;
|
|
138
|
+
}
|
|
139
|
+
|
|
141
140
|
return py::convert(winrt::Windows::Services::Maps::LocalSearch::LocalCategories::SeeDo());
|
|
142
141
|
}
|
|
143
142
|
catch (...)
|
|
@@ -149,14 +148,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
149
148
|
|
|
150
149
|
static PyObject* LocalCategories_get_Shop(PyObject* /*unused*/, void* /*unused*/) noexcept
|
|
151
150
|
{
|
|
152
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"Shop"))
|
|
153
|
-
{
|
|
154
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
155
|
-
return nullptr;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
151
|
try
|
|
159
152
|
{
|
|
153
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"Shop"))
|
|
154
|
+
{
|
|
155
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
156
|
+
return nullptr;
|
|
157
|
+
}
|
|
158
|
+
|
|
160
159
|
return py::convert(winrt::Windows::Services::Maps::LocalSearch::LocalCategories::Shop());
|
|
161
160
|
}
|
|
162
161
|
catch (...)
|
|
@@ -174,22 +173,19 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
174
173
|
{ }
|
|
175
174
|
};
|
|
176
175
|
|
|
177
|
-
static PyType_Slot _type_slots_LocalCategories[] =
|
|
178
|
-
{
|
|
176
|
+
static PyType_Slot _type_slots_LocalCategories[] = {
|
|
179
177
|
{ Py_tp_new, reinterpret_cast<void*>(_new_LocalCategories) },
|
|
180
178
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_LocalCategories) },
|
|
181
179
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_LocalCategories) },
|
|
182
|
-
{ }
|
|
180
|
+
{ }
|
|
183
181
|
};
|
|
184
182
|
|
|
185
|
-
static PyType_Spec type_spec_LocalCategories =
|
|
186
|
-
{
|
|
183
|
+
static PyType_Spec type_spec_LocalCategories = {
|
|
187
184
|
"winrt._winrt_windows_services_maps_localsearch.LocalCategories",
|
|
188
185
|
0,
|
|
189
186
|
0,
|
|
190
187
|
Py_TPFLAGS_DEFAULT,
|
|
191
|
-
_type_slots_LocalCategories
|
|
192
|
-
};
|
|
188
|
+
_type_slots_LocalCategories};
|
|
193
189
|
|
|
194
190
|
static PyGetSetDef getset_LocalCategories_Static[] = {
|
|
195
191
|
{ "all", reinterpret_cast<getter>(LocalCategories_get_All), nullptr, nullptr, nullptr },
|
|
@@ -243,14 +239,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
243
239
|
|
|
244
240
|
static PyObject* LocalLocation_get_Address(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocation* self, void* /*unused*/) noexcept
|
|
245
241
|
{
|
|
246
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"Address"))
|
|
247
|
-
{
|
|
248
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
249
|
-
return nullptr;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
242
|
try
|
|
253
243
|
{
|
|
244
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"Address"))
|
|
245
|
+
{
|
|
246
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
247
|
+
return nullptr;
|
|
248
|
+
}
|
|
249
|
+
|
|
254
250
|
return py::convert(self->obj.Address());
|
|
255
251
|
}
|
|
256
252
|
catch (...)
|
|
@@ -262,14 +258,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
262
258
|
|
|
263
259
|
static PyObject* LocalLocation_get_DataAttribution(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocation* self, void* /*unused*/) noexcept
|
|
264
260
|
{
|
|
265
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"DataAttribution"))
|
|
266
|
-
{
|
|
267
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
268
|
-
return nullptr;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
261
|
try
|
|
272
262
|
{
|
|
263
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"DataAttribution"))
|
|
264
|
+
{
|
|
265
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
266
|
+
return nullptr;
|
|
267
|
+
}
|
|
268
|
+
|
|
273
269
|
return py::convert(self->obj.DataAttribution());
|
|
274
270
|
}
|
|
275
271
|
catch (...)
|
|
@@ -281,14 +277,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
281
277
|
|
|
282
278
|
static PyObject* LocalLocation_get_Description(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocation* self, void* /*unused*/) noexcept
|
|
283
279
|
{
|
|
284
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"Description"))
|
|
285
|
-
{
|
|
286
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
287
|
-
return nullptr;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
280
|
try
|
|
291
281
|
{
|
|
282
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"Description"))
|
|
283
|
+
{
|
|
284
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
285
|
+
return nullptr;
|
|
286
|
+
}
|
|
287
|
+
|
|
292
288
|
return py::convert(self->obj.Description());
|
|
293
289
|
}
|
|
294
290
|
catch (...)
|
|
@@ -300,14 +296,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
300
296
|
|
|
301
297
|
static PyObject* LocalLocation_get_DisplayName(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocation* self, void* /*unused*/) noexcept
|
|
302
298
|
{
|
|
303
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"DisplayName"))
|
|
304
|
-
{
|
|
305
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
306
|
-
return nullptr;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
299
|
try
|
|
310
300
|
{
|
|
301
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"DisplayName"))
|
|
302
|
+
{
|
|
303
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
304
|
+
return nullptr;
|
|
305
|
+
}
|
|
306
|
+
|
|
311
307
|
return py::convert(self->obj.DisplayName());
|
|
312
308
|
}
|
|
313
309
|
catch (...)
|
|
@@ -319,14 +315,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
319
315
|
|
|
320
316
|
static PyObject* LocalLocation_get_Identifier(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocation* self, void* /*unused*/) noexcept
|
|
321
317
|
{
|
|
322
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"Identifier"))
|
|
323
|
-
{
|
|
324
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
325
|
-
return nullptr;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
318
|
try
|
|
329
319
|
{
|
|
320
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"Identifier"))
|
|
321
|
+
{
|
|
322
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
323
|
+
return nullptr;
|
|
324
|
+
}
|
|
325
|
+
|
|
330
326
|
return py::convert(self->obj.Identifier());
|
|
331
327
|
}
|
|
332
328
|
catch (...)
|
|
@@ -338,14 +334,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
338
334
|
|
|
339
335
|
static PyObject* LocalLocation_get_PhoneNumber(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocation* self, void* /*unused*/) noexcept
|
|
340
336
|
{
|
|
341
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"PhoneNumber"))
|
|
342
|
-
{
|
|
343
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
344
|
-
return nullptr;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
337
|
try
|
|
348
338
|
{
|
|
339
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"PhoneNumber"))
|
|
340
|
+
{
|
|
341
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
342
|
+
return nullptr;
|
|
343
|
+
}
|
|
344
|
+
|
|
349
345
|
return py::convert(self->obj.PhoneNumber());
|
|
350
346
|
}
|
|
351
347
|
catch (...)
|
|
@@ -357,14 +353,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
357
353
|
|
|
358
354
|
static PyObject* LocalLocation_get_Point(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocation* self, void* /*unused*/) noexcept
|
|
359
355
|
{
|
|
360
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"Point"))
|
|
361
|
-
{
|
|
362
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
363
|
-
return nullptr;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
356
|
try
|
|
367
357
|
{
|
|
358
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"Point"))
|
|
359
|
+
{
|
|
360
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
361
|
+
return nullptr;
|
|
362
|
+
}
|
|
363
|
+
|
|
368
364
|
return py::convert(self->obj.Point());
|
|
369
365
|
}
|
|
370
366
|
catch (...)
|
|
@@ -376,14 +372,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
376
372
|
|
|
377
373
|
static PyObject* LocalLocation_get_Category(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocation* self, void* /*unused*/) noexcept
|
|
378
374
|
{
|
|
379
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"Category"))
|
|
380
|
-
{
|
|
381
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
382
|
-
return nullptr;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
375
|
try
|
|
386
376
|
{
|
|
377
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"Category"))
|
|
378
|
+
{
|
|
379
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
380
|
+
return nullptr;
|
|
381
|
+
}
|
|
382
|
+
|
|
387
383
|
return py::convert(self->obj.Category());
|
|
388
384
|
}
|
|
389
385
|
catch (...)
|
|
@@ -395,14 +391,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
395
391
|
|
|
396
392
|
static PyObject* LocalLocation_get_HoursOfOperation(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocation* self, void* /*unused*/) noexcept
|
|
397
393
|
{
|
|
398
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"HoursOfOperation"))
|
|
399
|
-
{
|
|
400
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
401
|
-
return nullptr;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
394
|
try
|
|
405
395
|
{
|
|
396
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"HoursOfOperation"))
|
|
397
|
+
{
|
|
398
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
399
|
+
return nullptr;
|
|
400
|
+
}
|
|
401
|
+
|
|
406
402
|
return py::convert(self->obj.HoursOfOperation());
|
|
407
403
|
}
|
|
408
404
|
catch (...)
|
|
@@ -414,14 +410,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
414
410
|
|
|
415
411
|
static PyObject* LocalLocation_get_RatingInfo(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocation* self, void* /*unused*/) noexcept
|
|
416
412
|
{
|
|
417
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"RatingInfo"))
|
|
418
|
-
{
|
|
419
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
420
|
-
return nullptr;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
413
|
try
|
|
424
414
|
{
|
|
415
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"RatingInfo"))
|
|
416
|
+
{
|
|
417
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
418
|
+
return nullptr;
|
|
419
|
+
}
|
|
420
|
+
|
|
425
421
|
return py::convert(self->obj.RatingInfo());
|
|
426
422
|
}
|
|
427
423
|
catch (...)
|
|
@@ -475,23 +471,20 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
475
471
|
{ }
|
|
476
472
|
};
|
|
477
473
|
|
|
478
|
-
static PyType_Slot _type_slots_LocalLocation[] =
|
|
479
|
-
{
|
|
474
|
+
static PyType_Slot _type_slots_LocalLocation[] = {
|
|
480
475
|
{ Py_tp_new, reinterpret_cast<void*>(_new_LocalLocation) },
|
|
481
476
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_LocalLocation) },
|
|
482
477
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_LocalLocation) },
|
|
483
478
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_LocalLocation) },
|
|
484
|
-
{ }
|
|
479
|
+
{ }
|
|
485
480
|
};
|
|
486
481
|
|
|
487
|
-
static PyType_Spec type_spec_LocalLocation =
|
|
488
|
-
{
|
|
482
|
+
static PyType_Spec type_spec_LocalLocation = {
|
|
489
483
|
"winrt._winrt_windows_services_maps_localsearch.LocalLocation",
|
|
490
484
|
sizeof(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocation),
|
|
491
485
|
0,
|
|
492
486
|
Py_TPFLAGS_DEFAULT,
|
|
493
|
-
_type_slots_LocalLocation
|
|
494
|
-
};
|
|
487
|
+
_type_slots_LocalLocation};
|
|
495
488
|
|
|
496
489
|
// ----- LocalLocationFinder class --------------------
|
|
497
490
|
|
|
@@ -508,14 +501,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
508
501
|
|
|
509
502
|
if (arg_count == 4)
|
|
510
503
|
{
|
|
511
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationFinder", L"FindLocalLocationsAsync", 4))
|
|
512
|
-
{
|
|
513
|
-
py::set_arg_count_version_error(4);
|
|
514
|
-
return nullptr;
|
|
515
|
-
}
|
|
516
|
-
|
|
517
504
|
try
|
|
518
505
|
{
|
|
506
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationFinder", L"FindLocalLocationsAsync", 4))
|
|
507
|
+
{
|
|
508
|
+
py::set_arg_count_version_error(4);
|
|
509
|
+
return nullptr;
|
|
510
|
+
}
|
|
511
|
+
|
|
519
512
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
520
513
|
auto param1 = py::convert_to<winrt::Windows::Devices::Geolocation::Geocircle>(args, 1);
|
|
521
514
|
auto param2 = py::convert_to<winrt::hstring>(args, 2);
|
|
@@ -544,22 +537,19 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
544
537
|
{ }
|
|
545
538
|
};
|
|
546
539
|
|
|
547
|
-
static PyType_Slot _type_slots_LocalLocationFinder[] =
|
|
548
|
-
{
|
|
540
|
+
static PyType_Slot _type_slots_LocalLocationFinder[] = {
|
|
549
541
|
{ Py_tp_new, reinterpret_cast<void*>(_new_LocalLocationFinder) },
|
|
550
542
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_LocalLocationFinder) },
|
|
551
543
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_LocalLocationFinder) },
|
|
552
|
-
{ }
|
|
544
|
+
{ }
|
|
553
545
|
};
|
|
554
546
|
|
|
555
|
-
static PyType_Spec type_spec_LocalLocationFinder =
|
|
556
|
-
{
|
|
547
|
+
static PyType_Spec type_spec_LocalLocationFinder = {
|
|
557
548
|
"winrt._winrt_windows_services_maps_localsearch.LocalLocationFinder",
|
|
558
549
|
0,
|
|
559
550
|
0,
|
|
560
551
|
Py_TPFLAGS_DEFAULT,
|
|
561
|
-
_type_slots_LocalLocationFinder
|
|
562
|
-
};
|
|
552
|
+
_type_slots_LocalLocationFinder};
|
|
563
553
|
|
|
564
554
|
static PyGetSetDef getset_LocalLocationFinder_Static[] = {
|
|
565
555
|
{ }
|
|
@@ -606,14 +596,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
606
596
|
|
|
607
597
|
static PyObject* LocalLocationFinderResult_get_LocalLocations(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocationFinderResult* self, void* /*unused*/) noexcept
|
|
608
598
|
{
|
|
609
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationFinderResult", L"LocalLocations"))
|
|
610
|
-
{
|
|
611
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
612
|
-
return nullptr;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
599
|
try
|
|
616
600
|
{
|
|
601
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationFinderResult", L"LocalLocations"))
|
|
602
|
+
{
|
|
603
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
604
|
+
return nullptr;
|
|
605
|
+
}
|
|
606
|
+
|
|
617
607
|
return py::convert(self->obj.LocalLocations());
|
|
618
608
|
}
|
|
619
609
|
catch (...)
|
|
@@ -625,14 +615,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
625
615
|
|
|
626
616
|
static PyObject* LocalLocationFinderResult_get_Status(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocationFinderResult* self, void* /*unused*/) noexcept
|
|
627
617
|
{
|
|
628
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationFinderResult", L"Status"))
|
|
629
|
-
{
|
|
630
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
631
|
-
return nullptr;
|
|
632
|
-
}
|
|
633
|
-
|
|
634
618
|
try
|
|
635
619
|
{
|
|
620
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationFinderResult", L"Status"))
|
|
621
|
+
{
|
|
622
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
623
|
+
return nullptr;
|
|
624
|
+
}
|
|
625
|
+
|
|
636
626
|
return py::convert(self->obj.Status());
|
|
637
627
|
}
|
|
638
628
|
catch (...)
|
|
@@ -678,23 +668,20 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
678
668
|
{ }
|
|
679
669
|
};
|
|
680
670
|
|
|
681
|
-
static PyType_Slot _type_slots_LocalLocationFinderResult[] =
|
|
682
|
-
{
|
|
671
|
+
static PyType_Slot _type_slots_LocalLocationFinderResult[] = {
|
|
683
672
|
{ Py_tp_new, reinterpret_cast<void*>(_new_LocalLocationFinderResult) },
|
|
684
673
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_LocalLocationFinderResult) },
|
|
685
674
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_LocalLocationFinderResult) },
|
|
686
675
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_LocalLocationFinderResult) },
|
|
687
|
-
{ }
|
|
676
|
+
{ }
|
|
688
677
|
};
|
|
689
678
|
|
|
690
|
-
static PyType_Spec type_spec_LocalLocationFinderResult =
|
|
691
|
-
{
|
|
679
|
+
static PyType_Spec type_spec_LocalLocationFinderResult = {
|
|
692
680
|
"winrt._winrt_windows_services_maps_localsearch.LocalLocationFinderResult",
|
|
693
681
|
sizeof(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocationFinderResult),
|
|
694
682
|
0,
|
|
695
683
|
Py_TPFLAGS_DEFAULT,
|
|
696
|
-
_type_slots_LocalLocationFinderResult
|
|
697
|
-
};
|
|
684
|
+
_type_slots_LocalLocationFinderResult};
|
|
698
685
|
|
|
699
686
|
// ----- LocalLocationHoursOfOperationItem class --------------------
|
|
700
687
|
|
|
@@ -715,14 +702,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
715
702
|
|
|
716
703
|
static PyObject* LocalLocationHoursOfOperationItem_get_Day(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocationHoursOfOperationItem* self, void* /*unused*/) noexcept
|
|
717
704
|
{
|
|
718
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationHoursOfOperationItem", L"Day"))
|
|
719
|
-
{
|
|
720
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
721
|
-
return nullptr;
|
|
722
|
-
}
|
|
723
|
-
|
|
724
705
|
try
|
|
725
706
|
{
|
|
707
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationHoursOfOperationItem", L"Day"))
|
|
708
|
+
{
|
|
709
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
710
|
+
return nullptr;
|
|
711
|
+
}
|
|
712
|
+
|
|
726
713
|
return py::convert(self->obj.Day());
|
|
727
714
|
}
|
|
728
715
|
catch (...)
|
|
@@ -734,14 +721,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
734
721
|
|
|
735
722
|
static PyObject* LocalLocationHoursOfOperationItem_get_Span(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocationHoursOfOperationItem* self, void* /*unused*/) noexcept
|
|
736
723
|
{
|
|
737
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationHoursOfOperationItem", L"Span"))
|
|
738
|
-
{
|
|
739
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
740
|
-
return nullptr;
|
|
741
|
-
}
|
|
742
|
-
|
|
743
724
|
try
|
|
744
725
|
{
|
|
726
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationHoursOfOperationItem", L"Span"))
|
|
727
|
+
{
|
|
728
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
729
|
+
return nullptr;
|
|
730
|
+
}
|
|
731
|
+
|
|
745
732
|
return py::convert(self->obj.Span());
|
|
746
733
|
}
|
|
747
734
|
catch (...)
|
|
@@ -753,14 +740,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
753
740
|
|
|
754
741
|
static PyObject* LocalLocationHoursOfOperationItem_get_Start(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocationHoursOfOperationItem* self, void* /*unused*/) noexcept
|
|
755
742
|
{
|
|
756
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationHoursOfOperationItem", L"Start"))
|
|
757
|
-
{
|
|
758
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
759
|
-
return nullptr;
|
|
760
|
-
}
|
|
761
|
-
|
|
762
743
|
try
|
|
763
744
|
{
|
|
745
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationHoursOfOperationItem", L"Start"))
|
|
746
|
+
{
|
|
747
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
748
|
+
return nullptr;
|
|
749
|
+
}
|
|
750
|
+
|
|
764
751
|
return py::convert(self->obj.Start());
|
|
765
752
|
}
|
|
766
753
|
catch (...)
|
|
@@ -807,23 +794,20 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
807
794
|
{ }
|
|
808
795
|
};
|
|
809
796
|
|
|
810
|
-
static PyType_Slot _type_slots_LocalLocationHoursOfOperationItem[] =
|
|
811
|
-
{
|
|
797
|
+
static PyType_Slot _type_slots_LocalLocationHoursOfOperationItem[] = {
|
|
812
798
|
{ Py_tp_new, reinterpret_cast<void*>(_new_LocalLocationHoursOfOperationItem) },
|
|
813
799
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_LocalLocationHoursOfOperationItem) },
|
|
814
800
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_LocalLocationHoursOfOperationItem) },
|
|
815
801
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_LocalLocationHoursOfOperationItem) },
|
|
816
|
-
{ }
|
|
802
|
+
{ }
|
|
817
803
|
};
|
|
818
804
|
|
|
819
|
-
static PyType_Spec type_spec_LocalLocationHoursOfOperationItem =
|
|
820
|
-
{
|
|
805
|
+
static PyType_Spec type_spec_LocalLocationHoursOfOperationItem = {
|
|
821
806
|
"winrt._winrt_windows_services_maps_localsearch.LocalLocationHoursOfOperationItem",
|
|
822
807
|
sizeof(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocationHoursOfOperationItem),
|
|
823
808
|
0,
|
|
824
809
|
Py_TPFLAGS_DEFAULT,
|
|
825
|
-
_type_slots_LocalLocationHoursOfOperationItem
|
|
826
|
-
};
|
|
810
|
+
_type_slots_LocalLocationHoursOfOperationItem};
|
|
827
811
|
|
|
828
812
|
// ----- LocalLocationRatingInfo class --------------------
|
|
829
813
|
|
|
@@ -844,14 +828,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
844
828
|
|
|
845
829
|
static PyObject* LocalLocationRatingInfo_get_AggregateRating(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocationRatingInfo* self, void* /*unused*/) noexcept
|
|
846
830
|
{
|
|
847
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationRatingInfo", L"AggregateRating"))
|
|
848
|
-
{
|
|
849
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
850
|
-
return nullptr;
|
|
851
|
-
}
|
|
852
|
-
|
|
853
831
|
try
|
|
854
832
|
{
|
|
833
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationRatingInfo", L"AggregateRating"))
|
|
834
|
+
{
|
|
835
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
836
|
+
return nullptr;
|
|
837
|
+
}
|
|
838
|
+
|
|
855
839
|
return py::convert(self->obj.AggregateRating());
|
|
856
840
|
}
|
|
857
841
|
catch (...)
|
|
@@ -863,14 +847,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
863
847
|
|
|
864
848
|
static PyObject* LocalLocationRatingInfo_get_ProviderIdentifier(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocationRatingInfo* self, void* /*unused*/) noexcept
|
|
865
849
|
{
|
|
866
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationRatingInfo", L"ProviderIdentifier"))
|
|
867
|
-
{
|
|
868
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
869
|
-
return nullptr;
|
|
870
|
-
}
|
|
871
|
-
|
|
872
850
|
try
|
|
873
851
|
{
|
|
852
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationRatingInfo", L"ProviderIdentifier"))
|
|
853
|
+
{
|
|
854
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
855
|
+
return nullptr;
|
|
856
|
+
}
|
|
857
|
+
|
|
874
858
|
return py::convert(self->obj.ProviderIdentifier());
|
|
875
859
|
}
|
|
876
860
|
catch (...)
|
|
@@ -882,14 +866,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
882
866
|
|
|
883
867
|
static PyObject* LocalLocationRatingInfo_get_RatingCount(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocationRatingInfo* self, void* /*unused*/) noexcept
|
|
884
868
|
{
|
|
885
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationRatingInfo", L"RatingCount"))
|
|
886
|
-
{
|
|
887
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
888
|
-
return nullptr;
|
|
889
|
-
}
|
|
890
|
-
|
|
891
869
|
try
|
|
892
870
|
{
|
|
871
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationRatingInfo", L"RatingCount"))
|
|
872
|
+
{
|
|
873
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
874
|
+
return nullptr;
|
|
875
|
+
}
|
|
876
|
+
|
|
893
877
|
return py::convert(self->obj.RatingCount());
|
|
894
878
|
}
|
|
895
879
|
catch (...)
|
|
@@ -936,23 +920,20 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
936
920
|
{ }
|
|
937
921
|
};
|
|
938
922
|
|
|
939
|
-
static PyType_Slot _type_slots_LocalLocationRatingInfo[] =
|
|
940
|
-
{
|
|
923
|
+
static PyType_Slot _type_slots_LocalLocationRatingInfo[] = {
|
|
941
924
|
{ Py_tp_new, reinterpret_cast<void*>(_new_LocalLocationRatingInfo) },
|
|
942
925
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_LocalLocationRatingInfo) },
|
|
943
926
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_LocalLocationRatingInfo) },
|
|
944
927
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_LocalLocationRatingInfo) },
|
|
945
|
-
{ }
|
|
928
|
+
{ }
|
|
946
929
|
};
|
|
947
930
|
|
|
948
|
-
static PyType_Spec type_spec_LocalLocationRatingInfo =
|
|
949
|
-
{
|
|
931
|
+
static PyType_Spec type_spec_LocalLocationRatingInfo = {
|
|
950
932
|
"winrt._winrt_windows_services_maps_localsearch.LocalLocationRatingInfo",
|
|
951
933
|
sizeof(py::wrapper::Windows::Services::Maps::LocalSearch::LocalLocationRatingInfo),
|
|
952
934
|
0,
|
|
953
935
|
Py_TPFLAGS_DEFAULT,
|
|
954
|
-
_type_slots_LocalLocationRatingInfo
|
|
955
|
-
};
|
|
936
|
+
_type_slots_LocalLocationRatingInfo};
|
|
956
937
|
|
|
957
938
|
// ----- PlaceInfoHelper class --------------------
|
|
958
939
|
|
|
@@ -969,14 +950,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
969
950
|
|
|
970
951
|
if (arg_count == 1)
|
|
971
952
|
{
|
|
972
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Services.Maps.LocalSearch.PlaceInfoHelper", L"CreateFromLocalLocation", 1))
|
|
973
|
-
{
|
|
974
|
-
py::set_arg_count_version_error(1);
|
|
975
|
-
return nullptr;
|
|
976
|
-
}
|
|
977
|
-
|
|
978
953
|
try
|
|
979
954
|
{
|
|
955
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Services.Maps.LocalSearch.PlaceInfoHelper", L"CreateFromLocalLocation", 1))
|
|
956
|
+
{
|
|
957
|
+
py::set_arg_count_version_error(1);
|
|
958
|
+
return nullptr;
|
|
959
|
+
}
|
|
960
|
+
|
|
980
961
|
auto param0 = py::convert_to<winrt::Windows::Services::Maps::LocalSearch::LocalLocation>(args, 0);
|
|
981
962
|
|
|
982
963
|
return py::convert(winrt::Windows::Services::Maps::LocalSearch::PlaceInfoHelper::CreateFromLocalLocation(param0));
|
|
@@ -1002,22 +983,19 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
1002
983
|
{ }
|
|
1003
984
|
};
|
|
1004
985
|
|
|
1005
|
-
static PyType_Slot _type_slots_PlaceInfoHelper[] =
|
|
1006
|
-
{
|
|
986
|
+
static PyType_Slot _type_slots_PlaceInfoHelper[] = {
|
|
1007
987
|
{ Py_tp_new, reinterpret_cast<void*>(_new_PlaceInfoHelper) },
|
|
1008
988
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_PlaceInfoHelper) },
|
|
1009
989
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_PlaceInfoHelper) },
|
|
1010
|
-
{ }
|
|
990
|
+
{ }
|
|
1011
991
|
};
|
|
1012
992
|
|
|
1013
|
-
static PyType_Spec type_spec_PlaceInfoHelper =
|
|
1014
|
-
{
|
|
993
|
+
static PyType_Spec type_spec_PlaceInfoHelper = {
|
|
1015
994
|
"winrt._winrt_windows_services_maps_localsearch.PlaceInfoHelper",
|
|
1016
995
|
0,
|
|
1017
996
|
0,
|
|
1018
997
|
Py_TPFLAGS_DEFAULT,
|
|
1019
|
-
_type_slots_PlaceInfoHelper
|
|
1020
|
-
};
|
|
998
|
+
_type_slots_PlaceInfoHelper};
|
|
1021
999
|
|
|
1022
1000
|
static PyGetSetDef getset_PlaceInfoHelper_Static[] = {
|
|
1023
1001
|
{ }
|
|
@@ -1046,20 +1024,19 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
1046
1024
|
};
|
|
1047
1025
|
|
|
1048
1026
|
// ----- Windows.Services.Maps.LocalSearch Initialization --------------------
|
|
1049
|
-
PyDoc_STRVAR(module_doc, "Windows::Services::Maps::LocalSearch");
|
|
1050
|
-
|
|
1051
1027
|
|
|
1052
|
-
|
|
1053
|
-
= {PyModuleDef_HEAD_INIT,
|
|
1054
|
-
"_winrt_windows_services_maps_localsearch",
|
|
1055
|
-
module_doc,
|
|
1056
|
-
0,
|
|
1057
|
-
nullptr,
|
|
1058
|
-
nullptr,
|
|
1059
|
-
nullptr,
|
|
1060
|
-
nullptr,
|
|
1061
|
-
nullptr};
|
|
1028
|
+
PyDoc_STRVAR(module_doc, "Windows.Services.Maps.LocalSearch");
|
|
1062
1029
|
|
|
1030
|
+
static PyModuleDef module_def = {
|
|
1031
|
+
PyModuleDef_HEAD_INIT,
|
|
1032
|
+
"_winrt_windows_services_maps_localsearch",
|
|
1033
|
+
module_doc,
|
|
1034
|
+
0,
|
|
1035
|
+
nullptr,
|
|
1036
|
+
nullptr,
|
|
1037
|
+
nullptr,
|
|
1038
|
+
nullptr,
|
|
1039
|
+
nullptr};
|
|
1063
1040
|
} // py::cpp::Windows::Services::Maps::LocalSearch
|
|
1064
1041
|
|
|
1065
1042
|
PyMODINIT_FUNC PyInit__winrt_windows_services_maps_localsearch(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_services_maps_localsearch",
|
|
26
|
+
sources=["py.Windows.Services.Maps.LocalSearch.cpp"],
|
|
27
|
+
include_dirs=get_include_dirs(),
|
|
28
|
+
libraries=["windowsapp"],
|
|
29
|
+
)
|
|
30
|
+
],
|
|
31
|
+
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -9,11 +9,11 @@ from builtins import property as _property
|
|
|
9
9
|
|
|
10
10
|
import winrt._winrt
|
|
11
11
|
import winrt.system
|
|
12
|
-
import winrt.windows.devices.geolocation
|
|
13
|
-
import winrt.windows.foundation
|
|
14
|
-
import winrt.windows.foundation.collections
|
|
15
|
-
import winrt.windows.globalization
|
|
16
|
-
import winrt.windows.services.maps
|
|
12
|
+
import winrt.windows.devices.geolocation as windows_devices_geolocation
|
|
13
|
+
import winrt.windows.foundation as windows_foundation
|
|
14
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
+
import winrt.windows.globalization as windows_globalization
|
|
16
|
+
import winrt.windows.services.maps as windows_services_maps
|
|
17
17
|
|
|
18
18
|
from winrt.windows.services.maps.localsearch import LocalLocationFinderStatus
|
|
19
19
|
|
|
@@ -40,15 +40,14 @@ class LocalCategories_Static(type):
|
|
|
40
40
|
|
|
41
41
|
@typing.final
|
|
42
42
|
class LocalCategories(winrt.system.Object, metaclass=LocalCategories_Static):
|
|
43
|
-
|
|
44
|
-
def _from(obj: winrt.system.Object, /) -> LocalCategories: ...
|
|
43
|
+
pass
|
|
45
44
|
|
|
46
45
|
@typing.final
|
|
47
46
|
class LocalLocation(winrt.system.Object):
|
|
48
47
|
@staticmethod
|
|
49
48
|
def _from(obj: winrt.system.Object, /) -> LocalLocation: ...
|
|
50
49
|
@_property
|
|
51
|
-
def address(self) -> typing.Optional[
|
|
50
|
+
def address(self) -> typing.Optional[windows_services_maps.MapAddress]: ...
|
|
52
51
|
@_property
|
|
53
52
|
def data_attribution(self) -> str: ...
|
|
54
53
|
@_property
|
|
@@ -60,29 +59,28 @@ class LocalLocation(winrt.system.Object):
|
|
|
60
59
|
@_property
|
|
61
60
|
def phone_number(self) -> str: ...
|
|
62
61
|
@_property
|
|
63
|
-
def point(self) -> typing.Optional[
|
|
62
|
+
def point(self) -> typing.Optional[windows_devices_geolocation.Geopoint]: ...
|
|
64
63
|
@_property
|
|
65
64
|
def category(self) -> str: ...
|
|
66
65
|
@_property
|
|
67
|
-
def hours_of_operation(self) -> typing.Optional[
|
|
66
|
+
def hours_of_operation(self) -> typing.Optional[windows_foundation_collections.IVectorView[LocalLocationHoursOfOperationItem]]: ...
|
|
68
67
|
@_property
|
|
69
68
|
def rating_info(self) -> typing.Optional[LocalLocationRatingInfo]: ...
|
|
70
69
|
|
|
71
70
|
@typing.final
|
|
72
71
|
class LocalLocationFinder_Static(type):
|
|
73
|
-
def find_local_locations_async(cls, search_term: str, search_area: typing.Optional[
|
|
72
|
+
def find_local_locations_async(cls, search_term: str, search_area: typing.Optional[windows_devices_geolocation.Geocircle], local_category: str, max_results: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[LocalLocationFinderResult]: ...
|
|
74
73
|
|
|
75
74
|
@typing.final
|
|
76
75
|
class LocalLocationFinder(winrt.system.Object, metaclass=LocalLocationFinder_Static):
|
|
77
|
-
|
|
78
|
-
def _from(obj: winrt.system.Object, /) -> LocalLocationFinder: ...
|
|
76
|
+
pass
|
|
79
77
|
|
|
80
78
|
@typing.final
|
|
81
79
|
class LocalLocationFinderResult(winrt.system.Object):
|
|
82
80
|
@staticmethod
|
|
83
81
|
def _from(obj: winrt.system.Object, /) -> LocalLocationFinderResult: ...
|
|
84
82
|
@_property
|
|
85
|
-
def local_locations(self) -> typing.Optional[
|
|
83
|
+
def local_locations(self) -> typing.Optional[windows_foundation_collections.IVectorView[LocalLocation]]: ...
|
|
86
84
|
@_property
|
|
87
85
|
def status(self) -> LocalLocationFinderStatus: ...
|
|
88
86
|
|
|
@@ -91,7 +89,7 @@ class LocalLocationHoursOfOperationItem(winrt.system.Object):
|
|
|
91
89
|
@staticmethod
|
|
92
90
|
def _from(obj: winrt.system.Object, /) -> LocalLocationHoursOfOperationItem: ...
|
|
93
91
|
@_property
|
|
94
|
-
def day(self) ->
|
|
92
|
+
def day(self) -> windows_globalization.DayOfWeek: ...
|
|
95
93
|
@_property
|
|
96
94
|
def span(self) -> datetime.timedelta: ...
|
|
97
95
|
@_property
|
|
@@ -110,10 +108,9 @@ class LocalLocationRatingInfo(winrt.system.Object):
|
|
|
110
108
|
|
|
111
109
|
@typing.final
|
|
112
110
|
class PlaceInfoHelper_Static(type):
|
|
113
|
-
def create_from_local_location(cls, location: typing.Optional[LocalLocation], /) -> typing.Optional[
|
|
111
|
+
def create_from_local_location(cls, location: typing.Optional[LocalLocation], /) -> typing.Optional[windows_services_maps.PlaceInfo]: ...
|
|
114
112
|
|
|
115
113
|
@typing.final
|
|
116
114
|
class PlaceInfoHelper(winrt.system.Object, metaclass=PlaceInfoHelper_Static):
|
|
117
|
-
|
|
118
|
-
def _from(obj: winrt.system.Object, /) -> PlaceInfoHelper: ...
|
|
115
|
+
pass
|
|
119
116
|
|
winrt_windows_services_maps_localsearch-2.1.0/winrt/windows/services/maps/localsearch/py.typed
ADDED
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Services.Maps.LocalSearch
|
|
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,13 @@ 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.Devices.Geolocation[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"
|
|
20
|
+
Requires-Dist: winrt-Windows.Globalization[all]==2.1.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Services.Maps[all]==2.1.0; extra == "all"
|
|
16
22
|
|
|
17
23
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
18
24
|
|
|
@@ -7,6 +7,7 @@ requirements.txt
|
|
|
7
7
|
setup.py
|
|
8
8
|
winrt/_winrt_windows_services_maps_localsearch.pyi
|
|
9
9
|
winrt/windows/services/maps/localsearch/__init__.py
|
|
10
|
+
winrt/windows/services/maps/localsearch/py.typed
|
|
10
11
|
winrt_Windows.Services.Maps.LocalSearch.egg-info/PKG-INFO
|
|
11
12
|
winrt_Windows.Services.Maps.LocalSearch.egg-info/SOURCES.txt
|
|
12
13
|
winrt_Windows.Services.Maps.LocalSearch.egg-info/dependency_links.txt
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.2
|
|
2
|
-
|
|
3
|
-
winrt-Windows.Devices.Geolocation[all]==2.0.0-beta.2
|
|
4
|
-
winrt-Windows.Foundation[all]==2.0.0-beta.2
|
|
5
|
-
winrt-Windows.Foundation.Collections[all]==2.0.0-beta.2
|
|
6
|
-
winrt-Windows.Globalization[all]==2.0.0-beta.2
|
|
7
|
-
winrt-Windows.Services.Maps[all]==2.0.0-beta.2
|
|
@@ -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_services_maps_localsearch",
|
|
10
|
-
sources=["py.Windows.Services.Maps.LocalSearch.cpp"],
|
|
11
|
-
include_dirs=get_include_dirs(),
|
|
12
|
-
extra_compile_args=["/std:c++20", "/permissive-"],
|
|
13
|
-
libraries=["windowsapp"],
|
|
14
|
-
)
|
|
15
|
-
],
|
|
16
|
-
)
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
winrt-runtime==2.0.0-beta.2
|
|
2
|
-
|
|
3
|
-
[all]
|
|
4
|
-
winrt-Windows.Devices.Geolocation[all]==2.0.0-beta.2
|
|
5
|
-
winrt-Windows.Foundation[all]==2.0.0-beta.2
|
|
6
|
-
winrt-Windows.Foundation.Collections[all]==2.0.0-beta.2
|
|
7
|
-
winrt-Windows.Globalization[all]==2.0.0-beta.2
|
|
8
|
-
winrt-Windows.Services.Maps[all]==2.0.0-beta.2
|
|
File without changes
|
|
File without changes
|
|
File without changes
|