Skip to content

Commit

Permalink
passthrough for Debugger System Interface JoinPath method (#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dakror authored May 14, 2023
1 parent 9775bcb commit 9cabc48
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
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

0 comments on commit 9cabc48

Please sign in to comment.