| Listaller Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
#define LISTALLER_TYPE_REPORT gboolean listaller_report_contains_error (ListallerReport *self); gboolean listaller_report_is_empty (ListallerReport *self); void listaller_report_add_message (ListallerReport *self,ListallerReportMessageType mtype,const gchar *message); void listaller_report_add_info (ListallerReport *self,const gchar *message); void listaller_report_add_warning (ListallerReport *self,const gchar *message); void listaller_report_add_error (ListallerReport *self,const gchar *message); gchar * listaller_report_to_string (ListallerReport *self); void listaller_report_clear (ListallerReport *self); void listaller_report_set_print_fatal (ListallerReport *self,gboolean print_fatal_msg); ListallerReport * listaller_report_new (void); ListallerReport * listaller_report_get_instance (void); void listaller_report_delete (void); void listaller_report_log_message (ListallerReportMessageType mtype,const gchar *message); void listaller_report_log_info (const gchar *message); void listaller_report_log_warning (const gchar *message); void listaller_report_log_error (const gchar *message); void listaller_report_clear_current (void); void listaller_report_set_print_fatal_msg (gboolean print_fatal_msg); struct ListallerReport; struct ListallerReportClass; enum ListallerReportMessageType;
#define LISTALLER_TYPE_REPORT (listaller_report_get_type ())
The type for ListallerReport.
gboolean listaller_report_contains_error (ListallerReport *self);
|
the ListallerReport instance |
gboolean listaller_report_is_empty (ListallerReport *self);
|
the ListallerReport instance |
void listaller_report_add_message (ListallerReport *self,ListallerReportMessageType mtype,const gchar *message);
|
the ListallerReport instance |
void listaller_report_add_info (ListallerReport *self,const gchar *message);
|
the ListallerReport instance |
void listaller_report_add_warning (ListallerReport *self,const gchar *message);
|
the ListallerReport instance |
void listaller_report_add_error (ListallerReport *self,const gchar *message);
|
the ListallerReport instance |
gchar * listaller_report_to_string (ListallerReport *self);
|
the ListallerReport instance |
void listaller_report_clear (ListallerReport *self);
|
the ListallerReport instance |
void listaller_report_set_print_fatal (ListallerReport *self,gboolean print_fatal_msg);
|
the ListallerReport instance |
void listaller_report_log_message (ListallerReportMessageType mtype,const gchar *message);
void listaller_report_set_print_fatal_msg
(gboolean print_fatal_msg);
struct ListallerReportClass {
GObjectClass parent_class;
};
The class structure for LISTALLER_TYPE_REPORT. All the fields in this structure are private and should never be accessed directly.
GObjectClass |
the parent class structure |
typedef enum {
LISTALLER_REPORT_MESSAGE_TYPE_INFO,
LISTALLER_REPORT_MESSAGE_TYPE_SUGGESTION,
LISTALLER_REPORT_MESSAGE_TYPE_WARNING,
LISTALLER_REPORT_MESSAGE_TYPE_CRITICAL,
LISTALLER_REPORT_MESSAGE_TYPE_ERROR
} ListallerReportMessageType;
Type of a message written to a Listaller Report