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 /include | |
| parent | 495c51c74e7d1595c882ae31becb7ab5b4093a08 (diff) | |
UserInfo_AddPage() helper replaced with CMPLugin::addUserInfo()
Diffstat (limited to 'include')
| -rw-r--r-- | include/m_userinfo.h | 5 | ||||
| -rw-r--r-- | include/newpluginapi.h | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/include/m_userinfo.h b/include/m_userinfo.h index 8f4ff6ec67..ffa4861869 100644 --- a/include/m_userinfo.h +++ b/include/m_userinfo.h @@ -76,9 +76,4 @@ All PSN_ WM_NOTIFY messages have PSHNOTIFY.lParam = (LPARAM)hContact #define PSN_PARAMCHANGED 2
#define PSM_FORCECHANGED (WM_USER+100) //force-send a PSN_INFOCHANGED to all pages
-__forceinline INT_PTR UserInfo_AddPage(WPARAM wParam, OPTIONSDIALOGPAGE* odp)
-{ odp->langId = hLangpack;
- return CallService("UserInfo/AddPage", wParam, (LPARAM)odp);
-}
-
#endif // M_USERINFO_H__
diff --git a/include/newpluginapi.h b/include/newpluginapi.h index e8bc7b4435..ed6d733bcb 100644 --- a/include/newpluginapi.h +++ b/include/newpluginapi.h @@ -194,6 +194,7 @@ public: }
int addSound(const char *name, const wchar_t *section, const wchar_t *description, const wchar_t *defaultFile = nullptr);
+ int addUserInfo(WPARAM wParam, struct OPTIONSDIALOGPAGE *odp);
////////////////////////////////////////////////////////////////////////////////////////
|
