mirror of
https://github.com/ppy/osu.git
synced 2026-05-20 06:39:54 +08:00
Make NotifyShellUpdate() public to ease testing
This commit is contained in:
@@ -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")]
|
||||
|
||||
Reference in New Issue
Block a user