From 3f4288c0d2bb87c3eed418bee11745162ae82e85 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Thu, 26 Sep 2024 20:45:03 -0500 Subject: [PATCH] adding the prev function to cxx --- src/rust/slide_model.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rust/slide_model.rs b/src/rust/slide_model.rs index 870a97a..26c45b6 100644 --- a/src/rust/slide_model.rs +++ b/src/rust/slide_model.rs @@ -116,6 +116,9 @@ pub mod slide_model { #[qinvokable] fn next(self: Pin<&mut SlideModel>) -> bool; + #[qinvokable] + fn prev(self: Pin<&mut SlideModel>) -> bool; + #[qinvokable] fn get_slide_from_service( self: Pin<&mut SlideModel>,