File tree Expand file tree Collapse file tree 5 files changed +16
-1
lines changed
Flow.Launcher.Core/Plugin
Flow.Launcher.Infrastructure/Storage Expand file tree Collapse file tree 5 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 7
7
using System . Threading . Tasks ;
8
8
using Flow . Launcher . Infrastructure ;
9
9
using Flow . Launcher . Infrastructure . Logger ;
10
- using Flow . Launcher . Infrastructure . Storage ;
11
10
using Flow . Launcher . Infrastructure . UserSettings ;
12
11
using Flow . Launcher . Plugin ;
12
+ using ISavable = Flow . Launcher . Plugin . ISavable ;
13
13
14
14
namespace Flow . Launcher . Core . Plugin
15
15
{
@@ -51,6 +51,7 @@ public static void Save()
51
51
var savable = plugin . Plugin as ISavable ;
52
52
savable ? . Save ( ) ;
53
53
}
54
+
54
55
API . SavePluginSettings ( ) ;
55
56
}
56
57
Original file line number Diff line number Diff line change
1
+ using System ;
2
+
3
+ namespace Flow . Launcher . Infrastructure . Storage
4
+ {
5
+ [ Obsolete ( "Deprecated as of Flow Launcher v1.8.0, on 2021.06.21. " +
6
+ "This is used only for Everything plugin v1.4.9 or below backwards compatibility" ) ]
7
+ public interface ISavable : Plugin . ISavable { }
8
+ }
Original file line number Diff line number Diff line change @@ -87,4 +87,8 @@ public void Save()
87
87
File . WriteAllText ( FilePath , serialized ) ;
88
88
}
89
89
}
90
+
91
+ [ Obsolete ( "Deprecated as of Flow Launcher v1.8.0, on 2021.06.21. " +
92
+ "This is used only for Everything plugin v1.4.9 or below backwards compatibility" ) ]
93
+ public class JsonStrorage < T > : JsonStorage < T > where T : new ( ) { }
90
94
}
Original file line number Diff line number Diff line change @@ -22,3 +22,4 @@ public PluginJsonStorage(T data) : this()
22
22
}
23
23
}
24
24
}
25
+
Original file line number Diff line number Diff line change 20
20
using Flow . Launcher . Storage ;
21
21
using Flow . Launcher . Infrastructure . Logger ;
22
22
using System . Threading . Channels ;
23
+ using ISavable = Flow . Launcher . Plugin . ISavable ;
23
24
24
25
namespace Flow . Launcher . ViewModel
25
26
{
You can’t perform that action at this time.
0 commit comments