OSYSTEM: Expose getDefaultLogFileName() via OSystem

This commit is contained in:
Eugene Sandulenko 2023-03-25 14:47:33 +01:00
parent 59aa697111
commit 8b2f953f62
No known key found for this signature in database
GPG key ID: 014D387312D34F08
2 changed files with 8 additions and 1 deletions

View file

@ -158,7 +158,6 @@ protected:
virtual AudioCDManager *createAudioCDManager();
// Logging
virtual Common::String getDefaultLogFileName() { return Common::String(); }
virtual Common::WriteStream *createLogFile();
Backends::Log::Log *_logger;

View file

@ -1650,6 +1650,14 @@ public:
*/
virtual Common::String getDefaultConfigFileName();
/**
* Get the default file name (or even path) where the scummvm.log
* will be saved.
*
* Note that not all ports can use this.
*/
virtual Common::String getDefaultLogFileName() { return Common::String(); }
/**
* Register the default values for the settings the backend uses into the
* configuration manager.