ret = noti_ex_item_group_create(&group_item, "group_id");
ret = noti_ex_item_button_create(&child_item, "button_id", "button_title");
ret = noti_ex_item_group_add_child(group_item, child_item);
+
+ noti_ex_item_destroy(child_item);
}
* @endcode
*/
ret = noti_ex_item_button_create(&child_item, "button_id", "button_title");
ret = noti_ex_item_group_add_child(group_item, child_item);
+ noti_ex_item_destroy(child_item);
+
ret = noti_ex_item_group_foreach_child(group_item, _ex_item_group_foreach_child_cb, NULL);
}
* @endcode
int noti_ex_item_free_string_list(char** list, int count);
int noti_ex_item_group_remove_children(noti_ex_item_h handle);
-int noti_ex_item_time_set_time(noti_ex_item_h handle,
- time_t time);
+int noti_ex_item_time_set_time(noti_ex_item_h handle, time_t time);
-int noti_ex_style_set_geometry(
- noti_ex_style_h handle, noti_ex_geometry_h geometry);
-int noti_ex_style_set_color(
- noti_ex_style_h handle, noti_ex_color_h color);
+int noti_ex_style_set_geometry(noti_ex_style_h handle,
+ noti_ex_geometry_h geometry);
+int noti_ex_style_set_color(noti_ex_style_h handle, noti_ex_color_h color);
int noti_ex_style_set_padding(noti_ex_style_h handle,
- noti_ex_padding_h padding);
+ noti_ex_padding_h padding);
-int noti_ex_led_info_set_color(
- noti_ex_led_info_h handle, noti_ex_color_h color);
+int noti_ex_led_info_set_color(noti_ex_led_info_h handle,
+ noti_ex_color_h color);
#ifdef __cplusplus
}
#endif
-#endif /* __TIZEN_APPFW_NOTIFICATION_EX_INTERNAL_H__ */
\ No newline at end of file
+#endif /* __TIZEN_APPFW_NOTIFICATION_EX_INTERNAL_H__ */
ret = noti_ex_item_group_create(&group_item, "group_id");
ret = noti_ex_item_text_create(&text_item, "text_id", "text", "hyperlink");
ret = noti_ex_item_group_add_child(group_item, text_item);
+ noti_ex_item_destroy(text_item);
ret = noti_ex_item_set_main_type(group_item, "text_id", type);
}
ret = noti_ex_item_group_create(&group_item, "group_id");
ret = noti_ex_item_button_create(&child_item, "button_id", "button_title");
ret = noti_ex_item_group_add_child(group_item, child_item);
+ noti_ex_item_destroy(child_item);
+
ret = noti_ex_reporter_post(handle, group_item, &request_id);
+ noti_ex_item_destroy(group_item);
}
* @endcode
*/
ret = noti_ex_item_group_create(¬i_list[0], "group_id1");
ret = noti_ex_item_button_create(&child_item, "button_id1", "button_title");
ret = noti_ex_item_group_add_child(noti_list[0], child_item);
+ noti_ex_item_destroy(child_item);
ret = noti_ex_item_group_create(¬i_list[1], "group_id2");
ret = noti_ex_item_button_create(&child_item, "button_id2", "button_title");
ret = noti_ex_item_group_add_child(noti_list[1], child_item);
+ noti_ex_item_destroy(child_item);
ret = noti_ex_reporter_post_list(handle, noti_list, 2, &request_id);
+ noti_ex_item_destroy(noti_list[0]);
+ noti_ex_item_destroy(noti_list[1]);
+
+ free(noti_list);
}
* @endcode
*/