mousealert_other.go 661 B

12345678910111213141516171819
  1. //go:build !windows
  2. // ============================================================================
  3. // mousealert_other.go — 系统级鼠标提醒(非 Windows 空实现)
  4. //
  5. // 当前平台不支持系统级鼠标提醒,提供空实现占位以保证跨平台编译;
  6. // Windows 实现在 mousealert_windows.go。
  7. // ============================================================================
  8. package main
  9. // triggerMouseAlert 非 Windows 平台为空实现(无系统级鼠标提醒能力)。
  10. func triggerMouseAlert(text string) {
  11. _ = text // 忽略
  12. }
  13. // stopMouseAlert 非 Windows 平台为空实现。
  14. func stopMouseAlert() {
  15. // 无操作
  16. }