From b0b4bffda4449e4f6058f0b7c782c10d35bc3a66 Mon Sep 17 00:00:00 2001
From: Garulf <535299+Garulf@users.noreply.github.com>
Date: Tue, 30 Nov 2021 04:15:55 -0500
Subject: [PATCH] Add clipboard function
---
Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
index 908284bb9..0b59371f8 100644
--- a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
+++ b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
@@ -37,6 +37,12 @@ namespace Flow.Launcher.Plugin
/// Thrown when unable to find the file specified in the command
/// Thrown when error occurs during the execution of the command
void ShellRun(string cmd, string filename = "cmd.exe");
+
+ ///
+ /// Copy Text to clipboard
+ ///
+ /// Text to save on clipboard
+ public void CopyToClipboard(string text);
///
/// Save everything, all of Flow Launcher and plugins' data and settings