1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 03:19:52 +08:00

Make NotifyShellUpdate() public to ease testing

This commit is contained in:
Susko3
2024-02-08 01:15:37 +01:00
Unverified
parent 1dc54d6f25
commit 6ded79cf07
@@ -125,6 +125,8 @@ namespace osu.Desktop.Windows
}
}
public static void NotifyShellUpdate() => SHChangeNotify(EventId.SHCNE_ASSOCCHANGED, Flags.SHCNF_IDLIST, IntPtr.Zero, IntPtr.Zero);
/// <summary>
/// Installs or updates associations.
/// </summary>
@@ -162,8 +164,6 @@ namespace osu.Desktop.Windows
}
}
internal static void NotifyShellUpdate() => SHChangeNotify(EventId.SHCNE_ASSOCCHANGED, Flags.SHCNF_IDLIST, IntPtr.Zero, IntPtr.Zero);
#region Native interop
[DllImport("Shell32.dll")]