comparison src/blist.h @ 10548:1596ade00664

[gaim-migrate @ 11918] Add functions for getting and setting the flags on a blist node. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 27 Jan 2005 05:24:26 +0000
parents f7f06cb69d5e
children 62fc579810f4
comparison
equal deleted inserted replaced
10547:82d6760ba000 10548:1596ade00664
840 * @param node The node from which to remove the setting 840 * @param node The node from which to remove the setting
841 * @param key The name of the setting 841 * @param key The name of the setting
842 */ 842 */
843 void gaim_blist_node_remove_setting(GaimBlistNode *node, const char *key); 843 void gaim_blist_node_remove_setting(GaimBlistNode *node, const char *key);
844 844
845 /**
846 * Set the flags for the given node. Setting a node's flags will overwrite
847 * the old flags, so if you want to save them, you must first call
848 * gaim_blist_node_get_flags and modify that appropriately.
849 *
850 * @param node The node on which to set the flags.
851 * @param flags The flags to set. This is a bitmask.
852 */
853 void gaim_blist_node_set_flags(GaimBlistNode *node, GaimBlistNodeFlags flags);
854
855 /**
856 * Get the current flags on a given node.
857 *
858 * @param node The node from which to get the flags.
859 *
860 * @return The flags on the node. This is a bitmask.
861 */
862 GaimBlistNodeFlags gaim_blist_node_get_flags(GaimBlistNode *node);
863
845 /*@}*/ 864 /*@}*/
846 865
847 866
848 /** 867 /**
849 * Retrieves the extended menu items for a buddy list node. 868 * Retrieves the extended menu items for a buddy list node.