Update with current status
[gnash.git] / gui / pythonmod / gnash-view.h
blob629cc4012a7df6bc0ad6894db09883a760ace1ad
1 /* gnash-view.h: Gtk view widget for gnash
2 **
3 ** Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
4 **
5 ** This program is free software; you can redistribute it and/or modify
6 ** it under the terms of the GNU General Public License as published by
7 ** the Free Software Foundation; either version 3 of the License, or
8 ** (at your option) any later version.
9 **
10 ** This program is distributed in the hope that it will be useful,
11 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ** GNU General Public License for more details.
15 ** You should have received a copy of the GNU General Public License
16 ** along with this program; if not, write to the Free Software
17 ** Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 #ifndef __GNASH_VIEW_H__
21 #define __GNASH_VIEW_H__
23 #include <gtk/gtkbin.h>
25 G_BEGIN_DECLS
27 typedef struct _GnashView GnashView;
28 typedef struct _GnashViewClass GnashViewClass;
30 #define GNASH_TYPE_VIEW (gnash_view_get_type())
31 #define GNASH_VIEW(object) (G_TYPE_CHECK_INSTANCE_CAST((object), GNASH_TYPE_VIEW, GnashView))
32 #define GNASH_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNASH_TYPE_VIEW, GnashViewClass))
33 #define GNASH_IS_VIEW(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), GNASH_TYPE_VIEW))
34 #define GNASH_IS_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNASH_TYPE_VIEW))
35 #define GNASH_VIEW_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), GNASH_TYPE_VIEW, GnashViewClass))
37 struct _GnashViewClass {
38 GtkBinClass base_class;
41 GType gnash_view_get_type (void);
42 GtkWidget *gnash_view_new (void);
43 const gchar *gnash_view_call (GnashView *view, const gchar *func_name, const gchar *input_data);
45 G_END_DECLS
47 #endif