From 6c38539e9b3d5a72280950310253759085e96f01 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 28 Jan 2016 13:20:34 +0000 Subject: unused functions removed git-svn-id: http://svn.miranda-ng.org/main/trunk@16179 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/init.cpp | 1 - plugins/Clist_modern/src/modern_clistevents.cpp | 6 ------ plugins/Clist_modern/src/modern_commonprototypes.h | 1 - plugins/Clist_nicer/src/clistevents.cpp | 9 --------- plugins/Clist_nicer/src/init.cpp | 2 -- 5 files changed, 19 deletions(-) (limited to 'plugins') diff --git a/plugins/Clist_modern/src/init.cpp b/plugins/Clist_modern/src/init.cpp index e1b72f12d1..1cf1580f90 100644 --- a/plugins/Clist_modern/src/init.cpp +++ b/plugins/Clist_modern/src/init.cpp @@ -171,7 +171,6 @@ static HRESULT SubclassClistInterface() pcli->pfnGetRowByIndex = cliGetRowByIndex; pcli->pfnGetRowsPriorTo = cliGetRowsPriorTo; pcli->pfnGetGroupContentsCount = cliGetGroupContentsCount; - pcli->pfnCreateEvent = cliCreateEvent; pcli->pfnFindRowByText = cliFindRowByText; //partialy overloaded - call default handlers from inside diff --git a/plugins/Clist_modern/src/modern_clistevents.cpp b/plugins/Clist_modern/src/modern_clistevents.cpp index 6ea11cdc73..d5b92c3624 100644 --- a/plugins/Clist_modern/src/modern_clistevents.cpp +++ b/plugins/Clist_modern/src/modern_clistevents.cpp @@ -83,12 +83,6 @@ static CLISTEVENT* MyGetEvent(int iSelection) } -CListEvent* cliCreateEvent(void) -{ - CListEvent *p = (CListEvent *)mir_calloc(sizeof(CListEvent)); - return p; -} - CListEvent* cli_AddEvent(CLISTEVENT *cle) { CListEvent* p = corecli.pfnAddEvent(cle); diff --git a/plugins/Clist_modern/src/modern_commonprototypes.h b/plugins/Clist_modern/src/modern_commonprototypes.h index 4e7833944c..150d69d9a2 100644 --- a/plugins/Clist_modern/src/modern_commonprototypes.h +++ b/plugins/Clist_modern/src/modern_commonprototypes.h @@ -270,7 +270,6 @@ TCHAR* cli_GetGroupCountsText(ClcData *dat, ClcContact *contact); void cli_ChangeContactIcon(MCONTACT hContact, int iIcon, int add); void cli_SetContactCheckboxes(ClcContact*, int); LRESULT cli_ProcessExternalMessages(HWND hwnd, ClcData *dat, UINT msg, WPARAM wParam, LPARAM lParam); -CListEvent* cliCreateEvent(void); CListEvent* cli_AddEvent(CLISTEVENT *cle); LRESULT CALLBACK cli_ContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); int cliShowHide(WPARAM wParam, LPARAM lParam); diff --git a/plugins/Clist_nicer/src/clistevents.cpp b/plugins/Clist_nicer/src/clistevents.cpp index 5e87211e03..751964edb2 100644 --- a/plugins/Clist_nicer/src/clistevents.cpp +++ b/plugins/Clist_nicer/src/clistevents.cpp @@ -45,15 +45,6 @@ extern HIMAGELIST hCListImages; HANDLE hNotifyFrame = (HANDLE)-1; -CListEvent* fnCreateEvent(void) -{ - CListEvent *p = reinterpret_cast(mir_alloc(sizeof(CListEvent))); - if (p) - memset(p, 0, sizeof(CListEvent)); - - return p; -} - void HideShowNotifyFrame() { int dwVisible = CallService(MS_CLIST_FRAMES_GETFRAMEOPTIONS, MAKEWPARAM(FO_FLAGS, hNotifyFrame), 0) & F_VISIBLE; diff --git a/plugins/Clist_nicer/src/init.cpp b/plugins/Clist_nicer/src/init.cpp index 452676eefb..be03a06270 100644 --- a/plugins/Clist_nicer/src/init.cpp +++ b/plugins/Clist_nicer/src/init.cpp @@ -40,7 +40,6 @@ extern int Docking_ProcessWindowMessage(WPARAM wParam, LPARAM lParam); extern int SetHideOffline(WPARAM wParam, LPARAM lParam); ClcContact *CreateClcContact(void); -CListEvent *fnCreateEvent(void); void ReloadThemedOptions(); int TrayCalcChanged(const char *szChangedProto, int averageMode, int iProtoCount); void LoadButtonModule(); @@ -194,7 +193,6 @@ extern "C" int __declspec(dllexport) CListInitialise() pcli->pfnCluiProtocolStatusChanged = CluiProtocolStatusChanged; pcli->pfnCompareContacts = CompareContacts; pcli->pfnCreateClcContact = CreateClcContact; - pcli->pfnCreateEvent = fnCreateEvent; pcli->pfnDocking_ProcessWindowMessage = Docking_ProcessWindowMessage; pcli->pfnGetDefaultFontSetting = GetDefaultFontSetting; pcli->pfnGetRowBottomY = RowHeight::getItemBottomY; -- cgit v1.2.3