// globals.h #ifndef GLOBALS_H #define GLOBALS_H #include #include // 全局互斥锁,保护 current_pic_id 的访问 extern QMutex gPicMutex0; // 全局变量,用于存储当前的 MIL_ID extern MIL_ID gCurrentPicId0; #endif // GLOBALS_H