From 68d3fd47bb9b75e65859d14199ffee01f16ac9a7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Feb 2014 20:47:51 +0000 Subject: HCONTACT is not needed anymore git-svn-id: http://svn.miranda-ng.org/main/trunk@8086 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/BasicHistory/src/EventList.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins/BasicHistory/src/EventList.h') diff --git a/plugins/BasicHistory/src/EventList.h b/plugins/BasicHistory/src/EventList.h index 35d675e4d4..d2640a185e 100644 --- a/plugins/BasicHistory/src/EventList.h +++ b/plugins/BasicHistory/src/EventList.h @@ -72,7 +72,7 @@ private: std::wstring file; }; - static std::map contactFileMap; + static std::map contactFileMap; static std::wstring contactFileDir; bool CanShowHistory(DBEVENTINFO* dbei); @@ -80,7 +80,7 @@ private: void InitFilters(); void InitNames(); void AddGroup(const EventIndex& ev); - void GetTempList(std::list& tempList, bool noFilter, bool noExt, HCONTACT _hContact); + void GetTempList(std::list& tempList, bool noFilter, bool noExt, MCONTACT _hContact); void ImportMessages(const std::vector& messages); protected: TCHAR contactName[256]; @@ -102,11 +102,11 @@ protected: void RebuildGroup(int selected); public: EventList(); - EventList(HCONTACT _hContact, int filter); + EventList(MCONTACT _hContact, int filter); ~EventList(); HWND hWnd; - HCONTACT hContact; + MCONTACT hContact; std::vector > eventList; bool useImportedMessages; @@ -116,7 +116,7 @@ public: int GetFilterNr(); std::wstring GetFilterName(); void RefreshEventList(); - bool SearchInContact(HCONTACT hContact, TCHAR *strFind, ComparatorInterface* compFun); + bool SearchInContact(MCONTACT hContact, TCHAR *strFind, ComparatorInterface* compFun); std::wstring GetContactName(); std::wstring GetMyName(); std::wstring GetProtocolName(); @@ -124,10 +124,10 @@ public: std::wstring GetContactId(); std::string GetBaseProtocol(); void MargeMessages(const std::vector& messages); - static void AddImporter(HCONTACT hContact, IImport::ImportType type, const std::wstring& file); - static int GetContactMessageNumber(HCONTACT hContact); - static bool IsImportedHistory(HCONTACT hContact); - static void DeleteImporter(HCONTACT hContact); + static void AddImporter(MCONTACT hContact, IImport::ImportType type, const std::wstring& file); + static int GetContactMessageNumber(MCONTACT hContact); + static bool IsImportedHistory(MCONTACT hContact); + static void DeleteImporter(MCONTACT hContact); static void GetObjectDescription( DBEVENTINFO *dbei, TCHAR* str, int cbStr ); bool GetEventData(const EventIndex& ev, EventData& data); void GetExtEventDBei(const EventIndex& ev); -- cgit v1.2.3