From 8234832e06e873df035270f162d7d151fbf6e7eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 4 Sep 2016 14:04:49 +0000 Subject: Facebook: Massive rewrite of all communication requests Note it doesn't use persistent connection yet. git-svn-id: http://svn.miranda-ng.org/main/trunk@17246 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/constants.h | 45 ------------------------------------ 1 file changed, 45 deletions(-) (limited to 'protocols/FacebookRM/src/constants.h') diff --git a/protocols/FacebookRM/src/constants.h b/protocols/FacebookRM/src/constants.h index 058d0defec..5bcc095479 100644 --- a/protocols/FacebookRM/src/constants.h +++ b/protocols/FacebookRM/src/constants.h @@ -113,51 +113,6 @@ along with this program. If not, see . // Event types #define FACEBOOK_EVENTTYPE_CALL 10010 -// Facebook request types // TODO: Provide MS_ and release in FB plugin API? -enum RequestType { - REQUEST_LOGIN, // connecting physically - REQUEST_LOGOUT, // disconnecting physically - REQUEST_SETUP_MACHINE, // setting machine name - REQUEST_HOME, // getting own name, avatar, ... - REQUEST_DTSG, // getting __fb_dtsg__ - REQUEST_RECONNECT, // getting __sequence_num__ and __channel_id__ - REQUEST_VISIBILITY, // setting chat visibility - REQUEST_IDENTITY_SWITCH, // changing identity to post status for pages - REQUEST_CAPTCHA_REFRESH, // refreshing captcha dialog (changing captcha type) - REQUEST_LOGIN_SMS, // request to receive login code via SMS - REQUEST_PROFILE_PICTURE, // request mobile page containing profile picture - - REQUEST_FEEDS, // getting feeds - REQUEST_NOTIFICATIONS, // getting notifications - REQUEST_LOAD_FRIENDSHIPS, // getting friendship requests - REQUEST_PAGES, // getting pages list - REQUEST_ON_THIS_DAY, // getting on this day posts - - REQUEST_POST_STATUS, // posting status to our or friends's wall - REQUEST_LINK_SCRAPER, // getting data for some url link - REQUEST_SEARCH, // searching - REQUEST_POKE, // sending pokes - REQUEST_NOTIFICATIONS_READ, // marking notifications read - - REQUEST_USER_INFO, // getting info about particular friend - REQUEST_USER_INFO_ALL, // getting info about all friends - REQUEST_USER_INFO_MOBILE, // getting info about particular user (from mobile website) - REQUEST_ADD_FRIEND, // requesting friendships - REQUEST_DELETE_FRIEND, // deleting friendships - REQUEST_CANCEL_FRIENDSHIP, // canceling (our) friendship request - REQUEST_FRIENDSHIP, // approving or ignoring friendship requests - - REQUEST_MESSAGES_SEND, // sending messages - REQUEST_MESSAGES_RECEIVE, // receiving messages and other realtime actions - REQUEST_ACTIVE_PING, // sending activity ping - REQUEST_TYPING_SEND, // sending typing notification - - REQUEST_THREAD_INFO, // getting thread info - REQUEST_THREAD_SYNC, // getting thread sync (changes since something) - REQUEST_UNREAD_THREADS, // getting unread threads - REQUEST_MARK_READ // marking messages read -}; - enum ContactType { CONTACT_FRIEND = 1, // contact that IS on our server list CONTACT_NONE = 2, // contact that ISN'T on our server list -- cgit v1.2.3