aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Cpu/IDiskCacheState.cs
blob: 61bbdf9249c993412e39620b28378500d232f0a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;

namespace Ryujinx.Cpu
{
    /// <summary>
    /// Disk cache load state report and management interface.
    /// </summary>
    public interface IDiskCacheLoadState
    {
        /// <summary>
        /// Event used to report the cache load progress.
        /// </summary>
        event Action<LoadState, int, int> StateChanged;

        /// <summary>
        /// Cancels the disk cache load process.
        /// </summary>
        void Cancel();
    }
}