summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/constants.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-09-19 15:42:26 +0000
committerRobert Pösel <robyer@seznam.cz>2014-09-19 15:42:26 +0000
commit4279c9e641b798b68eb4d520228fc37445264c78 (patch)
treebfae40114dbdb5e7cf826c3e1f8c42afcf097be4 /protocols/FacebookRM/src/constants.h
parent9ed60637b814fb9303b4bebefacf8e88e5b52383 (diff)
Facebook: Receive info (message) about missed video call
git-svn-id: http://svn.miranda-ng.org/main/trunk@10520 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/constants.h')
-rw-r--r--protocols/FacebookRM/src/constants.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/constants.h b/protocols/FacebookRM/src/constants.h
index 1e2c9fc1a6..d2fd847e69 100644
--- a/protocols/FacebookRM/src/constants.h
+++ b/protocols/FacebookRM/src/constants.h
@@ -100,6 +100,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SEND_MESSAGE_ERROR 1
#define SEND_MESSAGE_CANCEL -1
+// 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
@@ -164,6 +167,11 @@ enum ClientType {
CLIENT_MOBILE = 5 // Facebook on unknown mobile client (can't be determined for offline contacts)
};
+enum MessageType {
+ MESSAGE = 1, // Classic message
+ CALL = 2, // Video call
+};
+
typedef struct {
const char *name;
const char *id;