summaryrefslogtreecommitdiffstats
path: root/src/gs-category-tile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-category-tile.h')
-rw-r--r--src/gs-category-tile.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/gs-category-tile.h b/src/gs-category-tile.h
new file mode 100644
index 0000000..577587e
--- /dev/null
+++ b/src/gs-category-tile.h
@@ -0,0 +1,26 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
+ * vi:set noexpandtab tabstop=8 shiftwidth=8:
+ *
+ * Copyright (C) 2013 Matthias Clasen <mclasen@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_CATEGORY_TILE (gs_category_tile_get_type ())
+
+G_DECLARE_FINAL_TYPE (GsCategoryTile, gs_category_tile, GS, CATEGORY_TILE, GtkButton)
+
+GtkWidget *gs_category_tile_new (GsCategory *cat);
+GsCategory *gs_category_tile_get_category (GsCategoryTile *tile);
+void gs_category_tile_set_category (GsCategoryTile *tile,
+ GsCategory *cat);
+
+G_END_DECLS