Skip to content

Commit 487c9a2

Browse files
committed
v4.0.11187.0-Beta
1 parent 5e7343a commit 487c9a2

File tree

90 files changed

+1468
-780
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+1468
-780
lines changed

Common/Common.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
<Product>IT Hit User File System</Product>
77
<Copyright>IT Hit User File System</Copyright>
88
<Description>Contains functionality common for all Virtual Drive samples, both for Windows and macOS.</Description>
9+
<RootNamespace>ITHit.FileSystem.Samples.Common</RootNamespace>
910
</PropertyGroup>
1011
<ItemGroup>
11-
<PackageReference Include="ITHit.FileSystem" Version="4.0.10902.0-Beta" />
12+
<PackageReference Include="ITHit.FileSystem" Version="4.0.11187.0-Beta" />
1213
</ItemGroup>
1314
</Project>

Common/Settings.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,15 @@ public class Settings
5353
/// Automatically lock the file in remote storage when a file handle is being opened for writing, unlock on close.
5454
/// </summary>
5555
public bool AutoLock { get; set; }
56+
57+
/// <summary>
58+
/// Path to the folder that stores custom data associated with files and folders.
59+
/// </summary>
60+
public string ServerDataFolderPath { get; set; }
61+
62+
/// <summary>
63+
/// Communication channel name is used by RPC to establish connection over named pipes.
64+
/// </summary>
65+
public string RpcCommunicationChannelName { get; set; }
5666
}
5767
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This sample implements a virtual file system for Mac with synchronization suppor
3131

3232
<a href="https://github.com/ITHit/UserFileSystemSamples/tree/master/Windows/VirtualDrive/">
3333
<p>
34-
This is a virtual drive implementation with thumbnail support, Microsoft Office documents editing support, and automatic Microsoft Office documents locking. It also demonstrates custom column support in Windows File Manager.&nbsp;To simulate the remote st <span>...</span>
34+
This is a virtual drive implementation with thumbnail support, Microsoft Office and AutoCAD documents editing support, and automatic Microsoft Office/AutoCAD documents locking. It also demonstrates custom column support in Windows File Manager.&nbsp;To si <span>...</span>
3535
</p>
3636
</a>
3737
</li>

Windows/Common/Common.Windows.csproj renamed to Windows/Common/Core/Common.Windows.Core.csproj

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@
66
<Authors>IT Hit LTD.</Authors>
77
<Product>IT Hit User File System</Product>
88
<Copyright>IT Hit LTD.</Copyright>
9+
<RootNamespace>ITHit.FileSystem.Samples.Common.Windows.Core</RootNamespace>
910
</PropertyGroup>
1011
<ItemGroup>
11-
<Compile Remove="VirtualDrive\Program.cs" />
12-
</ItemGroup>
13-
<ItemGroup>
14-
<PackageReference Include="log4net" Version="2.0.12" />
12+
<PackageReference Include="log4net" Version="2.0.13" />
1513
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="5.0.0" />
1614
</ItemGroup>
1715
<ItemGroup>
18-
<PackageReference Include="ITHit.FileSystem.Windows" Version="4.0.10902.0-Beta" />
19-
<ProjectReference Include="..\..\Common\Common.csproj" />
16+
<PackageReference Include="ITHit.FileSystem.Windows" Version="4.0.11187.0-Beta" />
17+
<ProjectReference Include="..\..\..\Common\Common.csproj" />
2018
</ItemGroup>
2119
</Project>

Windows/VirtualDrive/VirtualDrive.Rpc/VirtualDrive.Rpc.csproj renamed to Windows/Common/Rpc.Proto/Common.Windows.Rpc.Proto.csproj

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
5-
<Description>This project contains RPC methods for communication between main application and other components, such as Windows Explorer thumbnail handler and context menu.</Description>
4+
<TargetFramework>net5.0-windows10.0.18362.0</TargetFramework>
5+
<CsWinRTWindowsMetadata>10.0.18362.0</CsWinRTWindowsMetadata>
6+
<Description>This project contains protocol description, common for IT Hit Virtual Drive samples.</Description>
67
<Company>IT Hit LTD.</Company>
78
<Authors>IT Hit LTD.</Authors>
8-
<Product>Virtual Drive</Product>
9+
<Product>IT Hit User File System</Product>
910
<Copyright>IT Hit LTD.</Copyright>
11+
<RootNamespace>ITHit.FileSystem.Samples.Common.Windows.Rpc.Proto</RootNamespace>
1012
</PropertyGroup>
1113

1214
<ItemGroup>

Windows/VirtualDrive/VirtualDrive.Rpc/VirtualDrive.proto renamed to Windows/Common/Rpc.Proto/ShellExtension.proto

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
syntax = "proto3";
22

3-
package VirtualDrive.Rpc.Generated;
3+
package ITHit.FileSystem.Samples.Common.Windows.Rpc.Generated;
44

5-
service VirtualDriveRpc {
5+
service ShellExtensionRpc {
66
rpc SetLockStatus (ItemsStatusList) returns (EmptyMessage) {}
77
rpc GetLockStatus (ItemsPathList) returns (ItemsStatusList) {}
8+
rpc GetThumbnail (ThumbnailRequest) returns (Thumbnail) {}
89
}
910

1011
message ItemsPathList {
@@ -15,5 +16,14 @@ message ItemsStatusList {
1516
map<string, bool> filesStatus = 1;
1617
}
1718

19+
message ThumbnailRequest {
20+
string path = 1;
21+
uint32 size = 2;
22+
}
23+
24+
message Thumbnail {
25+
bytes image = 1;
26+
}
27+
1828
message EmptyMessage {
1929
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>net5.0-windows10.0.18362.0</TargetFramework>
4+
<CsWinRTWindowsMetadata>10.0.18362.0</CsWinRTWindowsMetadata>
5+
<Description>Contains functionality common for all Windows Virtual Drive samples.</Description>
6+
<Authors>IT Hit LTD.</Authors>
7+
<Product>IT Hit User File System</Product>
8+
<Copyright>IT Hit LTD.</Copyright>
9+
<RootNamespace>ITHit.FileSystem.Samples.Common.Windows.Rpc</RootNamespace>
10+
</PropertyGroup>
11+
<ItemGroup>
12+
<PackageReference Include="log4net" Version="2.0.13" />
13+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="5.0.0" />
14+
</ItemGroup>
15+
<ItemGroup>
16+
<ProjectReference Include="..\Rpc.Proto\Common.Windows.Rpc.Proto.csproj" />
17+
</ItemGroup>
18+
</Project>

0 commit comments

Comments
 (0)