00001 #ifndef ICD_TRACKING_INFO_H 00002 #define ICD_TRACKING_INFO_H 00003 00012 #include <glib.h> 00013 #include <dbus/dbus.h> 00014 00020 enum icd_tracking_info_api { 00022 ICD_TRACKING_INFO_ICD, 00024 ICD_TRACKING_INFO_ICD2 00025 }; 00026 00029 struct icd_tracking_info { 00030 enum icd_tracking_info_api interface; 00032 gchar *sender; 00034 DBusMessage *request; 00035 }; 00036 00037 struct icd_tracking_info *icd_tracking_info_find (const gchar *sender); 00038 00039 void icd_tracking_info_free (struct icd_tracking_info *track); 00040 struct icd_tracking_info * 00041 icd_tracking_info_new (enum icd_tracking_info_api interface, 00042 const gchar *sender, 00043 DBusMessage *message); 00044 gboolean icd_tracking_info_update (struct icd_tracking_info *track, 00045 const gchar *sender, 00046 DBusMessage *message); 00047 00050 #endif