From e521b812384a0e93f48e078c6cb248913dcc893a Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Fri, 15 Jun 2012 20:04:13 +0000 Subject: another portion of "#ifsef Unicode" removal git-svn-id: http://svn.miranda-ng.org/main/trunk@437 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/StopSpamPlus/src/settings.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/StopSpamPlus/src/settings.cpp') diff --git a/plugins/StopSpamPlus/src/settings.cpp b/plugins/StopSpamPlus/src/settings.cpp index 39ce0c96df..7d74b63919 100644 --- a/plugins/StopSpamPlus/src/settings.cpp +++ b/plugins/StopSpamPlus/src/settings.cpp @@ -11,7 +11,7 @@ tstring db_usage::DBGetPluginSetting(std::string const &name, tstring const &def return value; } -#ifdef _UNICODE + std::string db_usage::DBGetPluginSetting(std::string const &name, std::string const &defValue) { DBVARIANT dbv; @@ -21,7 +21,7 @@ std::string db_usage::DBGetPluginSetting(std::string const &name, std::string co DBFreeVariant(&dbv); return value; } -#endif + bool db_usage::DBGetPluginSetting(std::string const &name, bool const &defValue) { @@ -39,12 +39,12 @@ void db_usage::DBSetPluginSetting(std::string const &name, tstring const &value) DBWriteContactSettingTString(NULL, pluginName, name.c_str(), value.c_str()); } -#ifdef _UNICODE + void db_usage::DBSetPluginSetting(std::string const &name, std::string const &value) { DBWriteContactSettingString(NULL, pluginName, name.c_str(), value.c_str()); } -#endif + void db_usage::DBSetPluginSetting(std::string const &name, bool const &value) { -- cgit v1.2.3