libpurple/notify.h

changeset 42391
090b03385984
parent 42387
d9350cda1556
child 42392
bc5e361de7ff
equal deleted inserted replaced
42390:c2cd0378e212 42391:090b03385984
464 464
465 /** 465 /**
466 * purple_notify_search_button_get_type: 466 * purple_notify_search_button_get_type:
467 * 467 *
468 * Returns: The #GType for #PurpleNotifiySearchButton boxed structure. 468 * Returns: The #GType for #PurpleNotifiySearchButton boxed structure.
469 */ 469 *
470 * Since: 3.0.0
471 */
472 PURPLE_AVAILABLE_IN_3_0
470 GType purple_notify_search_button_get_type(void); 473 GType purple_notify_search_button_get_type(void);
471 474
472 /** 475 /**
473 * purple_notify_user_info_get_type: 476 * purple_notify_user_info_get_type:
474 * 477 *
475 * Returns: The #GType for the #PurpleNotifyUserInfo boxed structure. 478 * Returns: The #GType for the #PurpleNotifyUserInfo boxed structure.
476 */ 479 *
480 * Since: 3.0.0
481 */
482 PURPLE_AVAILABLE_IN_3_0
477 GType purple_notify_user_info_get_type(void); 483 GType purple_notify_user_info_get_type(void);
478 484
479 /** 485 /**
480 * purple_notify_user_info_new: 486 * purple_notify_user_info_new:
481 * 487 *
536 * %NULL the label will still be displayed; the UI should treat label as 542 * %NULL the label will still be displayed; the UI should treat label as
537 * independent and not include a colon if it would otherwise. 543 * independent and not include a colon if it would otherwise.
538 * 544 *
539 * Add a label/value pair to a #PurpleNotifyUserInfo object. 545 * Add a label/value pair to a #PurpleNotifyUserInfo object.
540 * #PurpleNotifyUserInfo keeps track of the order in which pairs are added. 546 * #PurpleNotifyUserInfo keeps track of the order in which pairs are added.
541 */ 547 *
548 * Since: 3.0.0
549 */
550 PURPLE_AVAILABLE_IN_3_0
542 void purple_notify_user_info_add_pair_html(PurpleNotifyUserInfo *user_info, const char *label, const char *value); 551 void purple_notify_user_info_add_pair_html(PurpleNotifyUserInfo *user_info, const char *label, const char *value);
543 552
544 /** 553 /**
545 * purple_notify_user_info_add_pair_plaintext: 554 * purple_notify_user_info_add_pair_plaintext:
546 * @user_info: The PurpleNotifyUserInfo 555 * @user_info: The PurpleNotifyUserInfo
573 * %NULL the label will still be displayed; the UI should treat label as 582 * %NULL the label will still be displayed; the UI should treat label as
574 * independent and not include a colon if it would otherwise. 583 * independent and not include a colon if it would otherwise.
575 * 584 *
576 * Like purple_notify_user_info_add_pair_html(), but the pair is inserted 585 * Like purple_notify_user_info_add_pair_html(), but the pair is inserted
577 * at the beginning of the list. 586 * at the beginning of the list.
578 */ 587 *
588 * Since: 3.0.0
589 */
590 PURPLE_AVAILABLE_IN_3_0
579 void purple_notify_user_info_prepend_pair_html(PurpleNotifyUserInfo *user_info, const char *label, const char *value); 591 void purple_notify_user_info_prepend_pair_html(PurpleNotifyUserInfo *user_info, const char *label, const char *value);
580 592
581 /** 593 /**
582 * purple_notify_user_info_prepend_pair_plaintext: 594 * purple_notify_user_info_prepend_pair_plaintext:
583 * @user_info: The PurpleNotifyUserInfo 595 * @user_info: The PurpleNotifyUserInfo
732 * @user_info_entry: The PurpleNotifyUserInfoEntry 744 * @user_info_entry: The PurpleNotifyUserInfoEntry
733 * 745 *
734 * Get the type of a PurpleNotifyUserInfoEntry 746 * Get the type of a PurpleNotifyUserInfoEntry
735 * 747 *
736 * Returns: The PurpleNotifyUserInfoEntryType 748 * Returns: The PurpleNotifyUserInfoEntryType
737 */ 749 *
750 * Since: 3.0.0
751 */
752 PURPLE_AVAILABLE_IN_3_0
738 PurpleNotifyUserInfoEntryType purple_notify_user_info_entry_get_entry_type( 753 PurpleNotifyUserInfoEntryType purple_notify_user_info_entry_get_entry_type(
739 PurpleNotifyUserInfoEntry *user_info_entry); 754 PurpleNotifyUserInfoEntry *user_info_entry);
740 755
741 /** 756 /**
742 * purple_notify_user_info_entry_set_entry_type: 757 * purple_notify_user_info_entry_set_entry_type:
743 * @user_info_entry: The PurpleNotifyUserInfoEntry 758 * @user_info_entry: The PurpleNotifyUserInfoEntry
744 * @type: The PurpleNotifyUserInfoEntryType 759 * @type: The PurpleNotifyUserInfoEntryType
745 * 760 *
746 * Set the type of a PurpleNotifyUserInfoEntry 761 * Set the type of a PurpleNotifyUserInfoEntry
747 */ 762 *
763 * Since: 3.0.0
764 */
765 PURPLE_AVAILABLE_IN_3_0
748 void purple_notify_user_info_entry_set_entry_type( 766 void purple_notify_user_info_entry_set_entry_type(
749 PurpleNotifyUserInfoEntry *user_info_entry, PurpleNotifyUserInfoEntryType type); 767 PurpleNotifyUserInfoEntry *user_info_entry, PurpleNotifyUserInfoEntryType type);
750 768
751 /** 769 /**
752 * purple_notify_uri: 770 * purple_notify_uri:
768 * (may be %NULL). 786 * (may be %NULL).
769 * 787 *
770 * Checks, if passed UI handle is valid. 788 * Checks, if passed UI handle is valid.
771 * 789 *
772 * Returns: TRUE, if handle is valid, FALSE otherwise. 790 * Returns: TRUE, if handle is valid, FALSE otherwise.
773 */ 791 *
792 * Since: 3.0.0
793 */
794 PURPLE_AVAILABLE_IN_3_0
774 gboolean 795 gboolean
775 purple_notify_is_valid_ui_handle(void *ui_handle, PurpleNotifyType *type); 796 purple_notify_is_valid_ui_handle(void *ui_handle, PurpleNotifyType *type);
776 797
777 /** 798 /**
778 * purple_notify_close: 799 * purple_notify_close:
845 866
846 /** 867 /**
847 * purple_notify_ui_ops_get_type: 868 * purple_notify_ui_ops_get_type:
848 * 869 *
849 * Returns: The #GType for the #PurpleNotifyUiOps boxed structure. 870 * Returns: The #GType for the #PurpleNotifyUiOps boxed structure.
850 */ 871 *
872 * Since: 3.0.0
873 */
874 PURPLE_AVAILABLE_IN_3_0
851 GType purple_notify_ui_ops_get_type(void); 875 GType purple_notify_ui_ops_get_type(void);
852 876
853 /** 877 /**
854 * purple_notify_set_ui_ops: 878 * purple_notify_set_ui_ops:
855 * @ops: The UI operations structure. 879 * @ops: The UI operations structure.

mercurial