summaryrefslogtreecommitdiffstats
path: root/src/gs-removal-dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-removal-dialog.h')
-rw-r--r--src/gs-removal-dialog.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/gs-removal-dialog.h b/src/gs-removal-dialog.h
new file mode 100644
index 0000000..6006afb
--- /dev/null
+++ b/src/gs-removal-dialog.h
@@ -0,0 +1,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