From 2f1b8c756066316c59be907bcd94a73cae5e3a7b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 24 Mar 2015 18:51:51 +0000 Subject: UI Utils classes & templates moved to the core, thus allowing any plugin to use them git-svn-id: http://svn.miranda-ng.org/main/trunk@12492 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/protocols/protoopts.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/modules/protocols/protoopts.cpp') diff --git a/src/modules/protocols/protoopts.cpp b/src/modules/protocols/protoopts.cpp index 68b341fbda..f5d6a7a04d 100644 --- a/src/modules/protocols/protoopts.cpp +++ b/src/modules/protocols/protoopts.cpp @@ -30,7 +30,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define WM_MY_REFRESH (WM_USER+0x1000) #define WM_MY_RENAME (WM_USER+0x1001) -INT_PTR Proto_EnumProtocols(WPARAM, LPARAM); bool CheckProtocolOrder(void); #define errMsg \ @@ -181,9 +180,9 @@ static INT_PTR CALLBACK AccFormDlgProc(HWND hwndDlg, UINT message, WPARAM wParam case WM_INITDIALOG: TranslateDialogDefault(hwndDlg); { - PROTOCOLDESCRIPTOR** proto; + PROTOCOLDESCRIPTOR **proto; int protoCount, i, cnt = 0; - Proto_EnumProtocols((WPARAM)&protoCount, (LPARAM)&proto); + CallService(MS_PROTO_ENUMPROTOS, (WPARAM)&protoCount, (LPARAM)&proto); for (i = 0; i < protoCount; i++) { PROTOCOLDESCRIPTOR* pd = proto[i]; if (pd->type == PROTOTYPE_PROTOCOL && pd->cbSize == sizeof(*pd)) { -- cgit v1.2.3