diff options
author | George Hazan <ghazan@miranda.im> | 2019-12-27 19:47:00 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-12-27 19:47:00 +0300 |
commit | 42b48e4121e22cea97a9d4fc4c671b59004c77b9 (patch) | |
tree | ec02a9b233e8fac6993cd6841cc0f7c280929e00 /protocols/Facebook/src/proto.h | |
parent | 16972f022733285ca95c14b829f1f982924de727 (diff) |
Facebook: reading users' avatars
Diffstat (limited to 'protocols/Facebook/src/proto.h')
-rw-r--r-- | protocols/Facebook/src/proto.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/protocols/Facebook/src/proto.h b/protocols/Facebook/src/proto.h index 3e14326a14..6a91ca9fbd 100644 --- a/protocols/Facebook/src/proto.h +++ b/protocols/Facebook/src/proto.h @@ -290,7 +290,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. * 0: xma_id */ #define FB_API_QUERY_XMA 10153919431161729 -#define FB_API_QUERY_XMA_STR (#FB_API_QUERY_XMA) /** * FB_API_CONTACTS_COUNT: @@ -360,6 +359,10 @@ class FacebookProto : public PROTO<FacebookProto> AsyncHttpRequest *CreateRequestGQL(int64_t id); NETLIBHTTPREQUEST *ExecuteRequest(AsyncHttpRequest *pReq); + // Avatars + void __cdecl AvatarsUpdate(void *); + void GetAvatarFilename(MCONTACT hContact, wchar_t *pwszFileName); + // MQTT void MqttLogin(); @@ -423,6 +426,7 @@ public: // options CMOption<wchar_t *> m_wszDefaultGroup; // clist group to store contacts + CMOption<BYTE> m_bUseBigAvatars; // use big or small avatars by default //////////////////////////////////////////////////////////////////////////////////////// // PROTO_INTERFACE @@ -442,6 +446,8 @@ public: //////////////////////////////////////////////////////////////////////////////////////// // Services + INT_PTR __cdecl GetAvatarCaps(WPARAM, LPARAM); + INT_PTR __cdecl GetAvatarInfo(WPARAM, LPARAM); INT_PTR __cdecl SvcCreateAccMgrUI(WPARAM, LPARAM); }; |