Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Passthrough for Debugger::SystemInterface JoinPath method #462

Merged
merged 1 commit into from
May 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Source/Debugger/DebuggerSystemInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ int DebuggerSystemInterface::TranslateString(String& translated, const String& i
return application_interface->TranslateString(translated, input);
}

void DebuggerSystemInterface::JoinPath(String& translated_path, const String& document_path, const String& path)
{
application_interface->JoinPath(translated_path, document_path, path);
}

bool DebuggerSystemInterface::LogMessage(Log::Type type, const String& message)
{
log->AddLogMessage(type, message);
Expand Down
6 changes: 6 additions & 0 deletions Source/Debugger/DebuggerSystemInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ class DebuggerSystemInterface : public Rml::SystemInterface {
/// @return Number of translations that occured.
int TranslateString(String& translated, const String& input) override;

/// Joins the path of an RML or RCSS file with the path of a resource specified within the file.
/// @param[out] translated_path The joined path.
/// @param[in] document_path The path of the source document (including the file name).
/// @param[in] path The path of the resource specified in the document.
void JoinPath(String& translated_path, const String& document_path, const String& path) override;

/// Log the specified message.
/// @param[in] type Type of log message, ERROR, WARNING, etc.
/// @param[in] message Message to log.
Expand Down