mangareader/include/openmg/backend/readmng.h

47 lines
1.1 KiB
C
Raw Normal View History

#pragma once
#include <glib-object.h>
2021-10-28 22:26:59 +02:00
#include <gio/gio.h>
#include <openmg/manga.h>
#include <openmg/chapter.h>
G_BEGIN_DECLS;
/*
* Type declaration
*/
#define MG_TYPE_BACKEND_READMNG mg_backend_readmng_get_type ()
G_DECLARE_FINAL_TYPE (MgBackendReadmng, mg_backend_readmng, MG, BACKEND_READMNG, GObject)
void
mg_backend_readmng_set_property (GObject *object, guint property_id,
const GValue *value, GParamSpec *pspec);
void
mg_backend_readmng_get_property (GObject *object, guint property_id,
GValue *value, GParamSpec *pspec);
/*
* Method definitions.
*/
MgBackendReadmng *
mg_backend_readmng_new (void);
2021-10-28 22:26:59 +02:00
GListStore *
mg_backend_readmng_get_featured_manga (MgBackendReadmng *self);
2022-01-16 01:32:46 +01:00
GListStore *
mg_backend_readmng_search (MgBackendReadmng *self,
const char *search_query);
void
mg_backend_readmng_retrieve_manga_details (MgBackendReadmng *self,
MgManga *manga);
GListModel *
mg_backend_readmng_get_chapter_images (MgBackendReadmng *self, MgMangaChapter *chapter);
2022-01-16 02:22:08 +01:00
GListStore *
mg_backend_readmng_search (MgBackendReadmng *self,
const char *search_query);
G_END_DECLS