summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/dbintf.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-08-22 15:23:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-08-22 15:23:04 +0300
commit92fec1aa22df4c4f1213d33663637c00b753f451 (patch)
treecc80e435a189a5d4766bdffd08f9997e7fff51b9 /plugins/Db3x_mmap/src/dbintf.h
parent94dde7112f11c5963aa620c692170d02fe65a2a7 (diff)
code cleaning
Diffstat (limited to 'plugins/Db3x_mmap/src/dbintf.h')
-rw-r--r--plugins/Db3x_mmap/src/dbintf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Db3x_mmap/src/dbintf.h b/plugins/Db3x_mmap/src/dbintf.h
index bc40dd4ac8..d5ada71747 100644
--- a/plugins/Db3x_mmap/src/dbintf.h
+++ b/plugins/Db3x_mmap/src/dbintf.h
@@ -38,7 +38,7 @@ DBHeader
| | \-->module name (DBModuleName)
| \-->first/last/firstunread event
|-->user contact (DBContact)
-| |-->next contact = NULL
+| |-->next contact = nullptr
| |-->first settings as above
| \-->first/last/firstunread event as above
\-->first module name (DBModuleName)
@@ -212,8 +212,8 @@ public:
STDMETHODIMP_(void) SetCacheSafetyMode(BOOL);
STDMETHODIMP_(LONG) GetContactCount(void);
- STDMETHODIMP_(MCONTACT) FindFirstContact(const char *szProto = NULL);
- STDMETHODIMP_(MCONTACT) FindNextContact(MCONTACT contactID, const char *szProto = NULL);
+ STDMETHODIMP_(MCONTACT) FindFirstContact(const char *szProto = nullptr);
+ STDMETHODIMP_(MCONTACT) FindNextContact(MCONTACT contactID, const char *szProto = nullptr);
STDMETHODIMP_(LONG) DeleteContact(MCONTACT contactID);
STDMETHODIMP_(MCONTACT) AddContact(void);
STDMETHODIMP_(BOOL) IsDbContact(MCONTACT contactID);
@@ -319,7 +319,7 @@ protected:
// contacts
int WipeContactHistory(DBContact *dbc);
- DWORD GetContactOffset(MCONTACT contactID, DBCachedContact **cc = NULL);
+ DWORD GetContactOffset(MCONTACT contactID, DBCachedContact **cc = nullptr);
////////////////////////////////////////////////////////////////////////////
// events