diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-20 16:19:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-20 16:19:56 +0300 |
commit | e2530b85347a8e0a3344174c3575284a76f512aa (patch) | |
tree | af7282360d4c57aa26c1d9de260505583076c933 /src/core | |
parent | 495c51c74e7d1595c882ae31becb7ab5b4093a08 (diff) |
UserInfo_AddPage() helper replaced with CMPLugin::addUserInfo()
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stduserinfo/src/stdinfo.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/stduserinfo/src/stdinfo.cpp b/src/core/stduserinfo/src/stdinfo.cpp index 5892e57f6c..1cf54246b4 100644 --- a/src/core/stduserinfo/src/stdinfo.cpp +++ b/src/core/stduserinfo/src/stdinfo.cpp @@ -614,36 +614,36 @@ int DetailsInit(WPARAM wParam, LPARAM lParam) odp.position = -2100000000;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO_SUMMARY);
odp.szTitle.a = LPGEN("Summary");
- UserInfo_AddPage(wParam, &odp);
+ g_plugin.addUserInfo(wParam, &odp);
odp.pfnDlgProc = ContactDlgProc;
odp.position = -1800000000;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO_CONTACT);
odp.szTitle.a = LPGEN("Contact");
- UserInfo_AddPage(wParam, &odp);
+ g_plugin.addUserInfo(wParam, &odp);
odp.pfnDlgProc = LocationDlgProc;
odp.position = -1500000000;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO_LOCATION);
odp.szTitle.a = LPGEN("Location");
- UserInfo_AddPage(wParam, &odp);
+ g_plugin.addUserInfo(wParam, &odp);
odp.pfnDlgProc = WorkDlgProc;
odp.position = -1200000000;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO_WORK);
odp.szTitle.a = LPGEN("Work");
- UserInfo_AddPage(wParam, &odp);
+ g_plugin.addUserInfo(wParam, &odp);
odp.pfnDlgProc = BackgroundDlgProc;
odp.position = -900000000;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO_BACKGROUND);
odp.szTitle.a = LPGEN("Background info");
- UserInfo_AddPage(wParam, &odp);
+ g_plugin.addUserInfo(wParam, &odp);
odp.pfnDlgProc = NotesDlgProc;
odp.position = 0;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO_NOTES);
odp.szTitle.a = LPGEN("Notes");
- UserInfo_AddPage(wParam, &odp);
+ g_plugin.addUserInfo(wParam, &odp);
return 0;
}
|