summaryrefslogtreecommitdiff
path: root/protocols/MRA
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-18 20:53:59 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-18 20:53:59 +0000
commit3f23417a1099f73dc28ec1b7d6ec2a1a7fc2b7a2 (patch)
tree3e0bcd88c55dad310da0dc980e252bf9fbfa6dc5 /protocols/MRA
parent537b94169bf2483798a651ee3b96f7904eebe7b4 (diff)
- PLUGININFO structure removed at all;
- Options_AddPage & UserInfo_AddPage replaced MS_OPT_ADDPAGE & MS_USERINFO_ADDPAGE services respectively - total internal redesign of options' translation - code reformatting git-svn-id: http://svn.miranda-ng.org/main/trunk@477 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA')
-rw-r--r--protocols/MRA/MraPopUp.cpp2
-rw-r--r--protocols/MRA/Mra_options.cpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/protocols/MRA/MraPopUp.cpp b/protocols/MRA/MraPopUp.cpp
index 00247bd3a7..67cf3ad263 100644
--- a/protocols/MRA/MraPopUp.cpp
+++ b/protocols/MRA/MraPopUp.cpp
@@ -38,7 +38,7 @@ int MraPopupOptInit(WPARAM wParam,LPARAM lParam)
odp.flags = (ODPF_BOLDGROUPS | ODPF_UNICODE);
odp.nIDBottomSimpleControl = IDC_GROUPMAIN;
odp.pfnDlgProc = MraPopupDlgProcOpts;
- CallService(MS_OPT_ADDPAGE, wParam, (LPARAM)&odp);
+ Options_AddPage(wParam, &odp);
}
return(0);
}
diff --git a/protocols/MRA/Mra_options.cpp b/protocols/MRA/Mra_options.cpp
index d478ac5308..664a9ce8a6 100644
--- a/protocols/MRA/Mra_options.cpp
+++ b/protocols/MRA/Mra_options.cpp
@@ -20,27 +20,27 @@ int OptInit(WPARAM wParam,LPARAM lParam)
odp.pszTab="Account";
odp.pszTemplate=MAKEINTRESOURCEA(IDD_OPT_ACCOUNT);
odp.pfnDlgProc=DlgProcOptsAccount;
- CallService(MS_OPT_ADDPAGE,wParam,(LPARAM)&odp);
+ Options_AddPage(wParam,&odp);
odp.pszTab="Connections";
odp.pszTemplate=MAKEINTRESOURCEA(IDD_OPT_CONNECTIONS);
odp.pfnDlgProc=DlgProcOptsConnections;
- CallService(MS_OPT_ADDPAGE,wParam,(LPARAM)&odp);
+ Options_AddPage(wParam,&odp);
odp.pszTab="Anti spam";
odp.pszTemplate=MAKEINTRESOURCEA(IDD_OPT_ANTISPAM);
odp.pfnDlgProc=MraAntiSpamDlgProcOpts;
- CallService(MS_OPT_ADDPAGE,wParam,(LPARAM)&odp);
+ Options_AddPage(wParam,&odp);
odp.pszTab="Files";
odp.pszTemplate=MAKEINTRESOURCEA(IDD_OPT_FILES);
odp.pfnDlgProc=MraFilesQueueDlgProcOpts;
- CallService(MS_OPT_ADDPAGE,wParam,(LPARAM)&odp);
+ Options_AddPage(wParam,&odp);
odp.pszTab="Avatars";
odp.pszTemplate=MAKEINTRESOURCEA(IDD_OPT_AVATRS);
odp.pfnDlgProc=MraAvatarsQueueDlgProcOpts;
- CallService(MS_OPT_ADDPAGE,wParam,(LPARAM)&odp);
+ Options_AddPage(wParam,&odp);
MraPopupOptInit(wParam,lParam);
return(0);