-
Notifications
You must be signed in to change notification settings - Fork 264
/
ggd-widget-doctype-selector.h
68 lines (52 loc) · 2.47 KB
/
ggd-widget-doctype-selector.h
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*
*
* GeanyGenDoc, a Geany plugin to ease generation of source code documentation
* Copyright (C) 2010-2011 Colomban Wendling <ban@herbesfolles.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef H_GGD_WIDGET_DOCTYPE_SELECTOR
#define H_GGD_WIDGET_DOCTYPE_SELECTOR
#include <gtk/gtk.h>
#include "ggd-macros.h"
G_BEGIN_DECLS
GGD_BEGIN_PLUGIN_API
#define GGD_TYPE_DOCTYPE_SELECTOR (ggd_doctype_selector_get_type ())
#define GGD_DOCTYPE_SELECTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GGD_TYPE_DOCTYPE_SELECTOR, GgdDoctypeSelector))
#define GGD_DOCTYPE_SELECTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GGD_TYPE_DOCTYPE_SELECTOR, GgdDoctypeSelectorClass))
#define GGD_IS_DOCTYPE_SELECTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GGD_TYPE_DOCTYPE_SELECTOR))
#define GGD_IS_DOCTYPE_SELECTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GGD_TYPE_DOCTYPE_SELECTOR))
typedef struct _GgdDoctypeSelector GgdDoctypeSelector;
typedef struct _GgdDoctypeSelectorClass GgdDoctypeSelectorClass;
typedef struct _GgdDoctypeSelectorPrivate GgdDoctypeSelectorPrivate;
struct _GgdDoctypeSelector
{
GtkScrolledWindow parent;
GgdDoctypeSelectorPrivate *priv;
};
struct _GgdDoctypeSelectorClass
{
GtkScrolledWindowClass parent_class;
};
GType ggd_doctype_selector_get_type (void) G_GNUC_CONST;
GtkWidget *ggd_doctype_selector_new (void);
gboolean ggd_doctype_selector_set_doctype (GgdDoctypeSelector *self,
guint language_id,
const gchar *doctype);
gchar *ggd_doctype_selector_get_doctype (GgdDoctypeSelector *self,
guint language_id);
GGD_END_PLUGIN_API
G_END_DECLS
#endif /* guard */