slint/api/cpp/tests
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
..
datastructures.cpp Port the C++ generator and C++ API to the new window ownership model 2022-08-19 15:07:27 +02:00
eventloop.cpp Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
interpreter.cpp Port the C++ generator and C++ API to the new window ownership model 2022-08-19 15:07:27 +02:00
properties.cpp Run clang-format over C++ files 2022-08-17 07:44:22 +02:00
test.slint Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00