From 6e0dbf639ac2c79e00fee9270a2ca8e613dc1f98 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 3 Aug 2021 08:56:43 -0700 Subject: [PATCH] fix(core): Expose `ClipboardManager` and `GlobalShortcutManager` (#2263) --- .changes/tauri-expose-shortcut-clipboard.md | 6 ++++++ core/tauri/src/lib.rs | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changes/tauri-expose-shortcut-clipboard.md diff --git a/.changes/tauri-expose-shortcut-clipboard.md b/.changes/tauri-expose-shortcut-clipboard.md new file mode 100644 index 000000000..ca33ca8f3 --- /dev/null +++ b/.changes/tauri-expose-shortcut-clipboard.md @@ -0,0 +1,6 @@ +--- +"tauri": patch +--- + +Make `ClipboardManager` and `GlobalShortcutManager` public as they are exposed in the `AppHandle`. + diff --git a/core/tauri/src/lib.rs b/core/tauri/src/lib.rs index a092a0b7f..2c91ab1ab 100644 --- a/core/tauri/src/lib.rs +++ b/core/tauri/src/lib.rs @@ -94,7 +94,7 @@ pub use { dpi::{LogicalPosition, LogicalSize, PhysicalPosition, PhysicalSize, Pixel, Position, Size}, WindowEvent, }, - Icon, RunIteration, Runtime, UserAttentionType, + ClipboardManager, GlobalShortcutManager, Icon, RunIteration, Runtime, UserAttentionType, }, self::state::{State, StateManager}, self::window::{Monitor, Window},