From 1cd15bc24f7e8cb87e9a9b96dd05ce62ce58cf0d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 7 Mar 2018 21:52:27 +0300 Subject: old C-style code is obsolete now because of MDatabaseCommon existence --- include/m_db_int.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'include') 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__ -- cgit v1.2.3