comparison src/conversation.h @ 11338:17142948653e

[gaim-migrate @ 13551] Change the GAIM_CONV_IM and GAIM_CONV_CHAT enums to GAIM_CONV_TYPE_IM and GAIM_CONV_TYPE_CHAT. This touched A LOT of files. Also combined two oscar header files (one of them was small and dorky). committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 25 Aug 2005 02:33:44 +0000
parents b8c93c40ee2e
children 201617d49573
comparison
equal deleted inserted replaced
11337:1462b64f8fc9 11338:17142948653e
42 /** 42 /**
43 * A type of conversation. 43 * A type of conversation.
44 */ 44 */
45 typedef enum 45 typedef enum
46 { 46 {
47 GAIM_CONV_UNKNOWN = 0, /**< Unknown conversation type. */ 47 GAIM_CONV_TYPE_UNKNOWN = 0, /**< Unknown conversation type. */
48 GAIM_CONV_IM, /**< Instant Message. */ 48 GAIM_CONV_TYPE_IM, /**< Instant Message. */
49 GAIM_CONV_CHAT, /**< Chat room. */ 49 GAIM_CONV_TYPE_CHAT, /**< Chat room. */
50 GAIM_CONV_MISC, /**< A misc. conversation. */ 50 GAIM_CONV_TYPE_MISC, /**< A misc. conversation. */
51 GAIM_CONV_ANY /**< Any type of conversation. */ 51 GAIM_CONV_TYPE_ANY /**< Any type of conversation. */
52 52
53 } GaimConversationType; 53 } GaimConversationType;
54 54
55 /** 55 /**
56 * Unseen text states. 56 * Unseen text states.
664 GaimConvWindow *gaim_conversation_get_window(const GaimConversation *conv); 664 GaimConvWindow *gaim_conversation_get_window(const GaimConversation *conv);
665 665
666 /** 666 /**
667 * Returns the specified conversation's IM-specific data. 667 * Returns the specified conversation's IM-specific data.
668 * 668 *
669 * If the conversation type is not GAIM_CONV_IM, this will return @c NULL. 669 * If the conversation type is not GAIM_CONV_TYPE_IM, this will return @c NULL.
670 * 670 *
671 * @param conv The conversation. 671 * @param conv The conversation.
672 * 672 *
673 * @return The IM-specific data. 673 * @return The IM-specific data.
674 */ 674 */
677 #define GAIM_CONV_IM(c) (gaim_conversation_get_im_data(c)) 677 #define GAIM_CONV_IM(c) (gaim_conversation_get_im_data(c))
678 678
679 /** 679 /**
680 * Returns the specified conversation's chat-specific data. 680 * Returns the specified conversation's chat-specific data.
681 * 681 *
682 * If the conversation type is not GAIM_CONV_CHAT, this will return @c NULL. 682 * If the conversation type is not GAIM_CONV_TYPE_CHAT, this will return @c NULL.
683 * 683 *
684 * @param conv The conversation. 684 * @param conv The conversation.
685 * 685 *
686 * @return The chat-specific data. 686 * @return The chat-specific data.
687 */ 687 */