-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
Copy pathIGeneralSettingsService.cs
298 lines (240 loc) · 9.61 KB
/
IGeneralSettingsService.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
// Copyright (c) 2024 Files Community
// Licensed under the MIT License. See the LICENSE.
namespace Files.App.Data.Contracts
{
public interface IGeneralSettingsService : IBaseSettingsService, INotifyPropertyChanged
{
/// <summary>
/// Gets or sets a value indicating whether or not to navigate to a specific location when launching the app.
/// </summary>
bool OpenSpecificPageOnStartup { get; set; }
/// <summary>
/// Gets or sets a value indicating the default startup location.
/// </summary>
string OpenSpecificPageOnStartupPath { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not continue the last session whenever the app is launched.
/// </summary>
bool ContinueLastSessionOnStartUp { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to open a page when the app is launched.
/// </summary>
bool OpenNewTabOnStartup { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not opening Files from another app should open a tab in the existing instance.
/// </summary>
bool OpenTabInExistingInstance { get; set; }
/// <summary>
/// A list containing all paths to open at startup.
/// </summary>
List<string> TabsOnStartupList { get; set; }
/// <summary>
/// A list containing all paths to tabs closed on last session.
/// </summary>
List<string> LastSessionTabList { get; set; }
/// <summary>
/// A list containing paths of the tabs from the previous session that crashed.
/// </summary>
List<string> LastCrashedTabList { get; set; }
/// <summary>
/// A list containing paths previously entered in the path bar.
/// </summary>
List<string> PathHistoryList { get; set; }
/// <summary>
/// Gets or sets a value indicating which date and time format to use.
/// </summary>
DateTimeFormats DateTimeFormat { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to always open a second pane when opening a new tab.
/// </summary>
bool AlwaysOpenDualPaneInNewTab { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to always switch to newly opened tab.
/// </summary>
bool AlwaysSwitchToNewlyOpenedTab { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to display the quick access widget.
/// </summary>
bool ShowQuickAccessWidget { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to display the recent files widget.
/// </summary>
bool ShowRecentFilesWidget { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to display the drives widget.
/// </summary>
bool ShowDrivesWidget { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to display the network locations widget.
/// </summary>
bool ShowNetworkLocationsWidget { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to display the file tags widget.
/// </summary>
bool ShowFileTagsWidget { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to expand the folders widget.
/// </summary>
bool FoldersWidgetExpanded { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to expand the recent files widget.
/// </summary>
bool RecentFilesWidgetExpanded { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to expand the drives widget.
/// </summary>
bool DrivesWidgetExpanded { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to expand the network locations widget.
/// </summary>
bool NetworkLocationsWidgetExpanded { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to expand the file tags widget.
/// </summary>
bool FileTagsWidgetExpanded { get; set; }
/// <summary>
/// Gets or sets a value indicating if the favorites section should be visible.
/// </summary>
bool ShowPinnedSection { get; set; }
/// <summary>
/// Gets or sets a value indicating if the favorites section should be expanded.
/// </summary>
bool IsPinnedSectionExpanded { get; set; }
/// <summary>
/// Gets or sets a value indicating if the library section should be visible.
/// </summary>
bool ShowLibrarySection { get; set; }
/// <summary>
/// Gets or sets a value indicating if the library section should be expanded.
/// </summary>
bool IsLibrarySectionExpanded { get; set; }
/// <summary>
/// Gets or sets a value indicating if the drive section should be visible.
/// </summary>
bool ShowDrivesSection { get; set; }
/// <summary>
/// Gets or sets a value indicating if the drive section should be expanded.
/// </summary>
bool IsDriveSectionExpanded { get; set; }
/// <summary>
/// Gets or sets a value indicating if the cloud drive section should be visible.
/// </summary>
bool ShowCloudDrivesSection { get; set; }
/// <summary>
/// Gets or sets a value indicating if the cloud drive section should be expanded.
/// </summary>
bool IsCloudDriveSectionExpanded { get; set; }
/// <summary>
/// Gets or sets a value indicating if the network section should be visible.
/// </summary>
bool ShowNetworkSection { get; set; }
/// <summary>
/// Gets or sets a value indicating if the network section should be expanded.
/// </summary>
bool IsNetworkSectionExpanded { get; set; }
/// <summary>
/// Gets or sets a value indicating if the wsl section should be visible.
/// </summary>
bool ShowWslSection { get; set; }
/// <summary>
/// Gets or sets a value indicating if the wsl section should be expanded.
/// </summary>
bool IsWslSectionExpanded { get; set; }
/// <summary>
/// Gets or sets a value indicating if the tags section should be visible.
/// </summary>
bool ShowFileTagsSection { get; set; }
/// <summary>
/// Gets or sets a value indicating if the file tags section should be expanded.
/// </summary>
bool IsFileTagsSectionExpanded { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to move shell extensions into a sub menu.
/// </summary>
bool MoveShellExtensionsToSubMenu { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to show the edit tags menu.
/// </summary>
bool ShowEditTagsMenu { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to show the option to open folders in a new tab.
/// </summary>
bool ShowOpenInNewTab { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to show the option to open folders in a new window.
/// </summary>
bool ShowOpenInNewWindow { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to show the option to open folders in a new pane.
/// </summary>
bool ShowOpenInNewPane { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to show the option to copy an items path.
/// </summary>
bool ShowCopyPath { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to show the option to create alternate data stream.
/// </summary>
bool ShowCreateAlternateDataStream { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to show the option to create a shortcut.
/// </summary>
bool ShowCreateShortcut { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to show the option to create folder with selection.
/// </summary>
bool ShowCreateFolderWithSelection { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to show the compression options e.g. create archive, extract files.
/// </summary>
bool ShowCompressionOptions { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to show the flatten options e.g. single, recursive.
/// </summary>
bool ShowFlattenOptions { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to show the Send To menu.
/// </summary>
bool ShowSendToMenu { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to leave app running in the background.
/// </summary>
bool LeaveAppRunning { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not to show Files in the system tray.
/// </summary>
bool ShowSystemTrayIcon { get; set; }
/// <summary>
/// Gets or sets a value indicating whether to enable terminal integration.
/// </summary>
bool IsTerminalIntegrationEnabled { get; set; }
/// <summary>
/// Gets or sets a value indicating the default option to resolve conflicts.
/// </summary>
FileNameConflictResolveOptionType ConflictsResolveOption { get; set; }
/// <summary>
/// Gets or sets a value indicating the default archive format.
/// </summary>
ArchiveFormats ArchiveFormatsOption { get; set; }
/// <summary>
/// Gets or sets a value indicating the default archive compression level.
/// </summary>
ArchiveCompressionLevels ArchiveCompressionLevelsOption { get; set; }
/// <summary>
/// Gets or sets a value indicating the default archive splitting size.
/// </summary>
ArchiveSplittingSizes ArchiveSplittingSizesOption { get; set; }
/// <summary>
/// A dictionary to determine which hashes should be shown.
/// </summary>
Dictionary<string, bool> ShowHashesDictionary { get; set; }
/// <summary>
/// Gets or sets a value indicating a random user ID.
/// </summary>
string UserId { get; set; }
/// <summary>
/// Gets or sets a value indicating the default arrangement for Dual Pane.
/// </summary>
ShellPaneArrangement ShellPaneArrangementOption { get; set; }
}
}