trying to move slide building to more backend focused
This commit is contained in:
parent
836c997e97
commit
6052cd01ac
6 changed files with 113 additions and 20 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue