refactor(window): 移除会议窗口相关功能
- 删除会议窗口创建相关的常量定义 - 移除 create_meeting_window 模块及其命令注册 - 从窗口命令模块中移除会议窗口创建函数 - 删除前端调用会议窗口创建的 API 接口 - 清理画板窗口和实时字幕窗口的占位代码
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
use crate::window::create_float_list_window::create_float_list_window_impl;
|
||||
use crate::window::create_main_window::create_main_window_impl;
|
||||
use crate::window::create_meeting_window::create_meeting_window_impl;
|
||||
use crate::window::create_popup_window::create_popup_window_impl;
|
||||
use crate::window::derive::TargetLocation;
|
||||
use tauri::{AppHandle, Window};
|
||||
@ -36,9 +35,3 @@ pub async fn create_popup_window(app: AppHandle, window: Window) -> Result<Strin
|
||||
pub async fn create_main_window(app: AppHandle) -> Result<String, String> {
|
||||
create_main_window_impl(&app).await.map(|_| "success".to_string())
|
||||
}
|
||||
|
||||
/// 创建会议窗口(Tauri命令)
|
||||
#[tauri::command]
|
||||
pub async fn create_meeting_window(app: AppHandle, window_type: u8, course_id: Option<u64>) -> Result<String, String> {
|
||||
create_meeting_window_impl(&app, window_type, course_id).await.map(|_| "success".to_string())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user