00001
00028 #ifndef __EVENT_LOGGER_ATTACH_ITER_H
00029 #define __EVENT_LOGGER_ATTACH_ITER_H
00030
00031 #include <glib-object.h>
00032
00033 G_BEGIN_DECLS
00034
00035 #define RTCOM_TYPE_EL_ATTACH_ITER (rtcom_el_attach_iter_get_type ())
00036 #define RTCOM_EL_ATTACH_ITER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RTCOM_TYPE_EL_ATTACH_ITER, RTComElAttachIter))
00037 #define RTCOM_EL_ATTACH_ITER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), RTCOM_TYPE_EL_ATTACH_ITER, RTComElAttachIterClass))
00038 #define RTCOM_IS_EL_ATTACH_ITER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), RTCOM_TYPE_EL_ATTACH_ITER))
00039 #define RTCOM_IS_EL_ATTACH_ITER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), RTCOM_TYPE_EL_ATTACH_ITER))
00040 #define RTCOM_EL_ATTACH_ITER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), RTCOM_TYPE_EL_ATTACH_ITER, RTComElAttachIterClass))
00041
00042 typedef struct _RTComElAttachIterClass RTComElAttachIterClass;
00043 typedef struct _RTComElAttachIter RTComElAttachIter;
00044 typedef struct _RTComElAttachment RTComElAttachment;
00045
00046 struct _RTComElAttachIterClass
00047 {
00048 GObjectClass parent_class;
00049 };
00050
00051 struct _RTComElAttachIter
00052 {
00053 GObject parent_instance;
00054 };
00055
00059 struct _RTComElAttachment {
00060 guint id;
00061 guint event_id;
00062 gchar * path;
00063 gchar * desc;
00064 };
00065
00066 GType rtcom_el_attach_iter_get_type (void) G_GNUC_CONST;
00067
00072 void rtcom_el_free_attachment(
00073 RTComElAttachment * e);
00074
00079 gboolean rtcom_el_attach_iter_first(
00080 RTComElAttachIter * it);
00081
00086 gboolean rtcom_el_attach_iter_next(
00087 RTComElAttachIter * it);
00088
00100 RTComElAttachment * rtcom_el_attach_iter_get(
00101 RTComElAttachIter * it);
00102
00117 RTComElAttachment *rtcom_el_attachment_new (const gchar *path,
00118 const gchar *desc);
00119
00120 G_END_DECLS
00121
00122 #endif
00123
00124
00125