winrt-Windows.System.Display
Advanced tools
+2
-2
| Metadata-Version: 2.1 | ||
| Name: winrt-Windows.System.Display | ||
| Version: 2.0.1 | ||
| Version: 2.1.0 | ||
| Summary: Python projection of Windows Runtime (WinRT) APIs | ||
@@ -15,3 +15,3 @@ License: MIT | ||
| Description-Content-Type: text/markdown | ||
| Requires-Dist: winrt-runtime==2.0.1 | ||
| Requires-Dist: winrt-runtime==2.1.0 | ||
@@ -18,0 +18,0 @@ <!-- warning: Please don't edit this file. It was automatically generated. --> |
@@ -1,6 +0,5 @@ | ||
| // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1 | ||
| // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0 | ||
| #include "py.Windows.System.Display.h" | ||
| namespace py::cpp::Windows::System::Display | ||
@@ -53,10 +52,10 @@ { | ||
| { | ||
| if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Display.DisplayRequest", L"RequestActive", 0)) | ||
| try | ||
| { | ||
| py::set_arg_count_version_error(0); | ||
| return nullptr; | ||
| } | ||
| if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Display.DisplayRequest", L"RequestActive", 0)) | ||
| { | ||
| py::set_arg_count_version_error(0); | ||
| return nullptr; | ||
| } | ||
| try | ||
| { | ||
| self->obj.RequestActive(); | ||
@@ -84,10 +83,10 @@ Py_RETURN_NONE; | ||
| { | ||
| if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Display.DisplayRequest", L"RequestRelease", 0)) | ||
| try | ||
| { | ||
| py::set_arg_count_version_error(0); | ||
| return nullptr; | ||
| } | ||
| if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Display.DisplayRequest", L"RequestRelease", 0)) | ||
| { | ||
| py::set_arg_count_version_error(0); | ||
| return nullptr; | ||
| } | ||
| try | ||
| { | ||
| self->obj.RequestRelease(); | ||
@@ -145,4 +144,3 @@ Py_RETURN_NONE; | ||
| static PyType_Slot _type_slots_DisplayRequest[] = | ||
| { | ||
| static PyType_Slot _type_slots_DisplayRequest[] = { | ||
| { Py_tp_new, reinterpret_cast<void*>(_new_DisplayRequest) }, | ||
@@ -152,7 +150,6 @@ { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_DisplayRequest) }, | ||
| { Py_tp_getset, reinterpret_cast<void*>(_getset_DisplayRequest) }, | ||
| { }, | ||
| { } | ||
| }; | ||
| static PyType_Spec type_spec_DisplayRequest = | ||
| { | ||
| static PyType_Spec type_spec_DisplayRequest = { | ||
| "winrt._winrt_windows_system_display.DisplayRequest", | ||
@@ -162,20 +159,18 @@ sizeof(py::wrapper::Windows::System::Display::DisplayRequest), | ||
| Py_TPFLAGS_DEFAULT, | ||
| _type_slots_DisplayRequest | ||
| }; | ||
| _type_slots_DisplayRequest}; | ||
| // ----- Windows.System.Display Initialization -------------------- | ||
| PyDoc_STRVAR(module_doc, "Windows::System::Display"); | ||
| PyDoc_STRVAR(module_doc, "Windows.System.Display"); | ||
| static PyModuleDef module_def | ||
| = {PyModuleDef_HEAD_INIT, | ||
| "_winrt_windows_system_display", | ||
| module_doc, | ||
| 0, | ||
| nullptr, | ||
| nullptr, | ||
| nullptr, | ||
| nullptr, | ||
| nullptr}; | ||
| static PyModuleDef module_def = { | ||
| PyModuleDef_HEAD_INIT, | ||
| "_winrt_windows_system_display", | ||
| module_doc, | ||
| 0, | ||
| nullptr, | ||
| nullptr, | ||
| nullptr, | ||
| nullptr, | ||
| nullptr}; | ||
| } // py::cpp::Windows::System::Display | ||
@@ -182,0 +177,0 @@ |
@@ -1,1 +0,1 @@ | ||
| 2.0.1 | ||
| 2.1.0 |
+2
-2
@@ -1,3 +0,3 @@ | ||
| # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1 | ||
| # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0 | ||
| winrt-runtime==2.0.1 | ||
| winrt-runtime==2.1.0 |
| Metadata-Version: 2.1 | ||
| Name: winrt-Windows.System.Display | ||
| Version: 2.0.1 | ||
| Version: 2.1.0 | ||
| Summary: Python projection of Windows Runtime (WinRT) APIs | ||
@@ -15,3 +15,3 @@ License: MIT | ||
| Description-Content-Type: text/markdown | ||
| Requires-Dist: winrt-runtime==2.0.1 | ||
| Requires-Dist: winrt-runtime==2.1.0 | ||
@@ -18,0 +18,0 @@ <!-- warning: Please don't edit this file. It was automatically generated. --> |
@@ -1,1 +0,1 @@ | ||
| winrt-runtime==2.0.1 | ||
| winrt-runtime==2.1.0 |
@@ -1,2 +0,2 @@ | ||
| # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1 | ||
| # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0 | ||
@@ -19,5 +19,5 @@ import datetime | ||
| def _from(obj: winrt.system.Object, /) -> DisplayRequest: ... | ||
| def __new__(cls: typing.Type[DisplayRequest]) -> DisplayRequest:... | ||
| def __new__(cls: typing.Type[DisplayRequest]) -> DisplayRequest: ... | ||
| def request_active(self) -> None: ... | ||
| def request_release(self) -> None: ... | ||
@@ -1,2 +0,2 @@ | ||
| # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1 | ||
| # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0 | ||
@@ -3,0 +3,0 @@ import winrt.system |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
12146
-0.01%