Skip to content

Commit

Permalink
IPinnable
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightczx committed Nov 24, 2023
1 parent a8b697e commit 43415eb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Snap.Hutao/Snap.Hutao.Win32/Snap.Hutao.Win32.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.46-beta">
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.49-beta">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
9 changes: 9 additions & 0 deletions src/Snap.Hutao/Snap.Hutao/Core/Abstraction/IPinnable.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright (c) DGP Studio. All rights reserved.
// Licensed under the MIT license.

namespace Snap.Hutao.Core.Abstraction;

internal interface IPinnable<TData>
{
ref readonly TData GetPinnableReference();
}
2 changes: 1 addition & 1 deletion src/Snap.Hutao/Snap.Hutao/View/TitleView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@
</ToggleButton>
</StackPanel>
</Grid>
</UserControl>
</UserControl>

0 comments on commit 43415eb

Please sign in to comment.