winrt-Windows.Storage.Provider 2.0.0b1__tar.gz → 2.0.1__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.
Files changed (21) hide show
  1. {winrt-Windows.Storage.Provider-2.0.0b1 → winrt_windows_storage_provider-2.0.1}/PKG-INFO +9 -2
  2. winrt_windows_storage_provider-2.0.1/all-requirements.txt +7 -0
  3. {winrt-Windows.Storage.Provider-2.0.0b1 → winrt_windows_storage_provider-2.0.1}/py.Windows.Storage.Provider.cpp +772 -1
  4. {winrt-Windows.Storage.Provider-2.0.0b1 → winrt_windows_storage_provider-2.0.1}/pyproject.toml +7 -4
  5. winrt_windows_storage_provider-2.0.1/pywinrt-version.txt +1 -0
  6. {winrt-Windows.Storage.Provider-2.0.0b1 → winrt_windows_storage_provider-2.0.1}/requirements.txt +2 -2
  7. winrt_windows_storage_provider-2.0.1/setup.py +31 -0
  8. {winrt-Windows.Storage.Provider-2.0.0b1 → winrt_windows_storage_provider-2.0.1}/winrt/_winrt_windows_storage_provider.pyi +81 -2
  9. {winrt-Windows.Storage.Provider-2.0.0b1 → winrt_windows_storage_provider-2.0.1}/winrt/windows/storage/provider/__init__.py +21 -1
  10. winrt_windows_storage_provider-2.0.1/winrt/windows/storage/provider/py.typed +0 -0
  11. {winrt-Windows.Storage.Provider-2.0.0b1 → winrt_windows_storage_provider-2.0.1}/winrt_Windows.Storage.Provider.egg-info/PKG-INFO +9 -2
  12. {winrt-Windows.Storage.Provider-2.0.0b1 → winrt_windows_storage_provider-2.0.1}/winrt_Windows.Storage.Provider.egg-info/SOURCES.txt +1 -0
  13. winrt_windows_storage_provider-2.0.1/winrt_Windows.Storage.Provider.egg-info/requires.txt +8 -0
  14. winrt-Windows.Storage.Provider-2.0.0b1/all-requirements.txt +0 -7
  15. winrt-Windows.Storage.Provider-2.0.0b1/pywinrt-version.txt +0 -1
  16. winrt-Windows.Storage.Provider-2.0.0b1/setup.py +0 -17
  17. winrt-Windows.Storage.Provider-2.0.0b1/winrt_Windows.Storage.Provider.egg-info/requires.txt +0 -8
  18. {winrt-Windows.Storage.Provider-2.0.0b1 → winrt_windows_storage_provider-2.0.1}/README.md +0 -0
  19. {winrt-Windows.Storage.Provider-2.0.0b1 → winrt_windows_storage_provider-2.0.1}/setup.cfg +0 -0
  20. {winrt-Windows.Storage.Provider-2.0.0b1 → winrt_windows_storage_provider-2.0.1}/winrt_Windows.Storage.Provider.egg-info/dependency_links.txt +0 -0
  21. {winrt-Windows.Storage.Provider-2.0.0b1 → winrt_windows_storage_provider-2.0.1}/winrt_Windows.Storage.Provider.egg-info/top_level.txt +0 -0
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Storage.Provider
3
- Version: 2.0.0b1
3
+ Version: 2.0.1
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
- Project-URL: Repository, https://github.com/pywrint/pywrinrt
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
8
  Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
9
  Classifier: Operating System :: Microsoft :: Windows
9
10
  Classifier: Programming Language :: Python :: 3
@@ -11,7 +12,13 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
11
12
  Classifier: Intended Audience :: Developers
12
13
  Requires-Python: <3.13,>=3.9
13
14
  Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime==2.0.1
14
16
  Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
19
+ Requires-Dist: winrt-Windows.Storage[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
21
+ Requires-Dist: winrt-Windows.UI[all]==2.0.1; extra == "all"
15
22
 
16
23
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
24
 
@@ -0,0 +1,7 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
+
3
+ winrt-Windows.Foundation[all]==2.0.1
4
+ winrt-Windows.Foundation.Collections[all]==2.0.1
5
+ winrt-Windows.Storage[all]==2.0.1
6
+ winrt-Windows.Storage.Streams[all]==2.0.1
7
+ winrt-Windows.UI[all]==2.0.1
@@ -1,4 +1,4 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  #include "py.Windows.Storage.Provider.h"
4
4
 
@@ -1925,6 +1925,509 @@ namespace py::cpp::Windows::Storage::Provider
1925
1925
  _type_slots_StorageProviderItemPropertyDefinition
1926
1926
  };
1927
1927
 
1928
+ // ----- StorageProviderKnownFolderEntry class --------------------
1929
+
1930
+ static PyObject* _new_StorageProviderKnownFolderEntry(PyTypeObject* type, PyObject* args, PyObject* kwds) noexcept
1931
+ {
1932
+ if (kwds != nullptr)
1933
+ {
1934
+ py::set_invalid_kwd_args_error();
1935
+ return nullptr;
1936
+ }
1937
+
1938
+ auto arg_count = PyTuple_Size(args);
1939
+ if (arg_count == 0)
1940
+ {
1941
+ try
1942
+ {
1943
+ winrt::Windows::Storage::Provider::StorageProviderKnownFolderEntry instance{ };
1944
+ return py::wrap(instance, type);
1945
+ }
1946
+ catch (...)
1947
+ {
1948
+ py::to_PyErr();
1949
+ return nullptr;
1950
+ }
1951
+ }
1952
+ else
1953
+ {
1954
+ py::set_invalid_arg_count_error(arg_count);
1955
+ return nullptr;
1956
+ }
1957
+ }
1958
+
1959
+ static void _dealloc_StorageProviderKnownFolderEntry(py::wrapper::Windows::Storage::Provider::StorageProviderKnownFolderEntry* self) noexcept
1960
+ {
1961
+ auto tp = Py_TYPE(self);
1962
+ std::destroy_at(&self->obj);
1963
+ tp->tp_free(self);
1964
+ Py_DECREF(tp);
1965
+ }
1966
+
1967
+ static PyObject* StorageProviderKnownFolderEntry_get_Status(py::wrapper::Windows::Storage::Provider::StorageProviderKnownFolderEntry* self, void* /*unused*/) noexcept
1968
+ {
1969
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Storage.Provider.StorageProviderKnownFolderEntry", L"Status"))
1970
+ {
1971
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1972
+ return nullptr;
1973
+ }
1974
+
1975
+ try
1976
+ {
1977
+ return py::convert(self->obj.Status());
1978
+ }
1979
+ catch (...)
1980
+ {
1981
+ py::to_PyErr();
1982
+ return nullptr;
1983
+ }
1984
+ }
1985
+
1986
+ static int StorageProviderKnownFolderEntry_put_Status(py::wrapper::Windows::Storage::Provider::StorageProviderKnownFolderEntry* self, PyObject* arg, void* /*unused*/) noexcept
1987
+ {
1988
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Storage.Provider.StorageProviderKnownFolderEntry", L"Status"))
1989
+ {
1990
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
1991
+ return -1;
1992
+ }
1993
+
1994
+ if (arg == nullptr)
1995
+ {
1996
+ PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
1997
+ return -1;
1998
+ }
1999
+
2000
+ try
2001
+ {
2002
+ auto param0 = py::convert_to<winrt::Windows::Storage::Provider::StorageProviderKnownFolderSyncStatus>(arg);
2003
+
2004
+ self->obj.Status(param0);
2005
+ return 0;
2006
+ }
2007
+ catch (...)
2008
+ {
2009
+ py::to_PyErr();
2010
+ return -1;
2011
+ }
2012
+ }
2013
+
2014
+ static PyObject* StorageProviderKnownFolderEntry_get_KnownFolderId(py::wrapper::Windows::Storage::Provider::StorageProviderKnownFolderEntry* self, void* /*unused*/) noexcept
2015
+ {
2016
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Storage.Provider.StorageProviderKnownFolderEntry", L"KnownFolderId"))
2017
+ {
2018
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2019
+ return nullptr;
2020
+ }
2021
+
2022
+ try
2023
+ {
2024
+ return py::convert(self->obj.KnownFolderId());
2025
+ }
2026
+ catch (...)
2027
+ {
2028
+ py::to_PyErr();
2029
+ return nullptr;
2030
+ }
2031
+ }
2032
+
2033
+ static int StorageProviderKnownFolderEntry_put_KnownFolderId(py::wrapper::Windows::Storage::Provider::StorageProviderKnownFolderEntry* self, PyObject* arg, void* /*unused*/) noexcept
2034
+ {
2035
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Storage.Provider.StorageProviderKnownFolderEntry", L"KnownFolderId"))
2036
+ {
2037
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2038
+ return -1;
2039
+ }
2040
+
2041
+ if (arg == nullptr)
2042
+ {
2043
+ PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
2044
+ return -1;
2045
+ }
2046
+
2047
+ try
2048
+ {
2049
+ auto param0 = py::convert_to<winrt::guid>(arg);
2050
+
2051
+ self->obj.KnownFolderId(param0);
2052
+ return 0;
2053
+ }
2054
+ catch (...)
2055
+ {
2056
+ py::to_PyErr();
2057
+ return -1;
2058
+ }
2059
+ }
2060
+
2061
+ static PyObject* _assign_array_StorageProviderKnownFolderEntry(PyObject* /*unused*/, PyObject* arg) noexcept
2062
+ {
2063
+ auto array = std::make_unique<py::ComArray<winrt::Windows::Storage::Provider::StorageProviderKnownFolderEntry>>();
2064
+ if (!py::cpp::_winrt::Array_Assign(arg, std::move(array)))
2065
+ {
2066
+ return nullptr;
2067
+ }
2068
+ Py_RETURN_NONE;
2069
+ }
2070
+
2071
+ static PyObject* _from_StorageProviderKnownFolderEntry(PyObject* /*unused*/, PyObject* arg) noexcept
2072
+ {
2073
+ try
2074
+ {
2075
+ auto return_value = py::convert_to<winrt::Windows::Foundation::IInspectable>(arg);
2076
+ return py::convert(return_value.as<winrt::Windows::Storage::Provider::StorageProviderKnownFolderEntry>());
2077
+ }
2078
+ catch (...)
2079
+ {
2080
+ py::to_PyErr();
2081
+ return nullptr;
2082
+ }
2083
+ }
2084
+
2085
+ static PyMethodDef _methods_StorageProviderKnownFolderEntry[] = {
2086
+ { "_assign_array_", _assign_array_StorageProviderKnownFolderEntry, METH_O | METH_STATIC, nullptr },
2087
+ { "_from", reinterpret_cast<PyCFunction>(_from_StorageProviderKnownFolderEntry), METH_O | METH_STATIC, nullptr },
2088
+ { }
2089
+ };
2090
+
2091
+ static PyGetSetDef _getset_StorageProviderKnownFolderEntry[] = {
2092
+ { "status", reinterpret_cast<getter>(StorageProviderKnownFolderEntry_get_Status), reinterpret_cast<setter>(StorageProviderKnownFolderEntry_put_Status), nullptr, nullptr },
2093
+ { "known_folder_id", reinterpret_cast<getter>(StorageProviderKnownFolderEntry_get_KnownFolderId), reinterpret_cast<setter>(StorageProviderKnownFolderEntry_put_KnownFolderId), nullptr, nullptr },
2094
+ { }
2095
+ };
2096
+
2097
+ static PyType_Slot _type_slots_StorageProviderKnownFolderEntry[] =
2098
+ {
2099
+ { Py_tp_new, reinterpret_cast<void*>(_new_StorageProviderKnownFolderEntry) },
2100
+ { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_StorageProviderKnownFolderEntry) },
2101
+ { Py_tp_methods, reinterpret_cast<void*>(_methods_StorageProviderKnownFolderEntry) },
2102
+ { Py_tp_getset, reinterpret_cast<void*>(_getset_StorageProviderKnownFolderEntry) },
2103
+ { },
2104
+ };
2105
+
2106
+ static PyType_Spec type_spec_StorageProviderKnownFolderEntry =
2107
+ {
2108
+ "winrt._winrt_windows_storage_provider.StorageProviderKnownFolderEntry",
2109
+ sizeof(py::wrapper::Windows::Storage::Provider::StorageProviderKnownFolderEntry),
2110
+ 0,
2111
+ Py_TPFLAGS_DEFAULT,
2112
+ _type_slots_StorageProviderKnownFolderEntry
2113
+ };
2114
+
2115
+ // ----- StorageProviderKnownFolderSyncInfo class --------------------
2116
+
2117
+ static PyObject* _new_StorageProviderKnownFolderSyncInfo(PyTypeObject* type, PyObject* args, PyObject* kwds) noexcept
2118
+ {
2119
+ if (kwds != nullptr)
2120
+ {
2121
+ py::set_invalid_kwd_args_error();
2122
+ return nullptr;
2123
+ }
2124
+
2125
+ auto arg_count = PyTuple_Size(args);
2126
+ if (arg_count == 0)
2127
+ {
2128
+ try
2129
+ {
2130
+ winrt::Windows::Storage::Provider::StorageProviderKnownFolderSyncInfo instance{ };
2131
+ return py::wrap(instance, type);
2132
+ }
2133
+ catch (...)
2134
+ {
2135
+ py::to_PyErr();
2136
+ return nullptr;
2137
+ }
2138
+ }
2139
+ else
2140
+ {
2141
+ py::set_invalid_arg_count_error(arg_count);
2142
+ return nullptr;
2143
+ }
2144
+ }
2145
+
2146
+ static void _dealloc_StorageProviderKnownFolderSyncInfo(py::wrapper::Windows::Storage::Provider::StorageProviderKnownFolderSyncInfo* self) noexcept
2147
+ {
2148
+ auto tp = Py_TYPE(self);
2149
+ std::destroy_at(&self->obj);
2150
+ tp->tp_free(self);
2151
+ Py_DECREF(tp);
2152
+ }
2153
+
2154
+ static PyObject* StorageProviderKnownFolderSyncInfo_get_SyncRequested(py::wrapper::Windows::Storage::Provider::StorageProviderKnownFolderSyncInfo* self, void* /*unused*/) noexcept
2155
+ {
2156
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Storage.Provider.StorageProviderKnownFolderSyncInfo", L"SyncRequested"))
2157
+ {
2158
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2159
+ return nullptr;
2160
+ }
2161
+
2162
+ try
2163
+ {
2164
+ return py::convert(self->obj.SyncRequested());
2165
+ }
2166
+ catch (...)
2167
+ {
2168
+ py::to_PyErr();
2169
+ return nullptr;
2170
+ }
2171
+ }
2172
+
2173
+ static int StorageProviderKnownFolderSyncInfo_put_SyncRequested(py::wrapper::Windows::Storage::Provider::StorageProviderKnownFolderSyncInfo* self, PyObject* arg, void* /*unused*/) noexcept
2174
+ {
2175
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Storage.Provider.StorageProviderKnownFolderSyncInfo", L"SyncRequested"))
2176
+ {
2177
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2178
+ return -1;
2179
+ }
2180
+
2181
+ if (arg == nullptr)
2182
+ {
2183
+ PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
2184
+ return -1;
2185
+ }
2186
+
2187
+ try
2188
+ {
2189
+ auto param0 = py::convert_to<winrt::Windows::Storage::Provider::StorageProviderKnownFolderSyncRequestedHandler>(arg);
2190
+
2191
+ self->obj.SyncRequested(param0);
2192
+ return 0;
2193
+ }
2194
+ catch (...)
2195
+ {
2196
+ py::to_PyErr();
2197
+ return -1;
2198
+ }
2199
+ }
2200
+
2201
+ static PyObject* StorageProviderKnownFolderSyncInfo_get_ProviderDisplayName(py::wrapper::Windows::Storage::Provider::StorageProviderKnownFolderSyncInfo* self, void* /*unused*/) noexcept
2202
+ {
2203
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Storage.Provider.StorageProviderKnownFolderSyncInfo", L"ProviderDisplayName"))
2204
+ {
2205
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2206
+ return nullptr;
2207
+ }
2208
+
2209
+ try
2210
+ {
2211
+ return py::convert(self->obj.ProviderDisplayName());
2212
+ }
2213
+ catch (...)
2214
+ {
2215
+ py::to_PyErr();
2216
+ return nullptr;
2217
+ }
2218
+ }
2219
+
2220
+ static int StorageProviderKnownFolderSyncInfo_put_ProviderDisplayName(py::wrapper::Windows::Storage::Provider::StorageProviderKnownFolderSyncInfo* self, PyObject* arg, void* /*unused*/) noexcept
2221
+ {
2222
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Storage.Provider.StorageProviderKnownFolderSyncInfo", L"ProviderDisplayName"))
2223
+ {
2224
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2225
+ return -1;
2226
+ }
2227
+
2228
+ if (arg == nullptr)
2229
+ {
2230
+ PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
2231
+ return -1;
2232
+ }
2233
+
2234
+ try
2235
+ {
2236
+ auto param0 = py::convert_to<winrt::hstring>(arg);
2237
+
2238
+ self->obj.ProviderDisplayName(param0);
2239
+ return 0;
2240
+ }
2241
+ catch (...)
2242
+ {
2243
+ py::to_PyErr();
2244
+ return -1;
2245
+ }
2246
+ }
2247
+
2248
+ static PyObject* StorageProviderKnownFolderSyncInfo_get_KnownFolderEntries(py::wrapper::Windows::Storage::Provider::StorageProviderKnownFolderSyncInfo* self, void* /*unused*/) noexcept
2249
+ {
2250
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Storage.Provider.StorageProviderKnownFolderSyncInfo", L"KnownFolderEntries"))
2251
+ {
2252
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2253
+ return nullptr;
2254
+ }
2255
+
2256
+ try
2257
+ {
2258
+ return py::convert(self->obj.KnownFolderEntries());
2259
+ }
2260
+ catch (...)
2261
+ {
2262
+ py::to_PyErr();
2263
+ return nullptr;
2264
+ }
2265
+ }
2266
+
2267
+ static PyObject* _assign_array_StorageProviderKnownFolderSyncInfo(PyObject* /*unused*/, PyObject* arg) noexcept
2268
+ {
2269
+ auto array = std::make_unique<py::ComArray<winrt::Windows::Storage::Provider::StorageProviderKnownFolderSyncInfo>>();
2270
+ if (!py::cpp::_winrt::Array_Assign(arg, std::move(array)))
2271
+ {
2272
+ return nullptr;
2273
+ }
2274
+ Py_RETURN_NONE;
2275
+ }
2276
+
2277
+ static PyObject* _from_StorageProviderKnownFolderSyncInfo(PyObject* /*unused*/, PyObject* arg) noexcept
2278
+ {
2279
+ try
2280
+ {
2281
+ auto return_value = py::convert_to<winrt::Windows::Foundation::IInspectable>(arg);
2282
+ return py::convert(return_value.as<winrt::Windows::Storage::Provider::StorageProviderKnownFolderSyncInfo>());
2283
+ }
2284
+ catch (...)
2285
+ {
2286
+ py::to_PyErr();
2287
+ return nullptr;
2288
+ }
2289
+ }
2290
+
2291
+ static PyMethodDef _methods_StorageProviderKnownFolderSyncInfo[] = {
2292
+ { "_assign_array_", _assign_array_StorageProviderKnownFolderSyncInfo, METH_O | METH_STATIC, nullptr },
2293
+ { "_from", reinterpret_cast<PyCFunction>(_from_StorageProviderKnownFolderSyncInfo), METH_O | METH_STATIC, nullptr },
2294
+ { }
2295
+ };
2296
+
2297
+ static PyGetSetDef _getset_StorageProviderKnownFolderSyncInfo[] = {
2298
+ { "sync_requested", reinterpret_cast<getter>(StorageProviderKnownFolderSyncInfo_get_SyncRequested), reinterpret_cast<setter>(StorageProviderKnownFolderSyncInfo_put_SyncRequested), nullptr, nullptr },
2299
+ { "provider_display_name", reinterpret_cast<getter>(StorageProviderKnownFolderSyncInfo_get_ProviderDisplayName), reinterpret_cast<setter>(StorageProviderKnownFolderSyncInfo_put_ProviderDisplayName), nullptr, nullptr },
2300
+ { "known_folder_entries", reinterpret_cast<getter>(StorageProviderKnownFolderSyncInfo_get_KnownFolderEntries), nullptr, nullptr, nullptr },
2301
+ { }
2302
+ };
2303
+
2304
+ static PyType_Slot _type_slots_StorageProviderKnownFolderSyncInfo[] =
2305
+ {
2306
+ { Py_tp_new, reinterpret_cast<void*>(_new_StorageProviderKnownFolderSyncInfo) },
2307
+ { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_StorageProviderKnownFolderSyncInfo) },
2308
+ { Py_tp_methods, reinterpret_cast<void*>(_methods_StorageProviderKnownFolderSyncInfo) },
2309
+ { Py_tp_getset, reinterpret_cast<void*>(_getset_StorageProviderKnownFolderSyncInfo) },
2310
+ { },
2311
+ };
2312
+
2313
+ static PyType_Spec type_spec_StorageProviderKnownFolderSyncInfo =
2314
+ {
2315
+ "winrt._winrt_windows_storage_provider.StorageProviderKnownFolderSyncInfo",
2316
+ sizeof(py::wrapper::Windows::Storage::Provider::StorageProviderKnownFolderSyncInfo),
2317
+ 0,
2318
+ Py_TPFLAGS_DEFAULT,
2319
+ _type_slots_StorageProviderKnownFolderSyncInfo
2320
+ };
2321
+
2322
+ // ----- StorageProviderKnownFolderSyncRequestArgs class --------------------
2323
+
2324
+ static PyObject* _new_StorageProviderKnownFolderSyncRequestArgs(PyTypeObject* /*unused*/, PyObject* /*unused*/, PyObject* /*unused*/) noexcept
2325
+ {
2326
+ static_assert(py::py_type<winrt::Windows::Storage::Provider::StorageProviderKnownFolderSyncRequestArgs>::type_name);
2327
+ py::set_invalid_activation_error(py::py_type<winrt::Windows::Storage::Provider::StorageProviderKnownFolderSyncRequestArgs>::type_name);
2328
+ return nullptr;
2329
+ }
2330
+
2331
+ static void _dealloc_StorageProviderKnownFolderSyncRequestArgs(py::wrapper::Windows::Storage::Provider::StorageProviderKnownFolderSyncRequestArgs* self) noexcept
2332
+ {
2333
+ auto tp = Py_TYPE(self);
2334
+ std::destroy_at(&self->obj);
2335
+ tp->tp_free(self);
2336
+ Py_DECREF(tp);
2337
+ }
2338
+
2339
+ static PyObject* StorageProviderKnownFolderSyncRequestArgs_get_KnownFolders(py::wrapper::Windows::Storage::Provider::StorageProviderKnownFolderSyncRequestArgs* self, void* /*unused*/) noexcept
2340
+ {
2341
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Storage.Provider.StorageProviderKnownFolderSyncRequestArgs", L"KnownFolders"))
2342
+ {
2343
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2344
+ return nullptr;
2345
+ }
2346
+
2347
+ try
2348
+ {
2349
+ return py::convert(self->obj.KnownFolders());
2350
+ }
2351
+ catch (...)
2352
+ {
2353
+ py::to_PyErr();
2354
+ return nullptr;
2355
+ }
2356
+ }
2357
+
2358
+ static PyObject* StorageProviderKnownFolderSyncRequestArgs_get_Source(py::wrapper::Windows::Storage::Provider::StorageProviderKnownFolderSyncRequestArgs* self, void* /*unused*/) noexcept
2359
+ {
2360
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Storage.Provider.StorageProviderKnownFolderSyncRequestArgs", L"Source"))
2361
+ {
2362
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
2363
+ return nullptr;
2364
+ }
2365
+
2366
+ try
2367
+ {
2368
+ return py::convert(self->obj.Source());
2369
+ }
2370
+ catch (...)
2371
+ {
2372
+ py::to_PyErr();
2373
+ return nullptr;
2374
+ }
2375
+ }
2376
+
2377
+ static PyObject* _assign_array_StorageProviderKnownFolderSyncRequestArgs(PyObject* /*unused*/, PyObject* arg) noexcept
2378
+ {
2379
+ auto array = std::make_unique<py::ComArray<winrt::Windows::Storage::Provider::StorageProviderKnownFolderSyncRequestArgs>>();
2380
+ if (!py::cpp::_winrt::Array_Assign(arg, std::move(array)))
2381
+ {
2382
+ return nullptr;
2383
+ }
2384
+ Py_RETURN_NONE;
2385
+ }
2386
+
2387
+ static PyObject* _from_StorageProviderKnownFolderSyncRequestArgs(PyObject* /*unused*/, PyObject* arg) noexcept
2388
+ {
2389
+ try
2390
+ {
2391
+ auto return_value = py::convert_to<winrt::Windows::Foundation::IInspectable>(arg);
2392
+ return py::convert(return_value.as<winrt::Windows::Storage::Provider::StorageProviderKnownFolderSyncRequestArgs>());
2393
+ }
2394
+ catch (...)
2395
+ {
2396
+ py::to_PyErr();
2397
+ return nullptr;
2398
+ }
2399
+ }
2400
+
2401
+ static PyMethodDef _methods_StorageProviderKnownFolderSyncRequestArgs[] = {
2402
+ { "_assign_array_", _assign_array_StorageProviderKnownFolderSyncRequestArgs, METH_O | METH_STATIC, nullptr },
2403
+ { "_from", reinterpret_cast<PyCFunction>(_from_StorageProviderKnownFolderSyncRequestArgs), METH_O | METH_STATIC, nullptr },
2404
+ { }
2405
+ };
2406
+
2407
+ static PyGetSetDef _getset_StorageProviderKnownFolderSyncRequestArgs[] = {
2408
+ { "known_folders", reinterpret_cast<getter>(StorageProviderKnownFolderSyncRequestArgs_get_KnownFolders), nullptr, nullptr, nullptr },
2409
+ { "source", reinterpret_cast<getter>(StorageProviderKnownFolderSyncRequestArgs_get_Source), nullptr, nullptr, nullptr },
2410
+ { }
2411
+ };
2412
+
2413
+ static PyType_Slot _type_slots_StorageProviderKnownFolderSyncRequestArgs[] =
2414
+ {
2415
+ { Py_tp_new, reinterpret_cast<void*>(_new_StorageProviderKnownFolderSyncRequestArgs) },
2416
+ { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_StorageProviderKnownFolderSyncRequestArgs) },
2417
+ { Py_tp_methods, reinterpret_cast<void*>(_methods_StorageProviderKnownFolderSyncRequestArgs) },
2418
+ { Py_tp_getset, reinterpret_cast<void*>(_getset_StorageProviderKnownFolderSyncRequestArgs) },
2419
+ { },
2420
+ };
2421
+
2422
+ static PyType_Spec type_spec_StorageProviderKnownFolderSyncRequestArgs =
2423
+ {
2424
+ "winrt._winrt_windows_storage_provider.StorageProviderKnownFolderSyncRequestArgs",
2425
+ sizeof(py::wrapper::Windows::Storage::Provider::StorageProviderKnownFolderSyncRequestArgs),
2426
+ 0,
2427
+ Py_TPFLAGS_DEFAULT,
2428
+ _type_slots_StorageProviderKnownFolderSyncRequestArgs
2429
+ };
2430
+
1928
2431
  // ----- StorageProviderMoreInfoUI class --------------------
1929
2432
 
1930
2433
  static PyObject* _new_StorageProviderMoreInfoUI(PyTypeObject* type, PyObject* args, PyObject* kwds) noexcept
@@ -4119,6 +4622,249 @@ namespace py::cpp::Windows::Storage::Provider
4119
4622
  _type_slots_IStorageProviderItemPropertySource
4120
4623
  };
4121
4624
 
4625
+ // ----- IStorageProviderKnownFolderSyncInfoSource interface --------------------
4626
+
4627
+ static PyObject* _new_IStorageProviderKnownFolderSyncInfoSource(PyTypeObject* /*unused*/, PyObject* /*unused*/, PyObject* /*unused*/) noexcept
4628
+ {
4629
+ static_assert(py::py_type<winrt::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfoSource>::type_name);
4630
+ py::set_invalid_activation_error(py::py_type<winrt::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfoSource>::type_name);
4631
+ return nullptr;
4632
+ }
4633
+
4634
+ static void _dealloc_IStorageProviderKnownFolderSyncInfoSource(py::wrapper::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfoSource* self) noexcept
4635
+ {
4636
+ auto tp = Py_TYPE(self);
4637
+ std::destroy_at(&self->obj);
4638
+ tp->tp_free(self);
4639
+ Py_DECREF(tp);
4640
+ }
4641
+
4642
+ static PyObject* IStorageProviderKnownFolderSyncInfoSource_GetKnownFolderSyncInfo(py::wrapper::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfoSource* self, PyObject* args) noexcept
4643
+ {
4644
+ auto arg_count = PyTuple_Size(args);
4645
+
4646
+ if (arg_count == 0)
4647
+ {
4648
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Storage.Provider.IStorageProviderKnownFolderSyncInfoSource", L"GetKnownFolderSyncInfo", 0))
4649
+ {
4650
+ py::set_arg_count_version_error(0);
4651
+ return nullptr;
4652
+ }
4653
+
4654
+ try
4655
+ {
4656
+ return py::convert(self->obj.GetKnownFolderSyncInfo());
4657
+ }
4658
+ catch (...)
4659
+ {
4660
+ py::to_PyErr();
4661
+ return nullptr;
4662
+ }
4663
+ }
4664
+ else
4665
+ {
4666
+ py::set_invalid_arg_count_error(arg_count);
4667
+ return nullptr;
4668
+ }
4669
+ }
4670
+
4671
+ static PyObject* IStorageProviderKnownFolderSyncInfoSource_add_KnownFolderSyncInfoChanged(py::wrapper::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfoSource* self, PyObject* arg) noexcept
4672
+ {
4673
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Storage.Provider.IStorageProviderKnownFolderSyncInfoSource", L"KnownFolderSyncInfoChanged"))
4674
+ {
4675
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
4676
+ return nullptr;
4677
+ }
4678
+
4679
+ try
4680
+ {
4681
+ auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfoSource, winrt::Windows::Foundation::IInspectable>>(arg);
4682
+
4683
+ return py::convert(self->obj.KnownFolderSyncInfoChanged(param0));
4684
+ }
4685
+ catch (...)
4686
+ {
4687
+ py::to_PyErr();
4688
+ return nullptr;
4689
+ }
4690
+ }
4691
+
4692
+ static PyObject* IStorageProviderKnownFolderSyncInfoSource_remove_KnownFolderSyncInfoChanged(py::wrapper::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfoSource* self, PyObject* arg) noexcept
4693
+ {
4694
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Storage.Provider.IStorageProviderKnownFolderSyncInfoSource", L"KnownFolderSyncInfoChanged"))
4695
+ {
4696
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
4697
+ return nullptr;
4698
+ }
4699
+
4700
+ try
4701
+ {
4702
+ auto param0 = py::convert_to<winrt::event_token>(arg);
4703
+
4704
+ self->obj.KnownFolderSyncInfoChanged(param0);
4705
+ Py_RETURN_NONE;
4706
+ }
4707
+ catch (...)
4708
+ {
4709
+ py::to_PyErr();
4710
+ return nullptr;
4711
+ }
4712
+ }
4713
+
4714
+ static PyObject* _assign_array_IStorageProviderKnownFolderSyncInfoSource(PyObject* /*unused*/, PyObject* arg) noexcept
4715
+ {
4716
+ auto array = std::make_unique<py::ComArray<winrt::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfoSource>>();
4717
+ if (!py::cpp::_winrt::Array_Assign(arg, std::move(array)))
4718
+ {
4719
+ return nullptr;
4720
+ }
4721
+ Py_RETURN_NONE;
4722
+ }
4723
+
4724
+ static PyObject* _from_IStorageProviderKnownFolderSyncInfoSource(PyObject* /*unused*/, PyObject* arg) noexcept
4725
+ {
4726
+ try
4727
+ {
4728
+ auto return_value = py::convert_to<winrt::Windows::Foundation::IInspectable>(arg);
4729
+ return py::convert(return_value.as<winrt::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfoSource>());
4730
+ }
4731
+ catch (...)
4732
+ {
4733
+ py::to_PyErr();
4734
+ return nullptr;
4735
+ }
4736
+ }
4737
+
4738
+ static PyMethodDef _methods_IStorageProviderKnownFolderSyncInfoSource[] = {
4739
+ { "get_known_folder_sync_info", reinterpret_cast<PyCFunction>(IStorageProviderKnownFolderSyncInfoSource_GetKnownFolderSyncInfo), METH_VARARGS, nullptr },
4740
+ { "add_known_folder_sync_info_changed", reinterpret_cast<PyCFunction>(IStorageProviderKnownFolderSyncInfoSource_add_KnownFolderSyncInfoChanged), METH_O, nullptr },
4741
+ { "remove_known_folder_sync_info_changed", reinterpret_cast<PyCFunction>(IStorageProviderKnownFolderSyncInfoSource_remove_KnownFolderSyncInfoChanged), METH_O, nullptr },
4742
+ { "_assign_array_", _assign_array_IStorageProviderKnownFolderSyncInfoSource, METH_O | METH_STATIC, nullptr },
4743
+ { "_from", reinterpret_cast<PyCFunction>(_from_IStorageProviderKnownFolderSyncInfoSource), METH_O | METH_STATIC, nullptr },
4744
+ { }
4745
+ };
4746
+
4747
+ static PyGetSetDef _getset_IStorageProviderKnownFolderSyncInfoSource[] = {
4748
+ { }
4749
+ };
4750
+
4751
+ static PyType_Slot _type_slots_IStorageProviderKnownFolderSyncInfoSource[] =
4752
+ {
4753
+ { Py_tp_new, reinterpret_cast<void*>(_new_IStorageProviderKnownFolderSyncInfoSource) },
4754
+ { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_IStorageProviderKnownFolderSyncInfoSource) },
4755
+ { Py_tp_methods, reinterpret_cast<void*>(_methods_IStorageProviderKnownFolderSyncInfoSource) },
4756
+ { Py_tp_getset, reinterpret_cast<void*>(_getset_IStorageProviderKnownFolderSyncInfoSource) },
4757
+ { },
4758
+ };
4759
+
4760
+ static PyType_Spec type_spec_IStorageProviderKnownFolderSyncInfoSource =
4761
+ {
4762
+ "winrt._winrt_windows_storage_provider.IStorageProviderKnownFolderSyncInfoSource",
4763
+ sizeof(py::wrapper::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfoSource),
4764
+ 0,
4765
+ Py_TPFLAGS_DEFAULT,
4766
+ _type_slots_IStorageProviderKnownFolderSyncInfoSource
4767
+ };
4768
+
4769
+ // ----- IStorageProviderKnownFolderSyncInfoSourceFactory interface --------------------
4770
+
4771
+ static PyObject* _new_IStorageProviderKnownFolderSyncInfoSourceFactory(PyTypeObject* /*unused*/, PyObject* /*unused*/, PyObject* /*unused*/) noexcept
4772
+ {
4773
+ static_assert(py::py_type<winrt::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfoSourceFactory>::type_name);
4774
+ py::set_invalid_activation_error(py::py_type<winrt::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfoSourceFactory>::type_name);
4775
+ return nullptr;
4776
+ }
4777
+
4778
+ static void _dealloc_IStorageProviderKnownFolderSyncInfoSourceFactory(py::wrapper::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfoSourceFactory* self) noexcept
4779
+ {
4780
+ auto tp = Py_TYPE(self);
4781
+ std::destroy_at(&self->obj);
4782
+ tp->tp_free(self);
4783
+ Py_DECREF(tp);
4784
+ }
4785
+
4786
+ static PyObject* IStorageProviderKnownFolderSyncInfoSourceFactory_GetKnownFolderSyncInfoSource(py::wrapper::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfoSourceFactory* self, PyObject* args) noexcept
4787
+ {
4788
+ auto arg_count = PyTuple_Size(args);
4789
+
4790
+ if (arg_count == 0)
4791
+ {
4792
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Storage.Provider.IStorageProviderKnownFolderSyncInfoSourceFactory", L"GetKnownFolderSyncInfoSource", 0))
4793
+ {
4794
+ py::set_arg_count_version_error(0);
4795
+ return nullptr;
4796
+ }
4797
+
4798
+ try
4799
+ {
4800
+ return py::convert(self->obj.GetKnownFolderSyncInfoSource());
4801
+ }
4802
+ catch (...)
4803
+ {
4804
+ py::to_PyErr();
4805
+ return nullptr;
4806
+ }
4807
+ }
4808
+ else
4809
+ {
4810
+ py::set_invalid_arg_count_error(arg_count);
4811
+ return nullptr;
4812
+ }
4813
+ }
4814
+
4815
+ static PyObject* _assign_array_IStorageProviderKnownFolderSyncInfoSourceFactory(PyObject* /*unused*/, PyObject* arg) noexcept
4816
+ {
4817
+ auto array = std::make_unique<py::ComArray<winrt::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfoSourceFactory>>();
4818
+ if (!py::cpp::_winrt::Array_Assign(arg, std::move(array)))
4819
+ {
4820
+ return nullptr;
4821
+ }
4822
+ Py_RETURN_NONE;
4823
+ }
4824
+
4825
+ static PyObject* _from_IStorageProviderKnownFolderSyncInfoSourceFactory(PyObject* /*unused*/, PyObject* arg) noexcept
4826
+ {
4827
+ try
4828
+ {
4829
+ auto return_value = py::convert_to<winrt::Windows::Foundation::IInspectable>(arg);
4830
+ return py::convert(return_value.as<winrt::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfoSourceFactory>());
4831
+ }
4832
+ catch (...)
4833
+ {
4834
+ py::to_PyErr();
4835
+ return nullptr;
4836
+ }
4837
+ }
4838
+
4839
+ static PyMethodDef _methods_IStorageProviderKnownFolderSyncInfoSourceFactory[] = {
4840
+ { "get_known_folder_sync_info_source", reinterpret_cast<PyCFunction>(IStorageProviderKnownFolderSyncInfoSourceFactory_GetKnownFolderSyncInfoSource), METH_VARARGS, nullptr },
4841
+ { "_assign_array_", _assign_array_IStorageProviderKnownFolderSyncInfoSourceFactory, METH_O | METH_STATIC, nullptr },
4842
+ { "_from", reinterpret_cast<PyCFunction>(_from_IStorageProviderKnownFolderSyncInfoSourceFactory), METH_O | METH_STATIC, nullptr },
4843
+ { }
4844
+ };
4845
+
4846
+ static PyGetSetDef _getset_IStorageProviderKnownFolderSyncInfoSourceFactory[] = {
4847
+ { }
4848
+ };
4849
+
4850
+ static PyType_Slot _type_slots_IStorageProviderKnownFolderSyncInfoSourceFactory[] =
4851
+ {
4852
+ { Py_tp_new, reinterpret_cast<void*>(_new_IStorageProviderKnownFolderSyncInfoSourceFactory) },
4853
+ { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_IStorageProviderKnownFolderSyncInfoSourceFactory) },
4854
+ { Py_tp_methods, reinterpret_cast<void*>(_methods_IStorageProviderKnownFolderSyncInfoSourceFactory) },
4855
+ { Py_tp_getset, reinterpret_cast<void*>(_getset_IStorageProviderKnownFolderSyncInfoSourceFactory) },
4856
+ { },
4857
+ };
4858
+
4859
+ static PyType_Spec type_spec_IStorageProviderKnownFolderSyncInfoSourceFactory =
4860
+ {
4861
+ "winrt._winrt_windows_storage_provider.IStorageProviderKnownFolderSyncInfoSourceFactory",
4862
+ sizeof(py::wrapper::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfoSourceFactory),
4863
+ 0,
4864
+ Py_TPFLAGS_DEFAULT,
4865
+ _type_slots_IStorageProviderKnownFolderSyncInfoSourceFactory
4866
+ };
4867
+
4122
4868
  // ----- IStorageProviderPropertyCapabilities interface --------------------
4123
4869
 
4124
4870
  static PyObject* _new_IStorageProviderPropertyCapabilities(PyTypeObject* /*unused*/, PyObject* /*unused*/, PyObject* /*unused*/) noexcept
@@ -4895,6 +5641,21 @@ PyMODINIT_FUNC PyInit__winrt_windows_storage_provider(void) noexcept
4895
5641
  return nullptr;
4896
5642
  }
4897
5643
 
5644
+ if (py::register_python_type(module.get(), &type_spec_StorageProviderKnownFolderEntry, object_bases.get(), nullptr) == -1)
5645
+ {
5646
+ return nullptr;
5647
+ }
5648
+
5649
+ if (py::register_python_type(module.get(), &type_spec_StorageProviderKnownFolderSyncInfo, object_bases.get(), nullptr) == -1)
5650
+ {
5651
+ return nullptr;
5652
+ }
5653
+
5654
+ if (py::register_python_type(module.get(), &type_spec_StorageProviderKnownFolderSyncRequestArgs, object_bases.get(), nullptr) == -1)
5655
+ {
5656
+ return nullptr;
5657
+ }
5658
+
4898
5659
  if (py::register_python_type(module.get(), &type_spec_StorageProviderMoreInfoUI, object_bases.get(), nullptr) == -1)
4899
5660
  {
4900
5661
  return nullptr;
@@ -4931,6 +5692,16 @@ PyMODINIT_FUNC PyInit__winrt_windows_storage_provider(void) noexcept
4931
5692
  return nullptr;
4932
5693
  }
4933
5694
 
5695
+ if (py::register_python_type(module.get(), &type_spec_IStorageProviderKnownFolderSyncInfoSource, object_bases.get(), nullptr) == -1)
5696
+ {
5697
+ return nullptr;
5698
+ }
5699
+
5700
+ if (py::register_python_type(module.get(), &type_spec_IStorageProviderKnownFolderSyncInfoSourceFactory, object_bases.get(), nullptr) == -1)
5701
+ {
5702
+ return nullptr;
5703
+ }
5704
+
4934
5705
  if (py::register_python_type(module.get(), &type_spec_IStorageProviderPropertyCapabilities, object_bases.get(), nullptr) == -1)
4935
5706
  {
4936
5707
  return nullptr;
@@ -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", "setuptools-scm", "winrt-sdk"]
4
+ requires = ["setuptools", "winrt-sdk"]
5
5
  build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
@@ -19,9 +19,9 @@ dynamic = ["version", "dependencies", "optional-dependencies"]
19
19
  requires-python = ">=3.9,<3.13"
20
20
 
21
21
  [project.urls]
22
- # Homepage = "https://github.com/pywrint/pywrinrt"
23
- # Documentation = "https://readthedocs.org"
24
- Repository = "https://github.com/pywrint/pywrinrt"
22
+ # Homepage = "https://github.com/pywinrt/pywinrt"
23
+ Documentation = "https://pywinrt.readthedocs.io"
24
+ Repository = "https://github.com/pywinrt/pywinrt"
25
25
  Changelog = "https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md"
26
26
 
27
27
  [tool.setuptools.dynamic]
@@ -29,6 +29,9 @@ version = { file = "pywinrt-version.txt" }
29
29
  dependencies = { file = "requirements.txt" }
30
30
  optional-dependencies.all = { file = "all-requirements.txt" }
31
31
 
32
+ [tool.setuptools.package-data]
33
+ "*" = ["*.pyi", "py.typed"]
34
+
32
35
  [tool.cibuildwheel]
33
36
  # use local winrt-sdk build dependency
34
37
  environment = { PYTHONPATH="../winrt-sdk/src" }
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
- winrt-runtime==2.0.0-beta.1
3
+ winrt-runtime==2.0.1
@@ -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_storage_provider",
26
+ sources=["py.Windows.Storage.Provider.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.0.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -15,17 +15,21 @@ import winrt.windows.storage
15
15
  import winrt.windows.storage.streams
16
16
  import winrt.windows.ui
17
17
 
18
- from winrt.windows.storage.provider import CachedFileOptions, CachedFileTarget, FileUpdateStatus, ReadActivationMode, StorageProviderHardlinkPolicy, StorageProviderHydrationPolicy, StorageProviderHydrationPolicyModifier, StorageProviderInSyncPolicy, StorageProviderPopulationPolicy, StorageProviderProtectionMode, StorageProviderState, StorageProviderUICommandState, StorageProviderUriSourceStatus, UIStatus, WriteActivationMode
18
+ from winrt.windows.storage.provider import CachedFileOptions, CachedFileTarget, FileUpdateStatus, ReadActivationMode, StorageProviderHardlinkPolicy, StorageProviderHydrationPolicy, StorageProviderHydrationPolicyModifier, StorageProviderInSyncPolicy, StorageProviderKnownFolderSyncStatus, StorageProviderPopulationPolicy, StorageProviderProtectionMode, StorageProviderState, StorageProviderUICommandState, StorageProviderUriSourceStatus, UIStatus, WriteActivationMode
19
+ from winrt.windows.storage.provider import StorageProviderKnownFolderSyncRequestedHandler
19
20
 
20
21
  Self = typing.TypeVar('Self')
21
22
 
23
+ @typing.final
22
24
  class CachedFileUpdater_Static(type):
23
25
  def set_update_information(cls, file: typing.Optional[winrt.windows.storage.IStorageFile], content_id: str, read_mode: ReadActivationMode, write_mode: WriteActivationMode, options: CachedFileOptions, /) -> None: ...
24
26
 
27
+ @typing.final
25
28
  class CachedFileUpdater(winrt.system.Object, metaclass=CachedFileUpdater_Static):
26
29
  @staticmethod
27
30
  def _from(obj: winrt.system.Object, /) -> CachedFileUpdater: ...
28
31
 
32
+ @typing.final
29
33
  class CachedFileUpdaterUI(winrt.system.Object):
30
34
  @staticmethod
31
35
  def _from(obj: winrt.system.Object, /) -> CachedFileUpdaterUI: ...
@@ -45,6 +49,7 @@ class CachedFileUpdaterUI(winrt.system.Object):
45
49
  @_property
46
50
  def update_request(self) -> typing.Optional[FileUpdateRequest]: ...
47
51
 
52
+ @typing.final
48
53
  class FileUpdateRequest(winrt.system.Object):
49
54
  @staticmethod
50
55
  def _from(obj: winrt.system.Object, /) -> FileUpdateRequest: ...
@@ -63,17 +68,20 @@ class FileUpdateRequest(winrt.system.Object):
63
68
  @user_input_needed_message.setter
64
69
  def user_input_needed_message(self, value: str) -> None: ...
65
70
 
71
+ @typing.final
66
72
  class FileUpdateRequestDeferral(winrt.system.Object):
67
73
  @staticmethod
68
74
  def _from(obj: winrt.system.Object, /) -> FileUpdateRequestDeferral: ...
69
75
  def complete(self) -> None: ...
70
76
 
77
+ @typing.final
71
78
  class FileUpdateRequestedEventArgs(winrt.system.Object):
72
79
  @staticmethod
73
80
  def _from(obj: winrt.system.Object, /) -> FileUpdateRequestedEventArgs: ...
74
81
  @_property
75
82
  def request(self) -> typing.Optional[FileUpdateRequest]: ...
76
83
 
84
+ @typing.final
77
85
  class StorageProviderFileTypeInfo(winrt.system.Object):
78
86
  @staticmethod
79
87
  def _from(obj: winrt.system.Object, /) -> StorageProviderFileTypeInfo: ...
@@ -83,6 +91,7 @@ class StorageProviderFileTypeInfo(winrt.system.Object):
83
91
  @_property
84
92
  def icon_resource(self) -> str: ...
85
93
 
94
+ @typing.final
86
95
  class StorageProviderGetContentInfoForPathResult(winrt.system.Object):
87
96
  @staticmethod
88
97
  def _from(obj: winrt.system.Object, /) -> StorageProviderGetContentInfoForPathResult: ...
@@ -100,6 +109,7 @@ class StorageProviderGetContentInfoForPathResult(winrt.system.Object):
100
109
  @content_id.setter
101
110
  def content_id(self, value: str) -> None: ...
102
111
 
112
+ @typing.final
103
113
  class StorageProviderGetPathForContentUriResult(winrt.system.Object):
104
114
  @staticmethod
105
115
  def _from(obj: winrt.system.Object, /) -> StorageProviderGetPathForContentUriResult: ...
@@ -113,13 +123,16 @@ class StorageProviderGetPathForContentUriResult(winrt.system.Object):
113
123
  @path.setter
114
124
  def path(self, value: str) -> None: ...
115
125
 
126
+ @typing.final
116
127
  class StorageProviderItemProperties_Static(type):
117
128
  def set_async(cls, item: typing.Optional[winrt.windows.storage.IStorageItem], item_properties: typing.Iterable[StorageProviderItemProperty], /) -> winrt.windows.foundation.IAsyncAction: ...
118
129
 
130
+ @typing.final
119
131
  class StorageProviderItemProperties(winrt.system.Object, metaclass=StorageProviderItemProperties_Static):
120
132
  @staticmethod
121
133
  def _from(obj: winrt.system.Object, /) -> StorageProviderItemProperties: ...
122
134
 
135
+ @typing.final
123
136
  class StorageProviderItemProperty(winrt.system.Object):
124
137
  @staticmethod
125
138
  def _from(obj: winrt.system.Object, /) -> StorageProviderItemProperty: ...
@@ -137,6 +150,7 @@ class StorageProviderItemProperty(winrt.system.Object):
137
150
  @icon_resource.setter
138
151
  def icon_resource(self, value: str) -> None: ...
139
152
 
153
+ @typing.final
140
154
  class StorageProviderItemPropertyDefinition(winrt.system.Object):
141
155
  @staticmethod
142
156
  def _from(obj: winrt.system.Object, /) -> StorageProviderItemPropertyDefinition: ...
@@ -150,6 +164,46 @@ class StorageProviderItemPropertyDefinition(winrt.system.Object):
150
164
  @display_name_resource.setter
151
165
  def display_name_resource(self, value: str) -> None: ...
152
166
 
167
+ @typing.final
168
+ class StorageProviderKnownFolderEntry(winrt.system.Object):
169
+ @staticmethod
170
+ def _from(obj: winrt.system.Object, /) -> StorageProviderKnownFolderEntry: ...
171
+ def __new__(cls: typing.Type[StorageProviderKnownFolderEntry]) -> StorageProviderKnownFolderEntry:...
172
+ @_property
173
+ def status(self) -> StorageProviderKnownFolderSyncStatus: ...
174
+ @status.setter
175
+ def status(self, value: StorageProviderKnownFolderSyncStatus) -> None: ...
176
+ @_property
177
+ def known_folder_id(self) -> _uuid.UUID: ...
178
+ @known_folder_id.setter
179
+ def known_folder_id(self, value: _uuid.UUID) -> None: ...
180
+
181
+ @typing.final
182
+ class StorageProviderKnownFolderSyncInfo(winrt.system.Object):
183
+ @staticmethod
184
+ def _from(obj: winrt.system.Object, /) -> StorageProviderKnownFolderSyncInfo: ...
185
+ def __new__(cls: typing.Type[StorageProviderKnownFolderSyncInfo]) -> StorageProviderKnownFolderSyncInfo:...
186
+ @_property
187
+ def sync_requested(self) -> typing.Optional[StorageProviderKnownFolderSyncRequestedHandler]: ...
188
+ @sync_requested.setter
189
+ def sync_requested(self, value: typing.Optional[StorageProviderKnownFolderSyncRequestedHandler]) -> None: ...
190
+ @_property
191
+ def provider_display_name(self) -> str: ...
192
+ @provider_display_name.setter
193
+ def provider_display_name(self, value: str) -> None: ...
194
+ @_property
195
+ def known_folder_entries(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[StorageProviderKnownFolderEntry]]: ...
196
+
197
+ @typing.final
198
+ class StorageProviderKnownFolderSyncRequestArgs(winrt.system.Object):
199
+ @staticmethod
200
+ def _from(obj: winrt.system.Object, /) -> StorageProviderKnownFolderSyncRequestArgs: ...
201
+ @_property
202
+ def known_folders(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[_uuid.UUID]]: ...
203
+ @_property
204
+ def source(self) -> typing.Optional[winrt.windows.storage.StorageFolder]: ...
205
+
206
+ @typing.final
153
207
  class StorageProviderMoreInfoUI(winrt.system.Object):
154
208
  @staticmethod
155
209
  def _from(obj: winrt.system.Object, /) -> StorageProviderMoreInfoUI: ...
@@ -163,6 +217,7 @@ class StorageProviderMoreInfoUI(winrt.system.Object):
163
217
  @command.setter
164
218
  def command(self, value: typing.Optional[IStorageProviderUICommand]) -> None: ...
165
219
 
220
+ @typing.final
166
221
  class StorageProviderQuotaUI(winrt.system.Object):
167
222
  @staticmethod
168
223
  def _from(obj: winrt.system.Object, /) -> StorageProviderQuotaUI: ...
@@ -184,6 +239,7 @@ class StorageProviderQuotaUI(winrt.system.Object):
184
239
  @quota_total_in_bytes.setter
185
240
  def quota_total_in_bytes(self, value: winrt.system.UInt64) -> None: ...
186
241
 
242
+ @typing.final
187
243
  class StorageProviderStatusUI(winrt.system.Object):
188
244
  @staticmethod
189
245
  def _from(obj: winrt.system.Object, /) -> StorageProviderStatusUI: ...
@@ -221,6 +277,7 @@ class StorageProviderStatusUI(winrt.system.Object):
221
277
  @more_info_u_i.setter
222
278
  def more_info_u_i(self, value: typing.Optional[StorageProviderMoreInfoUI]) -> None: ...
223
279
 
280
+ @typing.final
224
281
  class StorageProviderSyncRootInfo(winrt.system.Object):
225
282
  @staticmethod
226
283
  def _from(obj: winrt.system.Object, /) -> StorageProviderSyncRootInfo: ...
@@ -294,6 +351,7 @@ class StorageProviderSyncRootInfo(winrt.system.Object):
294
351
  @_property
295
352
  def fallback_file_type_info(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[StorageProviderFileTypeInfo]]: ...
296
353
 
354
+ @typing.final
297
355
  class StorageProviderSyncRootManager_Static(type):
298
356
  def get_current_sync_roots(cls) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[StorageProviderSyncRootInfo]]: ...
299
357
  def get_sync_root_information_for_folder(cls, folder: typing.Optional[winrt.windows.storage.IStorageFolder], /) -> typing.Optional[StorageProviderSyncRootInfo]: ...
@@ -302,20 +360,38 @@ class StorageProviderSyncRootManager_Static(type):
302
360
  def register(cls, sync_root_information: typing.Optional[StorageProviderSyncRootInfo], /) -> None: ...
303
361
  def unregister(cls, id: str, /) -> None: ...
304
362
 
363
+ @typing.final
305
364
  class StorageProviderSyncRootManager(winrt.system.Object, metaclass=StorageProviderSyncRootManager_Static):
306
365
  @staticmethod
307
366
  def _from(obj: winrt.system.Object, /) -> StorageProviderSyncRootManager: ...
308
367
 
368
+ @typing.final
309
369
  class IStorageProviderItemPropertySource(winrt.system.Object):
310
370
  @staticmethod
311
371
  def _from(obj: winrt.system.Object, /) -> IStorageProviderItemPropertySource: ...
312
372
  def get_item_properties(self, item_path: str, /) -> typing.Optional[winrt.windows.foundation.collections.IIterable[StorageProviderItemProperty]]: ...
313
373
 
374
+ @typing.final
375
+ class IStorageProviderKnownFolderSyncInfoSource(winrt.system.Object):
376
+ @staticmethod
377
+ def _from(obj: winrt.system.Object, /) -> IStorageProviderKnownFolderSyncInfoSource: ...
378
+ def get_known_folder_sync_info(self) -> typing.Optional[StorageProviderKnownFolderSyncInfo]: ...
379
+ def add_known_folder_sync_info_changed(self, handler: winrt.windows.foundation.TypedEventHandler[IStorageProviderKnownFolderSyncInfoSource, winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
380
+ def remove_known_folder_sync_info_changed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
381
+
382
+ @typing.final
383
+ class IStorageProviderKnownFolderSyncInfoSourceFactory(winrt.system.Object):
384
+ @staticmethod
385
+ def _from(obj: winrt.system.Object, /) -> IStorageProviderKnownFolderSyncInfoSourceFactory: ...
386
+ def get_known_folder_sync_info_source(self) -> typing.Optional[IStorageProviderKnownFolderSyncInfoSource]: ...
387
+
388
+ @typing.final
314
389
  class IStorageProviderPropertyCapabilities(winrt.system.Object):
315
390
  @staticmethod
316
391
  def _from(obj: winrt.system.Object, /) -> IStorageProviderPropertyCapabilities: ...
317
392
  def is_property_supported(self, property_canonical_name: str, /) -> bool: ...
318
393
 
394
+ @typing.final
319
395
  class IStorageProviderStatusUISource(winrt.system.Object):
320
396
  @staticmethod
321
397
  def _from(obj: winrt.system.Object, /) -> IStorageProviderStatusUISource: ...
@@ -323,11 +399,13 @@ class IStorageProviderStatusUISource(winrt.system.Object):
323
399
  def add_status_u_i_changed(self, handler: winrt.windows.foundation.TypedEventHandler[IStorageProviderStatusUISource, winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
324
400
  def remove_status_u_i_changed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
325
401
 
402
+ @typing.final
326
403
  class IStorageProviderStatusUISourceFactory(winrt.system.Object):
327
404
  @staticmethod
328
405
  def _from(obj: winrt.system.Object, /) -> IStorageProviderStatusUISourceFactory: ...
329
406
  def get_status_u_i_source(self, sync_root_id: str, /) -> typing.Optional[IStorageProviderStatusUISource]: ...
330
407
 
408
+ @typing.final
331
409
  class IStorageProviderUICommand(winrt.system.Object):
332
410
  @staticmethod
333
411
  def _from(obj: winrt.system.Object, /) -> IStorageProviderUICommand: ...
@@ -341,6 +419,7 @@ class IStorageProviderUICommand(winrt.system.Object):
341
419
  @_property
342
420
  def state(self) -> StorageProviderUICommandState: ...
343
421
 
422
+ @typing.final
344
423
  class IStorageProviderUriSource(winrt.system.Object):
345
424
  @staticmethod
346
425
  def _from(obj: winrt.system.Object, /) -> IStorageProviderUriSource: ...
@@ -1,6 +1,8 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  import enum
4
+ import typing
5
+ import uuid as _uuid
4
6
 
5
7
  import winrt.system
6
8
  from winrt import _winrt_windows_storage_provider
@@ -14,6 +16,7 @@ __all__ = [
14
16
  "StorageProviderHydrationPolicy",
15
17
  "StorageProviderHydrationPolicyModifier",
16
18
  "StorageProviderInSyncPolicy",
19
+ "StorageProviderKnownFolderSyncStatus",
17
20
  "StorageProviderPopulationPolicy",
18
21
  "StorageProviderProtectionMode",
19
22
  "StorageProviderState",
@@ -32,17 +35,23 @@ __all__ = [
32
35
  "StorageProviderItemProperties",
33
36
  "StorageProviderItemProperty",
34
37
  "StorageProviderItemPropertyDefinition",
38
+ "StorageProviderKnownFolderEntry",
39
+ "StorageProviderKnownFolderSyncInfo",
40
+ "StorageProviderKnownFolderSyncRequestArgs",
35
41
  "StorageProviderMoreInfoUI",
36
42
  "StorageProviderQuotaUI",
37
43
  "StorageProviderStatusUI",
38
44
  "StorageProviderSyncRootInfo",
39
45
  "StorageProviderSyncRootManager",
40
46
  "IStorageProviderItemPropertySource",
47
+ "IStorageProviderKnownFolderSyncInfoSource",
48
+ "IStorageProviderKnownFolderSyncInfoSourceFactory",
41
49
  "IStorageProviderPropertyCapabilities",
42
50
  "IStorageProviderStatusUISource",
43
51
  "IStorageProviderStatusUISourceFactory",
44
52
  "IStorageProviderUICommand",
45
53
  "IStorageProviderUriSource",
54
+ "StorageProviderKnownFolderSyncRequestedHandler",
46
55
  ]
47
56
 
48
57
  class CachedFileOptions(enum.IntFlag):
@@ -98,6 +107,11 @@ class StorageProviderInSyncPolicy(enum.IntFlag):
98
107
  DIRECTORY_LAST_WRITE_TIME = 0x200
99
108
  PRESERVE_INSYNC_FOR_SYNC_ENGINE = 0x80000000
100
109
 
110
+ class StorageProviderKnownFolderSyncStatus(enum.IntEnum):
111
+ AVAILABLE = 0
112
+ ENROLLING = 1
113
+ ENROLLED = 2
114
+
101
115
  class StorageProviderPopulationPolicy(enum.IntEnum):
102
116
  FULL = 1
103
117
  ALWAYS_FULL = 2
@@ -146,14 +160,20 @@ StorageProviderGetPathForContentUriResult = _winrt_windows_storage_provider.Stor
146
160
  StorageProviderItemProperties = _winrt_windows_storage_provider.StorageProviderItemProperties
147
161
  StorageProviderItemProperty = _winrt_windows_storage_provider.StorageProviderItemProperty
148
162
  StorageProviderItemPropertyDefinition = _winrt_windows_storage_provider.StorageProviderItemPropertyDefinition
163
+ StorageProviderKnownFolderEntry = _winrt_windows_storage_provider.StorageProviderKnownFolderEntry
164
+ StorageProviderKnownFolderSyncInfo = _winrt_windows_storage_provider.StorageProviderKnownFolderSyncInfo
165
+ StorageProviderKnownFolderSyncRequestArgs = _winrt_windows_storage_provider.StorageProviderKnownFolderSyncRequestArgs
149
166
  StorageProviderMoreInfoUI = _winrt_windows_storage_provider.StorageProviderMoreInfoUI
150
167
  StorageProviderQuotaUI = _winrt_windows_storage_provider.StorageProviderQuotaUI
151
168
  StorageProviderStatusUI = _winrt_windows_storage_provider.StorageProviderStatusUI
152
169
  StorageProviderSyncRootInfo = _winrt_windows_storage_provider.StorageProviderSyncRootInfo
153
170
  StorageProviderSyncRootManager = _winrt_windows_storage_provider.StorageProviderSyncRootManager
154
171
  IStorageProviderItemPropertySource = _winrt_windows_storage_provider.IStorageProviderItemPropertySource
172
+ IStorageProviderKnownFolderSyncInfoSource = _winrt_windows_storage_provider.IStorageProviderKnownFolderSyncInfoSource
173
+ IStorageProviderKnownFolderSyncInfoSourceFactory = _winrt_windows_storage_provider.IStorageProviderKnownFolderSyncInfoSourceFactory
155
174
  IStorageProviderPropertyCapabilities = _winrt_windows_storage_provider.IStorageProviderPropertyCapabilities
156
175
  IStorageProviderStatusUISource = _winrt_windows_storage_provider.IStorageProviderStatusUISource
157
176
  IStorageProviderStatusUISourceFactory = _winrt_windows_storage_provider.IStorageProviderStatusUISourceFactory
158
177
  IStorageProviderUICommand = _winrt_windows_storage_provider.IStorageProviderUICommand
159
178
  IStorageProviderUriSource = _winrt_windows_storage_provider.IStorageProviderUriSource
179
+ StorageProviderKnownFolderSyncRequestedHandler = typing.Callable[[typing.Optional[StorageProviderKnownFolderSyncRequestArgs]], None]
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Storage.Provider
3
- Version: 2.0.0b1
3
+ Version: 2.0.1
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
- Project-URL: Repository, https://github.com/pywrint/pywrinrt
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
8
  Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
9
  Classifier: Operating System :: Microsoft :: Windows
9
10
  Classifier: Programming Language :: Python :: 3
@@ -11,7 +12,13 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
11
12
  Classifier: Intended Audience :: Developers
12
13
  Requires-Python: <3.13,>=3.9
13
14
  Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime==2.0.1
14
16
  Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
19
+ Requires-Dist: winrt-Windows.Storage[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
21
+ Requires-Dist: winrt-Windows.UI[all]==2.0.1; extra == "all"
15
22
 
16
23
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
24
 
@@ -7,6 +7,7 @@ requirements.txt
7
7
  setup.py
8
8
  winrt/_winrt_windows_storage_provider.pyi
9
9
  winrt/windows/storage/provider/__init__.py
10
+ winrt/windows/storage/provider/py.typed
10
11
  winrt_Windows.Storage.Provider.egg-info/PKG-INFO
11
12
  winrt_Windows.Storage.Provider.egg-info/SOURCES.txt
12
13
  winrt_Windows.Storage.Provider.egg-info/dependency_links.txt
@@ -0,0 +1,8 @@
1
+ winrt-runtime==2.0.1
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==2.0.1
5
+ winrt-Windows.Foundation.Collections[all]==2.0.1
6
+ winrt-Windows.Storage[all]==2.0.1
7
+ winrt-Windows.Storage.Streams[all]==2.0.1
8
+ winrt-Windows.UI[all]==2.0.1
@@ -1,7 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
-
3
- winrt-Windows.Foundation[all]==2.0.0-beta.1
4
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
5
- winrt-Windows.Storage[all]==2.0.0-beta.1
6
- winrt-Windows.Storage.Streams[all]==2.0.0-beta.1
7
- winrt-Windows.UI[all]==2.0.0-beta.1
@@ -1 +0,0 @@
1
- 2.0.0-beta.1
@@ -1,17 +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_storage_provider",
10
- sources=["py.Windows.Storage.Provider.cpp"],
11
- include_dirs=get_include_dirs(),
12
- extra_compile_args=["/std:c++20", "/permissive-"],
13
- libraries=["windowsapp"],
14
- )
15
- ],
16
- package_data={"winrt": ["*.pyi"]},
17
- )
@@ -1,8 +0,0 @@
1
- winrt-runtime==2.0.0-beta.1
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.0.0-beta.1
5
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
6
- winrt-Windows.Storage[all]==2.0.0-beta.1
7
- winrt-Windows.Storage.Streams[all]==2.0.0-beta.1
8
- winrt-Windows.UI[all]==2.0.0-beta.1