comparison libpurple/notify.h @ 23205:84693a70ea3a

Added prepend functions for notify_user_info section headers and breaks
author Evan Schoenberg <evan.s@dreskin.net>
date Tue, 27 May 2008 01:19:07 +0000
parents e0bcb8cfda74
children 3dc1bc92b170
comparison
equal deleted inserted replaced
23202:aa6395907702 23205:84693a70ea3a
575 * @param user_info The PurpleNotifyUserInfo 575 * @param user_info The PurpleNotifyUserInfo
576 */ 576 */
577 void purple_notify_user_info_add_section_break(PurpleNotifyUserInfo *user_info); 577 void purple_notify_user_info_add_section_break(PurpleNotifyUserInfo *user_info);
578 578
579 /** 579 /**
580 * Prepend a section break. A UI might display this as a horizontal line.
581 *
582 * @param user_info The PurpleNotifyUserInfo
583 */
584 void purple_notify_user_info_prepend_section_break(PurpleNotifyUserInfo *user_info);
585
586 /**
580 * Add a section header. A UI might display this in a different font from other text. 587 * Add a section header. A UI might display this in a different font from other text.
581 * 588 *
582 * @param user_info The PurpleNotifyUserInfo 589 * @param user_info The PurpleNotifyUserInfo
583 * @param label The name of the section 590 * @param label The name of the section
584 */ 591 */
585 void purple_notify_user_info_add_section_header(PurpleNotifyUserInfo *user_info, const char *label); 592 void purple_notify_user_info_add_section_header(PurpleNotifyUserInfo *user_info, const char *label);
586 593
594 /**
595 * Prepend a section header. A UI might display this in a different font from other text.
596 *
597 * @param user_info The PurpleNotifyUserInfo
598 * @param label The name of the section
599 */
600 void purple_notify_user_info_prepend_section_header(PurpleNotifyUserInfo *user_info, const char *label);
601
587 /** 602 /**
588 * Remove the last item which was added to a PurpleNotifyUserInfo. This could be used to remove a section header which is not needed. 603 * Remove the last item which was added to a PurpleNotifyUserInfo. This could be used to remove a section header which is not needed.
589 */ 604 */
590 void purple_notify_user_info_remove_last_item(PurpleNotifyUserInfo *user_info); 605 void purple_notify_user_info_remove_last_item(PurpleNotifyUserInfo *user_info);
591 606