2021-10-27 23:59:44 +02:00
|
|
|
#pragma once
|
|
|
|
#include <glib-object.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS;
|
|
|
|
|
|
|
|
#define MG_TYPE_MANGA mg_manga_get_type()
|
|
|
|
G_DECLARE_FINAL_TYPE (MgManga, mg_manga, MG, MANGA, GObject)
|
|
|
|
|
2021-11-04 00:00:00 +01:00
|
|
|
char *
|
|
|
|
mg_manga_get_image_url (MgManga *mg_manga);
|
|
|
|
char *
|
|
|
|
mg_manga_get_title (MgManga *mg_manga);
|
|
|
|
char *
|
|
|
|
mg_manga_get_id (MgManga *mg_manga);
|
|
|
|
char *
|
|
|
|
mg_manga_get_id (MgManga *mg_manga);
|
|
|
|
char *
|
|
|
|
mg_manga_get_description (MgManga *mg_manga);
|
|
|
|
void
|
|
|
|
mg_manga_set_description (MgManga *mg_manga, const char *description);
|
|
|
|
int
|
|
|
|
mg_manga_has_details (MgManga *self);
|
|
|
|
void
|
|
|
|
mg_manga_details_recovered (MgManga *self);
|
2021-11-06 01:36:07 +01:00
|
|
|
void
|
|
|
|
mg_manga_set_chapter_list (MgManga *self, GListStore *chapter_list);
|
|
|
|
GListStore *
|
|
|
|
mg_manga_get_chapter_list (MgManga *self);
|
2021-10-27 23:59:44 +02:00
|
|
|
|
2021-10-30 04:02:10 +02:00
|
|
|
MgManga *mg_manga_new (const char *const image_url, const char *const title, const char *const id);
|
2021-10-27 23:59:44 +02:00
|
|
|
|
|
|
|
G_END_DECLS
|