summaryrefslogtreecommitdiffstats
path: root/src/gs-app-details-page.h
blob: 60b823abdfc1b9ea2cdf1a755593fb006ac9cb58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
 * vi:set noexpandtab tabstop=8 shiftwidth=8:
 *
 * Copyright (C) 2021 Purism SPC
 *
 * SPDX-License-Identifier: GPL-2.0+
 */

#pragma once

#include <gtk/gtk.h>

#include "gnome-software-private.h"

G_BEGIN_DECLS

#define GS_TYPE_APP_DETAILS_PAGE (gs_app_details_page_get_type ())

G_DECLARE_FINAL_TYPE (GsAppDetailsPage, gs_app_details_page, GS, APP_DETAILS_PAGE, GtkBox)

GtkWidget	*gs_app_details_page_new			(void);
GsApp		*gs_app_details_page_get_app			(GsAppDetailsPage	*page);
void		 gs_app_details_page_set_app			(GsAppDetailsPage	*page,
								 GsApp			*app);
gboolean	 gs_app_details_page_get_show_back_button	(GsAppDetailsPage	*page);
void		 gs_app_details_page_set_show_back_button	(GsAppDetailsPage	*page,
								 gboolean		 show_back_button);

G_END_DECLS