Rename backend module to platform

and the Backend trait into PlatfromAbstraction trait
This commit is contained in:
Olivier Goffart 2022-08-23 17:48:37 +02:00 committed by Olivier Goffart
parent 1a8a295e38
commit 2e5ab86bea
18 changed files with 51 additions and 48 deletions

View file

@ -29,7 +29,7 @@ pub unsafe extern "C" fn slint_windowrc_init(out: *mut PlatformWindowRcOpaque) {
#[no_mangle]
pub unsafe extern "C" fn slint_run_event_loop() {
crate::backend()
.run_event_loop(i_slint_core::backend::EventLoopQuitBehavior::QuitOnLastWindowClosed);
.run_event_loop(i_slint_core::platform::EventLoopQuitBehavior::QuitOnLastWindowClosed);
}
/// Will execute the given functor in the main thread