summaryrefslogtreecommitdiffstats
path: root/src/gs-removal-dialog.h
blob: 6006afb6e545cdd703f6d8b0a3b2ad9b1a96215c (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
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
 * vi:set noexpandtab tabstop=8 shiftwidth=8:
 *
 * Copyright (C) 2016 Kalev Lember <klember@redhat.com>
 *
 * SPDX-License-Identifier: GPL-2.0+
 */

#pragma once

#include <gtk/gtk.h>

#include "gnome-software-private.h"

G_BEGIN_DECLS

#define GS_TYPE_REMOVAL_DIALOG (gs_removal_dialog_get_type ())

G_DECLARE_FINAL_TYPE (GsRemovalDialog, gs_removal_dialog, GS, REMOVAL_DIALOG, GtkMessageDialog)

GtkWidget	*gs_removal_dialog_new				(void);
void		 gs_removal_dialog_show_upgrade_removals	(GsRemovalDialog	 *self,
								 GsApp			 *upgrade);

G_END_DECLS