31 lines
618 B
C
31 lines
618 B
C
#ifndef EDAPI_JOURNAL_ENTRY_H
|
|
#define EDAPI_JOURNAL_ENTRY_H
|
|
|
|
#include <edapi/error.h>
|
|
|
|
#include <glib.h>
|
|
#include <glib-object.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
struct _EDJournalEntryClass {
|
|
GObjectClass parent_class;
|
|
|
|
gpointer padding[42];
|
|
};
|
|
|
|
G_DECLARE_DERIVABLE_TYPE(
|
|
EDJournalEntry, ed_journal_entry, ED, JOURNALENTRY, GObject);
|
|
|
|
#define ED_TYPE_JOURNALENTRY ed_journal_entry_get_type()
|
|
|
|
EDJournalEntry *ed_journal_entry_new(void);
|
|
|
|
EDErrorCode ed_journal_entry_parse(EDJournalEntry *self,
|
|
gchar const *line,
|
|
GError **error);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif
|