summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/dbintf.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-12-05 22:07:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-12-05 22:07:14 +0000
commit39679a3cc145c5253bbbd99b9a013f3fe991532b (patch)
tree50faf2e1a7a1fd464bd2a75f3865229e28057246 /plugins/Db3x_mmap/src/dbintf.h
parent3f4bfef9370e7ec778e501f4608d3c4fe0b3b255 (diff)
resetting menu item name upon password change
git-svn-id: http://svn.miranda-ng.org/main/trunk@7061 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src/dbintf.h')
-rw-r--r--plugins/Db3x_mmap/src/dbintf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Db3x_mmap/src/dbintf.h b/plugins/Db3x_mmap/src/dbintf.h
index 1d5fae78a6..c512b27ecb 100644
--- a/plugins/Db3x_mmap/src/dbintf.h
+++ b/plugins/Db3x_mmap/src/dbintf.h
@@ -301,6 +301,9 @@ struct CDb3Mmap : public CDb3Base
void StoreKey(void);
void SetPassword(const TCHAR *ptszPassword);
+ void UpdateMenuItem(void);
+
+ __forceinline LPSTR GetMenuTitle() const { return m_bUsesPassword ? LPGEN("Change/remove password") : LPGEN("Set password"); }
protected:
virtual DWORD GetSettingsGroupOfsByModuleNameOfs(DBContact *dbc,DWORD ofsContact,DWORD ofsModuleName);