diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-13 14:33:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-13 14:33:33 +0000 |
commit | 6d7087f75d1c08474e69ae4325afd0b661d71c1e (patch) | |
tree | 210725701e344187abde5e8b969b14c06d69b24a /plugins/Dbx_tree | |
parent | 22ae5f6a0f193c001185374c71c10495cbbd7df5 (diff) |
ability to detect whether a setting is encrypted or not
git-svn-id: http://svn.miranda-ng.org/main/trunk@7629 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_tree')
-rw-r--r-- | plugins/Dbx_tree/src/Compatibility.cpp | 6 | ||||
-rw-r--r-- | plugins/Dbx_tree/src/DataBase.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/plugins/Dbx_tree/src/Compatibility.cpp b/plugins/Dbx_tree/src/Compatibility.cpp index 4ea0092e7b..4c04e63cf4 100644 --- a/plugins/Dbx_tree/src/Compatibility.cpp +++ b/plugins/Dbx_tree/src/Compatibility.cpp @@ -844,6 +844,12 @@ STDMETHODIMP_(BOOL) CDataBase::EnumResidentSettings(DBMODULEENUMPROC pFunc, void STDMETHODIMP_(void) CDataBase::SetCacheSafetyMode(BOOL) {}
+
+STDMETHODIMP_(BOOL) CDataBase::IsSettingEncrypted(LPCSTR szModule, LPCSTR szSetting)
+{
+ return FALSE;
+}
+
bool CompatibilityRegister()
{
hEventDeletedEvent = CreateHookableEvent(ME_DB_EVENT_DELETED);
diff --git a/plugins/Dbx_tree/src/DataBase.h b/plugins/Dbx_tree/src/DataBase.h index 539abd6564..0d03cd6f3d 100644 --- a/plugins/Dbx_tree/src/DataBase.h +++ b/plugins/Dbx_tree/src/DataBase.h @@ -226,6 +226,7 @@ protected: // to be compatible with the standard Miranda databases STDMETHODIMP_(BOOL) EnumContactSettings(HANDLE hContact, DBCONTACTENUMSETTINGS* dbces);
STDMETHODIMP_(BOOL) SetSettingResident(BOOL bIsResident, const char *pszSettingName);
STDMETHODIMP_(BOOL) EnumResidentSettings(DBMODULEENUMPROC pFunc, void *pParam);
+ STDMETHODIMP_(BOOL) IsSettingEncrypted(LPCSTR szModule, LPCSTR szSetting);
int CheckProto(HANDLE hContact, const char *proto);
};
|