From de82216dff8fc3339c493cb1a4913eea119d614f Mon Sep 17 00:00:00 2001 From: Tobia Tesan Date: Mon, 29 Feb 2016 15:29:27 +0100 Subject: WINTERMUTE: Add source functionality in debugger --- engines/wintermute/debugger/debugger_controller.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/wintermute/debugger/debugger_controller.h') diff --git a/engines/wintermute/debugger/debugger_controller.h b/engines/wintermute/debugger/debugger_controller.h index b4119b56d3..7af2a039b1 100644 --- a/engines/wintermute/debugger/debugger_controller.h +++ b/engines/wintermute/debugger/debugger_controller.h @@ -51,7 +51,7 @@ struct TopEntry { }; class DebuggerController : public ScriptMonitor { - ListingProvider *_listingProvider; + SourceListingProvider *_sourceListingProvider; const WintermuteEngine *_engine; DebuggableScript *_lastScript; uint32 _lastDepth; @@ -83,6 +83,8 @@ public: * @brief continue execution and don't step until the current activation record is popped */ Error stepFinish(); + Error setSourcePath(const Common::String &sourcePath); + Common::String getSourcePath() const; Listing *getListing(Error* &err); void showFps(bool show); /** -- cgit v1.2.3