diff options
author | Ankit Vani <a@nevitus.org> | 2013-09-04 20:38:42 +0530 |
---|---|---|
committer | Ankit Vani <a@nevitus.org> | 2013-09-04 20:38:42 +0530 |
commit | 2378e6b6be85f027d73a95ed8c5b18e9c9e30c4d (patch) | |
tree | 89d401367e92d00bae27e84e9d115acbf6fd73b2 /libpurple/protocols.h | |
parent | d3f9c421d2ecbb2bab15fa67aceda39285253a09 (diff) | |
download | pidgin-2378e6b6be85f027d73a95ed8c5b18e9c9e30c4d.tar.gz |
Added PurpleProtocolOverrideFlags and purple_protocol_override()
Diffstat (limited to 'libpurple/protocols.h')
-rw-r--r-- | libpurple/protocols.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libpurple/protocols.h b/libpurple/protocols.h index e4e9ea4fe1..01fad224b6 100644 --- a/libpurple/protocols.h +++ b/libpurple/protocols.h @@ -46,7 +46,8 @@ typedef struct _PurpleAttentionType PurpleAttentionType; /** @name Basic Protocol Information */ /**************************************************************************/ -typedef enum { +typedef enum /*< flags >*/ +{ PURPLE_ICON_SCALE_DISPLAY = 0x01, /**< We scale the icon when we display it */ PURPLE_ICON_SCALE_SEND = 0x02 /**< We scale the icon before we send it to the server */ } PurpleIconScaleRules; @@ -62,7 +63,7 @@ typedef struct _PurpleProtocolChatEntry PurpleProtocolChatEntry; * * These should all be stuff that some protocols can do and others can't. */ -typedef enum +typedef enum /*< flags >*/ { /** * User names are unique to a chat and are not shared between rooms. |