summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src')
-rw-r--r--plugins/Clist_modern/src/modern_skinned_profile.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/Clist_modern/src/modern_skinned_profile.cpp b/plugins/Clist_modern/src/modern_skinned_profile.cpp
index d31fe7d18f..6e2d4eb879 100644
--- a/plugins/Clist_modern/src/modern_skinned_profile.cpp
+++ b/plugins/Clist_modern/src/modern_skinned_profile.cpp
@@ -52,14 +52,14 @@ ValueVariant* CSkinnedProfile::_GetValue( const char * szSection, const char * s
BYTE CSkinnedProfile::SpiGetSkinByte( HANDLE hContact, const char * szSection, const char * szKey, const BYTE defValue )
{
if ( hContact )
- return ModernGetSettingByte( hContact, szSection, szKey, defValue ); //per-contact settings are not skinnablr at all
+ return db_get_b( hContact, szSection, szKey, defValue ); //per-contact settings are not skinnablr at all
CAutoCriticalSection Lock( SkinProfile()->_Lock, true );
ValueVariant* value = SkinProfile()->_GetValue( szSection, szKey );
if ( value == NULL ) // not skinned => return DB
- return ModernGetSettingWord( hContact, szSection, szKey, defValue );
+ return db_get_w( hContact, szSection, szKey, defValue );
else if ( !value->IsEmpty() )
return value->GetByte();
@@ -70,14 +70,14 @@ BYTE CSkinnedProfile::SpiGetSkinByte( HANDLE hContact, const char * szSection, c
WORD CSkinnedProfile::SpiGetSkinWord( HANDLE hContact, const char * szSection, const char * szKey, const WORD defValue )
{
if ( hContact )
- return ModernGetSettingWord( hContact, szSection, szKey, defValue ); //per-contact settings are not skinnablr at all
+ return db_get_w( hContact, szSection, szKey, defValue ); //per-contact settings are not skinnablr at all
CAutoCriticalSection Lock( SkinProfile()->_Lock, true );
ValueVariant* value = SkinProfile()->_GetValue( szSection, szKey );
if ( value == NULL ) // not skinned => return DB
- return ModernGetSettingWord( hContact, szSection, szKey, defValue );
+ return db_get_w( hContact, szSection, szKey, defValue );
else if ( !value->IsEmpty() )
return value->GetWord();
@@ -88,14 +88,14 @@ WORD CSkinnedProfile::SpiGetSkinWord( HANDLE hContact, const char * szSection, c
DWORD CSkinnedProfile::SpiGetSkinDword( HANDLE hContact, const char * szSection, const char * szKey, const DWORD defValue )
{
if ( hContact )
- return ModernGetSettingDword( hContact, szSection, szKey, defValue ); //per-contact settings are not skinnablr at all
+ return db_get_dw( hContact, szSection, szKey, defValue ); //per-contact settings are not skinnablr at all
CAutoCriticalSection Lock( SkinProfile()->_Lock, true );
ValueVariant* value = SkinProfile()->_GetValue( szSection, szKey );
if ( value == NULL ) // not skinned => return DB
- return ModernGetSettingDword( hContact, szSection, szKey, defValue );
+ return db_get_dw( hContact, szSection, szKey, defValue );
else if ( !value->IsEmpty() )
return value->GetDword();
@@ -112,4 +112,4 @@ BOOL CSkinnedProfile::SpiCheckSkinned( HANDLE hContact, const char * szSection,
return ( SkinProfile()->_GetValue( szSection, szKey ) == NULL );
}
-#endif // _DEBUG // REMOVE ME, as soon as ghazan will implement msvcprt.lib msvcrt.lib analogs to vc6tovc7.lib \ No newline at end of file
+#endif // _DEBUG // REMOVE ME, as soon as ghazan will implement msvcprt.lib msvcrt.lib analogs to vc6tovc7.lib