File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 1
1
using Flow . Launcher . Plugin . SharedModel ;
2
2
using System ;
3
3
using System . Collections . Generic ;
4
+ using System . IO ;
5
+ using System . Threading ;
6
+ using System . Threading . Tasks ;
4
7
5
8
namespace Flow . Launcher . Plugin
6
9
{
@@ -90,6 +93,10 @@ public interface IPublicAPI
90
93
/// </summary>
91
94
event FlowLauncherGlobalKeyboardEventHandler GlobalKeyboardEvent ;
92
95
93
- public MatchResult FuzzySearch ( string query , string stringToCompare ) ;
96
+ MatchResult FuzzySearch ( string query , string stringToCompare ) ;
97
+
98
+ Task < string > HttpGetStringAsync ( string url , CancellationToken token = default ) ;
99
+
100
+ Task < Stream > HttpGetStreamAsync ( string url , CancellationToken token = default ) ;
94
101
}
95
102
}
Original file line number Diff line number Diff line change 15
15
using Flow . Launcher . Plugin ;
16
16
using Flow . Launcher . ViewModel ;
17
17
using Flow . Launcher . Plugin . SharedModel ;
18
+ using System . Threading ;
19
+ using System . IO ;
18
20
19
21
namespace Flow . Launcher
20
22
{
@@ -135,6 +137,16 @@ public List<PluginPair> GetAllPlugins()
135
137
136
138
public MatchResult FuzzySearch ( string query , string stringToCompare ) => StringMatcher . FuzzySearch ( query , stringToCompare ) ;
137
139
140
+ public Task < string > HttpGetStringAsync ( string url , CancellationToken token = default )
141
+ {
142
+ return null ;
143
+ }
144
+
145
+ public Task < Stream > HttpGetStreamAsync ( string url , CancellationToken token = default )
146
+ {
147
+ return null ;
148
+ }
149
+
138
150
#endregion
139
151
140
152
#region Private Methods
You can’t perform that action at this time.
0 commit comments