diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-06 20:28:53 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-06 20:28:53 +0000 |
commit | 6e5224b87eb2ce2a95da956611e89826f01078bd (patch) | |
tree | 98b2e0b41c0f9924439d96a9ff79543f5b9b5c49 /include | |
parent | 4560967c575a88dfc7574f3f60bf890e71a7dc1c (diff) |
nasty crutch for the stupid dbx_mmap
git-svn-id: http://svn.miranda-ng.org/main/trunk@12642 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r-- | include/delphi/m_db_int.inc | 3 | ||||
-rw-r--r-- | include/m_db_int.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/delphi/m_db_int.inc b/include/delphi/m_db_int.inc index 29ffc6844e..9511534cae 100644 --- a/include/delphi/m_db_int.inc +++ b/include/delphi/m_db_int.inc @@ -71,6 +71,7 @@ type TMIDatabase = record
m_cache: PMIDatabaseCache;
+ IsRelational:function():long; stdcall;
SetCacheSafetyMode:procedure(val:bool); stdcall;
GetContactCount:function():long; stdcall;
@@ -162,7 +163,7 @@ const EGROKPRF_UNKHEADER = 2; // header not supported, not a supported profile
EGROKPRF_VERNEWER = 3; // header correct, version in profile newer than reader/writer
EGROKPRF_DAMAGED = 4; // header/version fine, other internal data missing, damaged.
- EGROKPRF_OBSOLETE = 5; // obsolete database version detected, requiring conversion
+ EGROKPRF_OBSOLETE = 5; // obsolete database version detected, requiring conversion
// makeDatabase() error codes
EMKPRF_CREATEFAILED = 1; // for some reason CreateFile() didnt like something
diff --git a/include/m_db_int.h b/include/m_db_int.h index a38c07f140..07dbc871fe 100644 --- a/include/m_db_int.h +++ b/include/m_db_int.h @@ -84,6 +84,7 @@ interface MIDatabase {
MIDatabaseCache* m_cache;
+ STDMETHOD_(BOOL, IsRelational)(void) PURE;
STDMETHOD_(void, SetCacheSafetyMode)(BOOL) PURE;
STDMETHOD_(LONG, GetContactCount)(void) PURE;
|