wave_27 test file + related code

This commit is contained in:
Martin Kavík 2024-05-28 12:57:51 +02:00
parent c6ef5c65a4
commit f8e07d213d
7 changed files with 49 additions and 32 deletions

View file

@ -4,8 +4,8 @@ pub async fn show_window() {
tauri_glue::show_window().await
}
pub async fn load_waveform() {
tauri_glue::load_waveform().await
pub async fn load_waveform(test_file_name: &'static str) {
tauri_glue::load_waveform(test_file_name).await
}
pub async fn get_hierarchy() -> wellen::Hierarchy {
@ -33,7 +33,7 @@ mod tauri_glue {
extern "C" {
pub async fn show_window();
pub async fn load_waveform();
pub async fn load_waveform(test_file_name: &str);
pub async fn get_hierarchy() -> JsValue;