HostInterface: Add log lettings to ini

This commit is contained in:
Connor McLaughlin
2020-05-01 00:58:32 +10:00
parent c2ab611097
commit e37962009e
4 changed files with 112 additions and 8 deletions

View File

@ -12,6 +12,8 @@
#include <string>
#include <vector>
enum LOGLEVEL;
class AudioStream;
class ByteStream;
class CDImage;
@ -193,6 +195,10 @@ protected:
/// Performs the initial load of settings. Should call CheckSettings() and m_settings.Load().
virtual void LoadSettings() = 0;
/// Updates logging settings.
virtual void UpdateLogSettings(LOGLEVEL level, const char* filter, bool log_to_console, bool log_to_debug,
bool log_to_window, bool log_to_file);
/// Returns the path of the settings file.
std::string GetSettingsFileName() const;