summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-06 21:05:08 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-06 21:05:17 +0300
commitaade717f024f4791547586c81fad7ae61991ed1a (patch)
tree82102555c2339e6991d955188b69229cab4e1f1f /src
parent6eb78de492e0b2432e5fe2351e90731d1ba117e3 (diff)
CLIST_INTERFACE::pfnSaveStateAndRebuildList => Clist_SaveStateAndRebuildList
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/clc.cpp10
-rw-r--r--src/mir_app/src/clc.h1
-rw-r--r--src/mir_app/src/clcitems.cpp2
-rw-r--r--src/mir_app/src/clcutils.cpp2
-rw-r--r--src/mir_app/src/clistcore.cpp1
-rw-r--r--src/mir_app/src/mir_app.def1
-rw-r--r--src/mir_app/src/mir_app64.def1
7 files changed, 9 insertions, 9 deletions
diff --git a/src/mir_app/src/clc.cpp b/src/mir_app/src/clc.cpp
index a0a1f2f9f7..31d18d02c2 100644
--- a/src/mir_app/src/clc.cpp
+++ b/src/mir_app/src/clc.cpp
@@ -299,7 +299,7 @@ LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT uMsg, WPARAM wParam
case INTM_RELOADOPTIONS:
cli.pfnLoadClcOptions(hwnd, dat, FALSE);
- cli.pfnSaveStateAndRebuildList(hwnd, dat);
+ Clist_SaveStateAndRebuildList(hwnd, dat);
break;
case WM_THEMECHANGED:
@@ -414,7 +414,7 @@ LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT uMsg, WPARAM wParam
break; //only expanded has changed: no action reqd
}
}
- cli.pfnSaveStateAndRebuildList(hwnd, dat);
+ Clist_SaveStateAndRebuildList(hwnd, dat);
}
break;
@@ -790,7 +790,7 @@ LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT uMsg, WPARAM wParam
}
if (dat->bFilterSearch)
- cli.pfnSaveStateAndRebuildList(hwnd, dat);
+ Clist_SaveStateAndRebuildList(hwnd, dat);
if (dat->szQuickSearch[0]) {
int index;
@@ -800,7 +800,7 @@ LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT uMsg, WPARAM wParam
else {
MessageBeep(MB_OK);
dat->szQuickSearch[mir_wstrlen(dat->szQuickSearch) - 1] = '\0';
- cli.pfnSaveStateAndRebuildList(hwnd, dat);
+ Clist_SaveStateAndRebuildList(hwnd, dat);
}
cli.pfnInvalidateRect(hwnd, nullptr, FALSE);
Clist_EnsureVisible(hwnd, dat, dat->selection, 0);
@@ -872,7 +872,7 @@ LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT uMsg, WPARAM wParam
case TIMERID_REBUILDAFTER:
KillTimer(hwnd, TIMERID_REBUILDAFTER);
cli.pfnInvalidateRect(hwnd, nullptr, FALSE);
- cli.pfnSaveStateAndRebuildList(hwnd, dat);
+ Clist_SaveStateAndRebuildList(hwnd, dat);
cli.bAutoRebuild = false;
break;
diff --git a/src/mir_app/src/clc.h b/src/mir_app/src/clc.h
index c8b0063219..5427afd777 100644
--- a/src/mir_app/src/clc.h
+++ b/src/mir_app/src/clc.h
@@ -68,7 +68,6 @@ void fnDeleteItemFromTree(HWND hwnd, MCONTACT hItem);
void fnRebuildEntireList(HWND hwnd, ClcData *dat);
int fnGetGroupContentsCount(ClcGroup *group, int visibleOnly);
void fnSortCLC(HWND hwnd, ClcData *dat, int useInsertionSort);
-void fnSaveStateAndRebuildList(HWND hwnd, ClcData *dat);
int fnGetContactHiddenStatus(MCONTACT hContact, char *szProto, ClcData *dat);
/* clcmsgs.c */
diff --git a/src/mir_app/src/clcitems.cpp b/src/mir_app/src/clcitems.cpp
index 0ab68940a7..7b03b4c79c 100644
--- a/src/mir_app/src/clcitems.cpp
+++ b/src/mir_app/src/clcitems.cpp
@@ -611,7 +611,7 @@ struct SavedInfoState_t
ClcContact contact;
};
-void fnSaveStateAndRebuildList(HWND hwnd, ClcData *dat)
+MIR_APP_DLL(void) Clist_SaveStateAndRebuildList(HWND hwnd, ClcData *dat)
{
Clist_HideInfoTip(dat);
KillTimer(hwnd, TIMERID_INFOTIP);
diff --git a/src/mir_app/src/clcutils.cpp b/src/mir_app/src/clcutils.cpp
index 74e4039e38..c8ce0a8b68 100644
--- a/src/mir_app/src/clcutils.cpp
+++ b/src/mir_app/src/clcutils.cpp
@@ -362,7 +362,7 @@ MIR_APP_DLL(void) Clist_DoSelectionDefaultAction(HWND hwnd, ClcData *dat)
Clist_ContactDoubleClicked(contact->hContact);
if (dat->bFilterSearch && bSearchExisted)
- cli.pfnSaveStateAndRebuildList(hwnd, dat);
+ Clist_SaveStateAndRebuildList(hwnd, dat);
}
int fnFindRowByText(HWND hwnd, ClcData *dat, const wchar_t *text, int prefixOk)
diff --git a/src/mir_app/src/clistcore.cpp b/src/mir_app/src/clistcore.cpp
index eb10cce9fd..d02bf30d1b 100644
--- a/src/mir_app/src/clistcore.cpp
+++ b/src/mir_app/src/clistcore.cpp
@@ -86,7 +86,6 @@ void InitClistCore()
cli.pfnRebuildEntireList = fnRebuildEntireList;
cli.pfnGetGroupContentsCount = fnGetGroupContentsCount;
cli.pfnSortCLC = fnSortCLC;
- cli.pfnSaveStateAndRebuildList = fnSaveStateAndRebuildList;
cli.pfnProcessExternalMessages = fnProcessExternalMessages;
diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def
index e88ae9c037..21405afe61 100644
--- a/src/mir_app/src/mir_app.def
+++ b/src/mir_app/src/mir_app.def
@@ -572,3 +572,4 @@ Clist_EndRename @591
Clist_DoSelectionDefaultAction @592
Clist_EnsureVisible @593
Clist_GetGroupCountsText @594
+Clist_SaveStateAndRebuildList @595
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def
index 8e84b5fcd6..695cefa63e 100644
--- a/src/mir_app/src/mir_app64.def
+++ b/src/mir_app/src/mir_app64.def
@@ -572,3 +572,4 @@ Clist_EndRename @591
Clist_DoSelectionDefaultAction @592
Clist_EnsureVisible @593
Clist_GetGroupCountsText @594
+Clist_SaveStateAndRebuildList @595