diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/mir_app.def | 1 | ||||
-rw-r--r-- | src/mir_app/src/mir_app64.def | 1 | ||||
-rw-r--r-- | src/mir_app/src/proto_utils.cpp | 5 |
3 files changed, 7 insertions, 0 deletions
diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def index 892a952925..210f167b8f 100644 --- a/src/mir_app/src/mir_app.def +++ b/src/mir_app/src/mir_app.def @@ -684,3 +684,4 @@ ImageList_AddProtoIcon @773 ImageList_AddSkinIcon @774
Clist_GetGroup @775
Clist_SetGroup @776
+?ReportSelfAvatarChanged@PROTO_INTERFACE@@QAEXXZ @777 NONAME
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def index 6db702af0e..132aa6225b 100644 --- a/src/mir_app/src/mir_app64.def +++ b/src/mir_app/src/mir_app64.def @@ -684,3 +684,4 @@ ImageList_AddProtoIcon @773 ImageList_AddSkinIcon @774
Clist_GetGroup @775
Clist_SetGroup @776
+?ReportSelfAvatarChanged@PROTO_INTERFACE@@QEAAXXZ @777 NONAME
diff --git a/src/mir_app/src/proto_utils.cpp b/src/mir_app/src/proto_utils.cpp index 12d6ac1202..06b775cf7a 100644 --- a/src/mir_app/src/proto_utils.cpp +++ b/src/mir_app/src/proto_utils.cpp @@ -268,6 +268,11 @@ void PROTO_INTERFACE::WindowUnsubscribe(HWND hwnd) /////////////////////////////////////////////////////////////////////////////////////////
// avatar support
+void PROTO_INTERFACE::ReportSelfAvatarChanged()
+{
+ CallService(MS_AV_REPORTMYAVATARCHANGED, (WPARAM)m_szModuleName);
+}
+
MIR_APP_DLL(LPCTSTR) ProtoGetAvatarExtension(int format)
{
if (format == PA_FORMAT_PNG)
|