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 video_model {
pub mod video_model {
unsafe extern "C++" {
include!(< QAbstractListModel >);
include!("cxx-qt-lib/qhash.h");
@ -231,6 +231,13 @@ impl Default for VideoModelRust {
}
}
impl VideoModelRust {
pub fn get_video(index: i32) -> Option<&Video> {
todo!();
}
}
impl video_model::VideoModel {
pub fn clear(mut self: Pin<&mut Self>) {
unsafe {