diff options
author | Vlad Mironov <mironych@googlemail.com> | 2013-12-28 10:50:19 +0000 |
---|---|---|
committer | Vlad Mironov <mironych@googlemail.com> | 2013-12-28 10:50:19 +0000 |
commit | f4f00dcff6c765d0eec9bbfdf2f4b448868425b8 (patch) | |
tree | f560eddea50b57a3192c8a589418ceefe5a968a7 /plugins/Clist_modern/src/modern_skinned_profile.cpp | |
parent | be20e425831456a0b372789be453a3afaeeb967c (diff) |
missing function invocations replaced
git-svn-id: http://svn.miranda-ng.org/main/trunk@7407 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinned_profile.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_skinned_profile.cpp | 14 |
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
|