Explorar o código

passthrough for Debugger System Interface JoinPath method (#462)

Maximilian Stark %!s(int64=2) %!d(string=hai) anos
pai
achega
9cabc485bf

+ 5 - 0
Source/Debugger/DebuggerSystemInterface.cpp

@@ -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);

+ 6 - 0
Source/Debugger/DebuggerSystemInterface.h

@@ -60,6 +60,12 @@ public:
 	/// @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.