summaryrefslogtreecommitdiff
path: root/plugins/StopSpamPlus/src/settings.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-15 20:04:13 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-15 20:04:13 +0000
commite521b812384a0e93f48e078c6cb248913dcc893a (patch)
tree13b1de3e9bef13a48af0318f1fd338915dd69e9a /plugins/StopSpamPlus/src/settings.cpp
parentae481600939fb5420b80a8a7ef84f0ce9d6b3356 (diff)
another portion of "#ifsef Unicode" removal
git-svn-id: http://svn.miranda-ng.org/main/trunk@437 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StopSpamPlus/src/settings.cpp')
-rw-r--r--plugins/StopSpamPlus/src/settings.cpp8
1 files changed, 4 insertions, 4 deletions
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)
{