slint/api/cpp/include
Simon Hausmann 98e1befd0d Port the C++ generator and C++ API to the new window ownership model
One key difference to the Rust way is what `slint::Window` means. In
Rust that holds the `WindowInner` and `slint::Window` is only exposed as
`&slint::Window`. This is possible because the component owns the
`Rc<dyn PlatformWindow>`, which has a function to return the
`&slint::Window`.

In C++ `slint::Window` is also exposed as `slint::Window&` in the
`window()` getter, but there's no way to get a reference to a  C++
wrapper for the Rust `&slint::Window` that the `PlatformWindow` trait
returns. Therefore in C++ `slint::Window` wraps `Rc<dyn
PlatformWindow>`.
2022-08-19 15:07:27 +02:00
..
slint.h Port the C++ generator and C++ API to the new window ownership model 2022-08-19 15:07:27 +02:00
slint_brush.h Run clang-format over C++ files 2022-08-17 07:44:22 +02:00
slint_callbacks.h Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
slint_color.h Run clang-format over C++ files 2022-08-17 07:44:22 +02:00
slint_config.h Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
slint_image.h Run clang-format over C++ files 2022-08-17 07:44:22 +02:00
slint_interpreter.h Port the C++ generator and C++ API to the new window ownership model 2022-08-19 15:07:27 +02:00
slint_pathdata.h Run clang-format over C++ files 2022-08-17 07:44:22 +02:00
slint_point.h Use Point2D in the C++ ffi when setting the window position 2022-07-08 18:37:01 +02:00
slint_properties.h Run clang-format over C++ files 2022-08-17 07:44:22 +02:00
slint_sharedvector.h Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
slint_size.h Run clang-format over C++ files 2022-08-17 07:44:22 +02:00
slint_string.h Run clang-format over C++ files 2022-08-17 07:44:22 +02:00
slint_testing.h Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
vtable.h Run clang-format over C++ files 2022-08-17 07:44:22 +02:00