| 1 | /* |
| 2 | * This file is part of GtkSourceView |
| 3 | * |
| 4 | * Copyright 2015 - Université Catholique de Louvain |
| 5 | * |
| 6 | * GtkSourceView is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU Lesser General Public |
| 8 | * License as published by the Free Software Foundation; either |
| 9 | * version 2.1 of the License, or (at your option) any later version. |
| 10 | * |
| 11 | * GtkSourceView is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | * Lesser General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU Lesser General Public License |
| 17 | * along with this library; if not, see <http://www.gnu.org/licenses/>. |
| 18 | * |
| 19 | * Author: Sébastien Wilmet |
| 20 | */ |
| 21 | |
| 22 | #pragma once |
| 23 | |
| 24 | #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION) |
| 25 | #error "Only <gtksourceview/gtksource.h> can be included directly." |
| 26 | #endif |
| 27 | |
| 28 | #include <gtk/gtk.h> |
| 29 | |
| 30 | #include "gtksourcetypes.h" |
| 31 | |
| 32 | G_BEGIN_DECLS |
| 33 | |
| 34 | #define GTK_SOURCE_TYPE_TAG (gtk_source_tag_get_type()) |
| 35 | |
| 36 | GTK_SOURCE_AVAILABLE_IN_ALL |
| 37 | G_DECLARE_DERIVABLE_TYPE (GtkSourceTag, gtk_source_tag, GTK_SOURCE, TAG, GtkTextTag) |
| 38 | |
| 39 | struct _GtkSourceTagClass |
| 40 | { |
| 41 | GtkTextTagClass parent_class; |
| 42 | |
| 43 | /*< private >*/ |
| 44 | gpointer _reserved[10]; |
| 45 | }; |
| 46 | |
| 47 | GTK_SOURCE_AVAILABLE_IN_ALL |
| 48 | GtkTextTag *gtk_source_tag_new (const gchar *name); |
| 49 | |
| 50 | G_END_DECLS |