File tree Expand file tree Collapse file tree 4 files changed +45
-8
lines changed
Files.App.Storage/Storables/Native
Files.Core.Storage/FolderView Expand file tree Collapse file tree 4 files changed +45
-8
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,8 @@ namespace Files.App.Storage.Storables
66 /// <summary>
77 /// Represents a file object that is natively supported by Windows Shell API.
88 /// </summary>
9- public class INativeStorable : NativeStorable
9+ public class INativeStorable
1010 {
11- /// <summary>
12- /// Get a property value from this <see cref="INativeStorable"/>.
13- /// </summary>
14- /// <param name="id">The property ID (e.g. "System.Image.Dimensions").</param>
15- /// <returns>Returns a valid value formatted with string; otherwise, returns <see cref="string.Empty"/>.</returns>
16- public string GetPropertyAsync ( string id ) ;
11+ public string GetPropertyAsync ( string id ) ;
1712 }
1813}
Original file line number Diff line number Diff line change @@ -6,7 +6,18 @@ namespace Files.App.Storage.Storables
66 /// <summary>
77 /// Represents a folder object that is natively supported by Windows Shell API.
88 /// </summary>
9- public class NativeFolderView /*: IFolderView*/
9+ public class NativeFolderView : IFolderView
1010 {
11+ public int GetSpacing ( )
12+ { }
13+
14+ public int GetThumbnailSize ( )
15+ { }
16+
17+ public FolderViewMode GetViewMode ( )
18+ { }
19+
20+ public uint GetItemsCount ( )
21+ { }
1122 }
1223}
Original file line number Diff line number Diff line change 1+ // Copyright (c) 2023 Files Community
2+ // Licensed under the MIT License. See the LICENSE.
3+
4+ namespace Files . Core . Storage
5+ {
6+ public enum FolderViewMode
7+ {
8+ Auto = 0 ,
9+ Details ,
10+ List ,
11+ Tiles ,
12+ Grid ,
13+ Columns ,
14+ }
15+ }
Original file line number Diff line number Diff line change 1+ // Copyright (c) 2023 Files Community
2+ // Licensed under the MIT License. See the LICENSE.
3+
4+ namespace Files . Core . Storage
5+ {
6+ public interface IFolderView
7+ {
8+ int GetSpacing ( ) ;
9+
10+ int GetThumbnailSize ( ) ;
11+
12+ FolderViewMode GetViewMode ( ) ;
13+
14+ uint GetItemsCount ( ) ;
15+ }
16+ }
You can’t perform that action at this time.
0 commit comments