From e468c486ba81fd34527d89695ab01fc966629cce Mon Sep 17 00:00:00 2001 From: anthony taranto Date: Mon, 19 Mar 2012 18:47:14 -0700 Subject: [PATCH] Settings.h: use value as set() param --- CefSharp/Settings.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/CefSharp/Settings.h b/CefSharp/Settings.h index b5a85655b..5d5e9a456 100644 --- a/CefSharp/Settings.h +++ b/CefSharp/Settings.h @@ -24,7 +24,7 @@ namespace CefSharp property bool MultiThreadedMessageLoop { bool get() { return _cefSettings->multi_threaded_message_loop; } - void set(bool val) { _cefSettings->multi_threaded_message_loop = val; } + void set(bool value) { _cefSettings->multi_threaded_message_loop = value; } } void AddPluginPath(const cef_string_t *path) @@ -49,25 +49,25 @@ namespace CefSharp property String^ CachePath { String^ get() { return toClr(_cefSettings->cache_path); } - void set(String^ path) { assignFromString(_cefSettings->cache_path, path); } + void set(String^ value) { assignFromString(_cefSettings->cache_path, value); } } property String^ UserAgent { String^ get() { return toClr(_cefSettings->user_agent); } - void set(String^ userAgent) { assignFromString(_cefSettings->user_agent, userAgent); } + void set(String^ value) { assignFromString(_cefSettings->user_agent, value); } } property String^ ProductVersion { String^ get() { return toClr(_cefSettings->product_version); } - void set(String^ productVersion) { assignFromString(_cefSettings->product_version, productVersion); } + void set(String^ value) { assignFromString(_cefSettings->product_version, value); } } property String^ Locale { String^ get() { return toClr(_cefSettings->locale); } - void set(String^ locale) { assignFromString(_cefSettings->locale, locale); } + void set(String^ value) { assignFromString(_cefSettings->locale, value); } } void AddPluginPath(String^ path) @@ -83,37 +83,37 @@ namespace CefSharp property String^ LogFile { String^ get() { return toClr(_cefSettings->log_file); } - void set(String^ logFile) { assignFromString(_cefSettings->log_file, logFile); } + void set(String^ value) { assignFromString(_cefSettings->log_file, value); } } property CefSharp::LogSeverity LogSeverity { CefSharp::LogSeverity get() { return static_cast(_cefSettings->log_severity); } - void set(CefSharp::LogSeverity logSeverity) { _cefSettings->log_severity = static_cast(logSeverity); } + void set(CefSharp::LogSeverity value) { _cefSettings->log_severity = static_cast(value); } } property bool AutoDetectProxySettings { bool get() { return _cefSettings->auto_detect_proxy_settings_enabled; } - void set(bool autoDetectProxySettings) { _cefSettings->auto_detect_proxy_settings_enabled = autoDetectProxySettings; } + void set(bool value) { _cefSettings->auto_detect_proxy_settings_enabled = value; } } property String^ PackFilePath { String^ get() { return toClr(_cefSettings->pack_file_path); } - void set(String^ packFilePath) { assignFromString(_cefSettings->pack_file_path, packFilePath); } + void set(String^ value) { assignFromString(_cefSettings->pack_file_path, value); } } property String^ LocalesDirPath { String^ get() { return toClr(_cefSettings->locales_dir_path); } - void set(String^ localesDirPath) { assignFromString(_cefSettings->locales_dir_path, localesDirPath); } + void set(String^ value) { assignFromString(_cefSettings->locales_dir_path, value); } } property bool PackLoadingDisabled { bool get() { return _cefSettings->pack_loading_disabled; } - void set(bool packLoadingDisabled) { _cefSettings->pack_loading_disabled = packLoadingDisabled; } + void set(bool value) { _cefSettings->pack_loading_disabled = value; } } }; } \ No newline at end of file