summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-07 21:52:27 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-07 21:52:27 +0300
commit1cd15bc24f7e8cb87e9a9b96dd05ce62ce58cf0d (patch)
treea51a5fdefa1f8e5b2546547d48894867ced740b3 /include
parentfe0a3147a8050a987281beb4b5e1481b982c93bc (diff)
old C-style code is obsolete now because of MDatabaseCommon existence
Diffstat (limited to 'include')
-rw-r--r--include/m_db_int.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/m_db_int.h b/include/m_db_int.h
index fd10999153..19d5377039 100644
--- a/include/m_db_int.h
+++ b/include/m_db_int.h
@@ -140,6 +140,7 @@ protected:
protected:
MDatabaseCommon();
+ ~MDatabaseCommon();
int CheckProto(DBCachedContact *cc, const char *proto);
@@ -274,12 +275,4 @@ EXTERN_C MIR_APP_DLL(void) RegisterDatabasePlugin(DATABASELINK *pDescr);
EXTERN_C MIR_APP_DLL(DATABASELINK*) FindDatabasePlugin(const wchar_t *ptszFileName);
-// initializes a database instance
-
-EXTERN_C MIR_APP_DLL(void) InitDbInstance(MIDatabase *pDatabase);
-
-// destroys a database instance
-
-EXTERN_C MIR_APP_DLL(void) DestroyDbInstance(MIDatabase *pDatabase);
-
#endif // M_DB_INT_H__