summaryrefslogtreecommitdiff
path: root/protocols/IRCG
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/IRCG
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/IRCG')
-rw-r--r--protocols/IRCG/options.cpp8
-rw-r--r--protocols/IRCG/userinfo.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/protocols/IRCG/options.cpp b/protocols/IRCG/options.cpp
index 25cf9d38b1..61684cbae1 100644
--- a/protocols/IRCG/options.cpp
+++ b/protocols/IRCG/options.cpp
@@ -1722,7 +1722,7 @@ int CIrcProto::OnInitOptionsPages(WPARAM wParam, LPARAM)
odp.dwInitParam = (LPARAM)&OptCreateAccount;
OptCreateAccount.create = CConnectPrefsDlg::Create;
OptCreateAccount.param = this;
- CallService( MS_OPT_ADDPAGE,wParam,(LPARAM)&odp);
+ Options_AddPage(wParam, &odp);
odp.flags |= ODPF_EXPERTONLY;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_PREFS_CTCP);
@@ -1730,21 +1730,21 @@ int CIrcProto::OnInitOptionsPages(WPARAM wParam, LPARAM)
odp.dwInitParam = (LPARAM)&OptCreateConn;
OptCreateConn.create = CCtcpPrefsDlg::Create;
OptCreateConn.param = this;
- CallService( MS_OPT_ADDPAGE,wParam,(LPARAM)&odp);
+ Options_AddPage(wParam, &odp);
odp.pszTemplate = MAKEINTRESOURCEA(IDD_PREFS_OTHER);
odp.ptszTab = LPGENT("Advanced");
odp.dwInitParam = (LPARAM)&OptCreateOther;
OptCreateOther.create = COtherPrefsDlg::Create;
OptCreateOther.param = this;
- CallService( MS_OPT_ADDPAGE,wParam,(LPARAM)&odp);
+ Options_AddPage(wParam, &odp);
odp.pszTemplate = MAKEINTRESOURCEA(IDD_PREFS_IGNORE);
odp.ptszTab = LPGENT("Ignore");
odp.dwInitParam = (LPARAM)&OptCreateIgnore;
OptCreateIgnore.create = CIgnorePrefsDlg::Create;
OptCreateIgnore.param = this;
- CallService( MS_OPT_ADDPAGE,wParam,(LPARAM)&odp);
+ Options_AddPage(wParam, &odp);
return 0;
}
diff --git a/protocols/IRCG/userinfo.cpp b/protocols/IRCG/userinfo.cpp
index d7e8f071b4..8f6378a3ce 100644
--- a/protocols/IRCG/userinfo.cpp
+++ b/protocols/IRCG/userinfo.cpp
@@ -219,6 +219,6 @@ int __cdecl CIrcProto::OnInitUserInfo(WPARAM wParam, LPARAM lParam)
odp.pfnDlgProc = UserDetailsDlgProc;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_USERINFO);
odp.pszTitle = m_szModuleName;
- CallService( MS_USERINFO_ADDPAGE, wParam, (LPARAM) & odp);
+ UserInfo_AddPage(wParam, &odp);
return 0;
}