mangareader/include/openmg/manga.h
sergiotarxz 923282f1d1 Splitting manga.c contents into xml.c and soup.c.
It is still needed to refactor string manipulation
and delete manga.c and manga.h (The root one,
MgManga is ok.)
2021-10-30 19:01:17 +02:00

16 lines
409 B
C

#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)
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);
MgManga *mg_manga_new (const char *const image_url, const char *const title, const char *const id);
G_END_DECLS