summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/dbintf.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-12-01 21:51:12 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-12-01 21:51:12 +0000
commitbe0ea932723003e4319500883aa7ef2abba38c4b (patch)
treec0eee66c79f8aaf0e3b97f0ec803828b1e0afd68 /plugins/Db3x_mmap/src/dbintf.h
parentf0dd963ab37b2ff412b4b1e0b9459d61d42ab9d4 (diff)
first lines of password UI code
git-svn-id: http://svn.miranda-ng.org/main/trunk@7028 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src/dbintf.h')
-rw-r--r--plugins/Db3x_mmap/src/dbintf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/Db3x_mmap/src/dbintf.h b/plugins/Db3x_mmap/src/dbintf.h
index 7f0455c6f9..d0919c28c8 100644
--- a/plugins/Db3x_mmap/src/dbintf.h
+++ b/plugins/Db3x_mmap/src/dbintf.h
@@ -152,6 +152,7 @@ struct CDb3Base : public MIDatabase, public MIDatabaseChecker, public MZeroedObj
void DatabaseCorruption(TCHAR *text);
__forceinline HANDLE getFile() const { return m_hDbFile; }
+ __forceinline bool isEncrypted() const { return m_bEncrypted; }
public:
STDMETHODIMP_(void) SetCacheSafetyMode(BOOL);
@@ -297,6 +298,8 @@ struct CDb3Mmap : public CDb3Base
CDb3Mmap(const TCHAR* ptszFileName);
~CDb3Mmap();
+ void StoreKey(void);
+
protected:
virtual DWORD GetSettingsGroupOfsByModuleNameOfs(DBContact *dbc,DWORD ofsContact,DWORD ofsModuleName);
virtual void DBMoveChunk(DWORD ofsDest, DWORD ofsSource, int bytes);
@@ -312,6 +315,8 @@ protected:
void Map();
void ReMap(DWORD needed);
+
+ void InitDialogs();
};
typedef int (CDb3Base::*CheckWorker)(int);