using Mesen.GUI.Debugger.Controls; using Mesen.GUI.Debugger.Integration; using Mesen.GUI.Debugger.Labels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mesen.GUI.Debugger.Code { public interface IDisassemblyManager { ICodeDataProvider Provider { get; } CpuType CpuType { get; } SnesMemoryType RelativeMemoryType { get; } SnesMemoryType PrgMemoryType { get; } int AddressSize { get; } int ByteCodeSize { get; } bool AllowSourceView { get; } void RefreshCode(ISymbolProvider symbolProvider, SourceFileInfo file); Dictionary GetTooltipData(string word, int lineIndex); LocationInfo GetLocationInfo(string lastWord, int lineIndex); } public class LocationInfo { public int Address; public CodeLabel Label; public SourceSymbol Symbol; public int? ArrayIndex = null; } }