diff options
author | George Hazan <ghazan@miranda.im> | 2023-02-11 18:58:29 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-02-11 18:58:29 +0300 |
commit | 13c65091dba7803ddc8b604732d3cf3e8cb2fe5d (patch) | |
tree | 77d39ba8d777f24c022d9141fa709165a2e802da /protocols/Facebook/src | |
parent | 70ff82fd507835546c5f9a54e593f8868ab50891 (diff) |
PS_CREATEACCMGRUI is obsoleted and converted into event
Diffstat (limited to 'protocols/Facebook/src')
-rw-r--r-- | protocols/Facebook/src/proto.cpp | 5 | ||||
-rw-r--r-- | protocols/Facebook/src/proto.h | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/protocols/Facebook/src/proto.cpp b/protocols/Facebook/src/proto.cpp index 82043fdf55..ab9a35a58a 100644 --- a/protocols/Facebook/src/proto.cpp +++ b/protocols/Facebook/src/proto.cpp @@ -297,8 +297,7 @@ int FacebookProto::UserIsTyping(MCONTACT hContact, int type) //////////////////////////////////////////////////////////////////////////////
// Services
-INT_PTR FacebookProto::SvcCreateAccMgrUI(WPARAM, LPARAM lParam)
+MWindow FacebookProto::OnCreateAccMgrUI(MWindow hwndParent)
{
- return (INT_PTR) CreateDialogParam(g_plugin.getInst(), MAKEINTRESOURCE(IDD_FACEBOOKACCOUNT),
- (HWND) lParam, FBAccountProc, (LPARAM) this);
+ return CreateDialogParam(g_plugin.getInst(), MAKEINTRESOURCE(IDD_FACEBOOKACCOUNT), hwndParent, FBAccountProc, (LPARAM)this);
}
diff --git a/protocols/Facebook/src/proto.h b/protocols/Facebook/src/proto.h index 20d218b4b1..16a3cbd4c1 100644 --- a/protocols/Facebook/src/proto.h +++ b/protocols/Facebook/src/proto.h @@ -532,6 +532,7 @@ public: int SetStatus(int iNewStatus) override;
int UserIsTyping(MCONTACT hContact, int type) override;
+ MWindow OnCreateAccMgrUI(MWindow) override;
void OnMarkRead(MCONTACT, MEVENT) override;
////////////////////////////////////////////////////////////////////////////////////////
@@ -547,7 +548,6 @@ public: INT_PTR __cdecl GetAvatarCaps(WPARAM, LPARAM);
INT_PTR __cdecl GetAvatarInfo(WPARAM, LPARAM);
- INT_PTR __cdecl SvcCreateAccMgrUI(WPARAM, LPARAM);
};
typedef CProtoDlgBase<FacebookProto> CFBDlgBase;
|