From 6f0f7d1b40a8fa8d46a2d6f4317600001cdbbb18 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:57:27 +0200 Subject: Adding upstream version 43.5. Signed-off-by: Daniel Baumann --- src/gs-screenshot-carousel.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/gs-screenshot-carousel.h (limited to 'src/gs-screenshot-carousel.h') diff --git a/src/gs-screenshot-carousel.h b/src/gs-screenshot-carousel.h new file mode 100644 index 0000000..460d88d --- /dev/null +++ b/src/gs-screenshot-carousel.h @@ -0,0 +1,27 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- + * vi:set noexpandtab tabstop=8 shiftwidth=8: + * + * Copyright (C) 2021 Adrien Plazas + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#pragma once + +#include +#include "gs-app.h" + +G_BEGIN_DECLS + +#define GS_TYPE_SCREENSHOT_CAROUSEL (gs_screenshot_carousel_get_type ()) + +G_DECLARE_FINAL_TYPE (GsScreenshotCarousel, gs_screenshot_carousel, GS, SCREENSHOT_CAROUSEL, GtkWidget) + +GsScreenshotCarousel *gs_screenshot_carousel_new (void); +void gs_screenshot_carousel_load_screenshots (GsScreenshotCarousel *self, + GsApp *app, + gboolean is_online, + GCancellable *cancellable); +gboolean gs_screenshot_carousel_get_has_screenshots (GsScreenshotCarousel *self); + +G_END_DECLS -- cgit v1.2.3