comparison src/filedata.h @ 792:99ea3d973ad3

added NotifyType
author nadvornik
date Fri, 06 Jun 2008 22:11:03 +0000
parents 6d65167764ea
children a25b228978a0
comparison
equal deleted inserted replaced
791:6d65167764ea 792:99ea3d973ad3
75 gboolean file_data_sc_perform_ci(FileData *fd); 75 gboolean file_data_sc_perform_ci(FileData *fd);
76 gint file_data_sc_apply_ci(FileData *fd); 76 gint file_data_sc_apply_ci(FileData *fd);
77 void file_data_sc_free_ci(FileData *fd); 77 void file_data_sc_free_ci(FileData *fd);
78 void file_data_sc_free_ci_list(GList *fd_list); 78 void file_data_sc_free_ci_list(GList *fd_list);
79 79
80 typedef void (*FileDataNotifyFunc)(FileData *fd, gpointer data); 80 typedef void (*FileDataNotifyFunc)(FileData *fd, NotifyType type, gpointer data);
81 gint file_data_register_notify_func(FileDataNotifyFunc func, gpointer data, NotifyPriority priority); 81 gint file_data_register_notify_func(FileDataNotifyFunc func, gpointer data, NotifyPriority priority);
82 gint file_data_unregister_notify_func(FileDataNotifyFunc func, gpointer data); 82 gint file_data_unregister_notify_func(FileDataNotifyFunc func, gpointer data);
83 void file_data_send_notification(FileData *fd); 83 void file_data_send_notification(FileData *fd, NotifyType type);
84 84
85 gint file_data_register_real_time_monitor(FileData *fd); 85 gint file_data_register_real_time_monitor(FileData *fd);
86 gint file_data_unregister_real_time_monitor(FileData *fd); 86 gint file_data_unregister_real_time_monitor(FileData *fd);
87 87
88 #endif 88 #endif