/* src/bazaar-refresh-worker.p/bz-curated-articles-info.h
 *
 * Copyright 2026 AUTOGEN
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

#pragma once

#include <glib-object.h>
#include <gtk/gtk.h>
#include "bz-curated-article.h"

G_BEGIN_DECLS



#define BZ_TYPE_CURATED_ARTICLES_INFO (bz_curated_articles_info_get_type ())
G_DECLARE_FINAL_TYPE (BzCuratedArticlesInfo, bz_curated_articles_info, BZ, CURATED_ARTICLES_INFO, GObject)

BzCuratedArticlesInfo *
bz_curated_articles_info_new (void);

GListModel *
bz_curated_articles_info_get_list (BzCuratedArticlesInfo *self);

const char *
bz_curated_articles_info_get_uri (BzCuratedArticlesInfo *self);

float
bz_curated_articles_info_get_aspect_ratio (BzCuratedArticlesInfo *self);

void
bz_curated_articles_info_set_list (BzCuratedArticlesInfo *self,
    GListModel *list);

void
bz_curated_articles_info_set_uri (BzCuratedArticlesInfo *self,
    const char *uri);

void
bz_curated_articles_info_set_aspect_ratio (BzCuratedArticlesInfo *self,
    float aspect_ratio);

void
bz_curated_articles_info_set_uri_take (BzCuratedArticlesInfo *self,
    char *uri);

#define bz_curated_articles_info_set_uri_take_printf(self, ...) bz_curated_articles_info_set_uri_take (self, g_strdup_printf (__VA_ARGS__))

G_END_DECLS

/* End of src/bazaar-refresh-worker.p/bz-curated-articles-info.h */
