1
0
mirror of https://github.com/fadden/6502bench.git synced 2026-04-26 12:18:26 +00:00

Tweak visualizer interface

Report visualization generation errors through an explicit
IApplication interface, instead of pulling messages out of the
DebugLog stream.

Declare that GetVisGenDescrs() is only called when the plugin is in
the "prepared" state, so that plugins can taylor the set based on
the contents of the file.  (This could be used to set min/max on
the "offset" entries, but I want special handling for offsets, so
we might as well set it later.)
This commit is contained in:
Andy McFadden
2019-12-05 10:21:07 -08:00
parent 4ef1d7e7c7
commit 4bf1ab2799
6 changed files with 48 additions and 22 deletions
+4
View File
@@ -76,6 +76,10 @@ namespace SourceGen {
mOuter = null;
}
public void ReportError(string msg) {
DebugLog(msg);
}
public void DebugLog(string msg) {
mOuter.mDebugLog.LogI("PLUGIN: " + msg);
}