winrt-Windows.System.RemoteDesktop.Input 2.0.1__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.
Files changed (18) hide show
  1. {winrt_windows_system_remotedesktop_input-2.0.1 → winrt_windows_system_remotedesktop_input-2.1.0}/PKG-INFO +2 -2
  2. {winrt_windows_system_remotedesktop_input-2.0.1 → winrt_windows_system_remotedesktop_input-2.1.0}/py.Windows.System.RemoteDesktop.Input.cpp +53 -58
  3. winrt_windows_system_remotedesktop_input-2.1.0/pywinrt-version.txt +1 -0
  4. {winrt_windows_system_remotedesktop_input-2.0.1 → winrt_windows_system_remotedesktop_input-2.1.0}/requirements.txt +2 -2
  5. {winrt_windows_system_remotedesktop_input-2.0.1 → winrt_windows_system_remotedesktop_input-2.1.0}/winrt/_winrt_windows_system_remotedesktop_input.pyi +2 -2
  6. {winrt_windows_system_remotedesktop_input-2.0.1 → winrt_windows_system_remotedesktop_input-2.1.0}/winrt/windows/system/remotedesktop/input/__init__.py +1 -1
  7. {winrt_windows_system_remotedesktop_input-2.0.1 → winrt_windows_system_remotedesktop_input-2.1.0}/winrt_Windows.System.RemoteDesktop.Input.egg-info/PKG-INFO +2 -2
  8. winrt_windows_system_remotedesktop_input-2.1.0/winrt_Windows.System.RemoteDesktop.Input.egg-info/requires.txt +1 -0
  9. winrt_windows_system_remotedesktop_input-2.0.1/pywinrt-version.txt +0 -1
  10. winrt_windows_system_remotedesktop_input-2.0.1/winrt_Windows.System.RemoteDesktop.Input.egg-info/requires.txt +0 -1
  11. {winrt_windows_system_remotedesktop_input-2.0.1 → winrt_windows_system_remotedesktop_input-2.1.0}/README.md +0 -0
  12. {winrt_windows_system_remotedesktop_input-2.0.1 → winrt_windows_system_remotedesktop_input-2.1.0}/pyproject.toml +0 -0
  13. {winrt_windows_system_remotedesktop_input-2.0.1 → winrt_windows_system_remotedesktop_input-2.1.0}/setup.cfg +0 -0
  14. {winrt_windows_system_remotedesktop_input-2.0.1 → winrt_windows_system_remotedesktop_input-2.1.0}/setup.py +0 -0
  15. {winrt_windows_system_remotedesktop_input-2.0.1 → winrt_windows_system_remotedesktop_input-2.1.0}/winrt/windows/system/remotedesktop/input/py.typed +0 -0
  16. {winrt_windows_system_remotedesktop_input-2.0.1 → winrt_windows_system_remotedesktop_input-2.1.0}/winrt_Windows.System.RemoteDesktop.Input.egg-info/SOURCES.txt +0 -0
  17. {winrt_windows_system_remotedesktop_input-2.0.1 → winrt_windows_system_remotedesktop_input-2.1.0}/winrt_Windows.System.RemoteDesktop.Input.egg-info/dependency_links.txt +0 -0
  18. {winrt_windows_system_remotedesktop_input-2.0.1 → winrt_windows_system_remotedesktop_input-2.1.0}/winrt_Windows.System.RemoteDesktop.Input.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.System.RemoteDesktop.Input
3
- Version: 2.0.1
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,7 @@ 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.0.1
15
+ Requires-Dist: winrt-runtime==2.1.0
16
16
 
17
17
  <!-- warning: Please don't edit this file. It was automatically generated. -->
18
18
 
@@ -1,8 +1,7 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
3
  #include "py.Windows.System.RemoteDesktop.Input.h"
4
4
 
5
-
6
5
  namespace py::cpp::Windows::System::RemoteDesktop::Input
7
6
  {
8
7
  // ----- RemoteTextConnection class --------------------
@@ -53,14 +52,14 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
53
52
 
54
53
  if (arg_count == 0)
55
54
  {
56
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"Close", 0))
57
- {
58
- py::set_arg_count_version_error(0);
59
- return nullptr;
60
- }
61
-
62
55
  try
63
56
  {
57
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"Close", 0))
58
+ {
59
+ py::set_arg_count_version_error(0);
60
+ return nullptr;
61
+ }
62
+
64
63
  self->obj.Close();
65
64
  Py_RETURN_NONE;
66
65
  }
@@ -83,14 +82,14 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
83
82
 
84
83
  if (arg_count == 1)
85
84
  {
86
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"RegisterThread", 1))
87
- {
88
- py::set_arg_count_version_error(1);
89
- return nullptr;
90
- }
91
-
92
85
  try
93
86
  {
87
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"RegisterThread", 1))
88
+ {
89
+ py::set_arg_count_version_error(1);
90
+ return nullptr;
91
+ }
92
+
94
93
  auto param0 = py::convert_to<uint32_t>(args, 0);
95
94
 
96
95
  self->obj.RegisterThread(param0);
@@ -115,14 +114,14 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
115
114
 
116
115
  if (arg_count == 1)
117
116
  {
118
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"ReportDataReceived", 1))
119
- {
120
- py::set_arg_count_version_error(1);
121
- return nullptr;
122
- }
123
-
124
117
  try
125
118
  {
119
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"ReportDataReceived", 1))
120
+ {
121
+ py::set_arg_count_version_error(1);
122
+ return nullptr;
123
+ }
124
+
126
125
  auto param0 = py::convert_to<py::pybuf_view<uint8_t, false>>(args, 0);
127
126
 
128
127
  self->obj.ReportDataReceived(param0);
@@ -147,14 +146,14 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
147
146
 
148
147
  if (arg_count == 1)
149
148
  {
150
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"UnregisterThread", 1))
151
- {
152
- py::set_arg_count_version_error(1);
153
- return nullptr;
154
- }
155
-
156
149
  try
157
150
  {
151
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"UnregisterThread", 1))
152
+ {
153
+ py::set_arg_count_version_error(1);
154
+ return nullptr;
155
+ }
156
+
158
157
  auto param0 = py::convert_to<uint32_t>(args, 0);
159
158
 
160
159
  self->obj.UnregisterThread(param0);
@@ -175,14 +174,14 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
175
174
 
176
175
  static PyObject* RemoteTextConnection_get_IsEnabled(py::wrapper::Windows::System::RemoteDesktop::Input::RemoteTextConnection* self, void* /*unused*/) noexcept
177
176
  {
178
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"IsEnabled"))
179
- {
180
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
181
- return nullptr;
182
- }
183
-
184
177
  try
185
178
  {
179
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"IsEnabled"))
180
+ {
181
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
182
+ return nullptr;
183
+ }
184
+
186
185
  return py::convert(self->obj.IsEnabled());
187
186
  }
188
187
  catch (...)
@@ -194,12 +193,6 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
194
193
 
195
194
  static int RemoteTextConnection_put_IsEnabled(py::wrapper::Windows::System::RemoteDesktop::Input::RemoteTextConnection* self, PyObject* arg, void* /*unused*/) noexcept
196
195
  {
197
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"IsEnabled"))
198
- {
199
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
200
- return -1;
201
- }
202
-
203
196
  if (arg == nullptr)
204
197
  {
205
198
  PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
@@ -208,6 +201,12 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
208
201
 
209
202
  try
210
203
  {
204
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"IsEnabled"))
205
+ {
206
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
207
+ return -1;
208
+ }
209
+
211
210
  auto param0 = py::convert_to<bool>(arg);
212
211
 
213
212
  self->obj.IsEnabled(param0);
@@ -271,7 +270,7 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
271
270
  { "_assign_array_", _assign_array_RemoteTextConnection, METH_O | METH_STATIC, nullptr },
272
271
  { "_from", reinterpret_cast<PyCFunction>(_from_RemoteTextConnection), METH_O | METH_STATIC, nullptr },
273
272
  { "__enter__", reinterpret_cast<PyCFunction>(_enter_RemoteTextConnection), METH_NOARGS, nullptr },
274
- { "__exit__", reinterpret_cast<PyCFunction>(_exit_RemoteTextConnection), METH_VARARGS, nullptr },
273
+ { "__exit__", reinterpret_cast<PyCFunction>(_exit_RemoteTextConnection), METH_VARARGS, nullptr },
275
274
  { }
276
275
  };
277
276
 
@@ -280,39 +279,35 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
280
279
  { }
281
280
  };
282
281
 
283
- static PyType_Slot _type_slots_RemoteTextConnection[] =
284
- {
282
+ static PyType_Slot _type_slots_RemoteTextConnection[] = {
285
283
  { Py_tp_new, reinterpret_cast<void*>(_new_RemoteTextConnection) },
286
284
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_RemoteTextConnection) },
287
285
  { Py_tp_methods, reinterpret_cast<void*>(_methods_RemoteTextConnection) },
288
286
  { Py_tp_getset, reinterpret_cast<void*>(_getset_RemoteTextConnection) },
289
- { },
287
+ { }
290
288
  };
291
289
 
292
- static PyType_Spec type_spec_RemoteTextConnection =
293
- {
290
+ static PyType_Spec type_spec_RemoteTextConnection = {
294
291
  "winrt._winrt_windows_system_remotedesktop_input.RemoteTextConnection",
295
292
  sizeof(py::wrapper::Windows::System::RemoteDesktop::Input::RemoteTextConnection),
296
293
  0,
297
294
  Py_TPFLAGS_DEFAULT,
298
- _type_slots_RemoteTextConnection
299
- };
295
+ _type_slots_RemoteTextConnection};
300
296
 
301
297
  // ----- Windows.System.RemoteDesktop.Input Initialization --------------------
302
- PyDoc_STRVAR(module_doc, "Windows::System::RemoteDesktop::Input");
303
298
 
299
+ PyDoc_STRVAR(module_doc, "Windows.System.RemoteDesktop.Input");
304
300
 
305
- static PyModuleDef module_def
306
- = {PyModuleDef_HEAD_INIT,
307
- "_winrt_windows_system_remotedesktop_input",
308
- module_doc,
309
- 0,
310
- nullptr,
311
- nullptr,
312
- nullptr,
313
- nullptr,
314
- nullptr};
315
-
301
+ static PyModuleDef module_def = {
302
+ PyModuleDef_HEAD_INIT,
303
+ "_winrt_windows_system_remotedesktop_input",
304
+ module_doc,
305
+ 0,
306
+ nullptr,
307
+ nullptr,
308
+ nullptr,
309
+ nullptr,
310
+ nullptr};
316
311
  } // py::cpp::Windows::System::RemoteDesktop::Input
317
312
 
318
313
  PyMODINIT_FUNC PyInit__winrt_windows_system_remotedesktop_input(void) noexcept
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
- winrt-runtime==2.0.1
3
+ winrt-runtime==2.1.0
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
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
@@ -20,7 +20,7 @@ class RemoteTextConnection(winrt.system.Object):
20
20
  def __exit__(self, *args) -> None: ...
21
21
  @staticmethod
22
22
  def _from(obj: winrt.system.Object, /) -> RemoteTextConnection: ...
23
- def __new__(cls: typing.Type[RemoteTextConnection], connection_id: _uuid.UUID, pdu_forwarder: typing.Optional[RemoteTextConnectionDataHandler]) -> RemoteTextConnection:...
23
+ def __new__(cls: typing.Type[RemoteTextConnection], connection_id: _uuid.UUID, pdu_forwarder: typing.Optional[RemoteTextConnectionDataHandler]) -> RemoteTextConnection: ...
24
24
  def close(self) -> None: ...
25
25
  def register_thread(self, thread_id: winrt.system.UInt32, /) -> None: ...
26
26
  def report_data_received(self, pdu_data: winrt.system.Array[winrt.system.UInt8], /) -> None: ...
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
3
  import typing
4
4
  import uuid as _uuid
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.System.RemoteDesktop.Input
3
- Version: 2.0.1
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,7 @@ 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.0.1
15
+ Requires-Dist: winrt-runtime==2.1.0
16
16
 
17
17
  <!-- warning: Please don't edit this file. It was automatically generated. -->
18
18