* (added) libanjuta/anjuta-utils-priv.h,
[anjuta-git-plugin.git] / plugins / devhelp / htmlview.h
blob8f2f82126dbb379c4ee43ca42879a96746617265
1 /*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU Library General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 #ifndef HTMLVIEW_H
18 #define HTMLVIEW_H
20 #include <glib.h>
21 #include <glib-object.h>
22 #include <gtk/gtk.h>
24 #include <devhelp/dh-html.h>
26 #include "plugin.h"
28 G_BEGIN_DECLS
30 #define HTML_TYPE_VIEW (html_view_get_type ())
31 #define HTML_VIEW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), HTML_TYPE_VIEW, HtmlView))
32 #define HTML_VIEW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), HTML_TYPE_VIEW, HtmlViewClass))
33 #define HTML_IS_VIEW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), HTML_TYPE_VIEW))
34 #define HTML_IS_VIEW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), HTML_TYPE_VIEW))
35 #define HTML_VIEW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), HTML_TYPE_VIEW, HtmlViewClass))
37 typedef struct _HtmlView HtmlView;
38 typedef struct _HtmlViewPrivate HtmlViewPrivate;
39 typedef struct _HtmlViewClass HtmlViewClass;
41 struct _HtmlView {
42 GtkHBox parent;
43 HtmlViewPrivate *priv;
46 struct _HtmlViewClass {
47 GtkHBoxClass parent_class;
50 GType html_view_get_type(void);
51 GtkWidget *html_view_new(AnjutaDevhelp* devhelp);
53 DhHtml* html_view_get_dh_html(HtmlView* html_view);
55 G_END_DECLS
57 #endif /* HTMLVIEW_H */