Debian Codegraph @

gtksourceview/completion-providers/snippets/gtksourcecompletionsnippets.h

raw symbols SCIP
1 /*
2 * This file is part of GtkSourceView
3 *
4 * Copyright 2020 Christian Hergert <[email protected]>
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
20 #pragma once
21
22 #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
23 #error "Only <gtksourceview/gtksource.h> can be included directly."
24 #endif
25
26 #include <gtk/gtk.h>
27
28 #include <gtksourceview/gtksourcetypes.h>
29 #include <gtksourceview/gtksourcecompletionprovider.h>
30
31 G_BEGIN_DECLS
32
33 #define GTK_SOURCE_TYPE_COMPLETION_SNIPPETS (gtk_source_completion_snippets_get_type())
34
35 GTK_SOURCE_AVAILABLE_IN_ALL
36 G_DECLARE_DERIVABLE_TYPE (GtkSourceCompletionSnippets, gtk_source_completion_snippets, GTK_SOURCE, COMPLETION_SNIPPETS, GObject)
37
38 struct _GtkSourceCompletionSnippetsClass
39 {
40 GObjectClass parent_class;
41
42 /*< private >*/
43 gpointer _reserved[10];
44 };
45
46 GTK_SOURCE_AVAILABLE_IN_ALL
47 GtkSourceCompletionSnippets *gtk_source_completion_snippets_new (void);
48
49 G_END_DECLS