trying to move slide building to more backend focused

This commit is contained in:
Chris Cochrun 2024-10-02 10:38:40 -05:00
parent 836c997e97
commit 6052cd01ac
6 changed files with 113 additions and 20 deletions

View file

@ -1,5 +1,5 @@
#[cxx_qt::bridge]
mod image_model {
pub mod image_model {
unsafe extern "C++" {
include!(< QAbstractListModel >);
include!("cxx-qt-lib/qhash.h");
@ -206,6 +206,12 @@ impl Default for ImageModelRust {
}
}
impl ImageModelRust {
pub fn get_image(index: i32) -> Option<&Image> {
todo!()
}
}
impl image_model::ImageModel {
pub fn clear(mut self: Pin<&mut Self>) {
unsafe {