Gnash  0.8.11dev
gnash-view.h
Go to the documentation of this file.
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.
14 **
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
18 */
19 
20 #ifndef __GNASH_VIEW_H__
21 #define __GNASH_VIEW_H__
22 
23 #include <gtk/gtkbin.h>
24 
25 G_BEGIN_DECLS
26 
27 typedef struct _GnashView GnashView;
29 
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))
36 
38  GtkBinClass base_class;
39 };
40 
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);
44 
45 G_END_DECLS
46 
47 #endif
48 
const gchar * gnash_view_call(GnashView *view, const gchar *func_name, const gchar *input_data)
Definition: gnash-view.cpp:105
Definition: gnash-view.h:37
GtkBinClass base_class
Definition: gnash-view.h:38
GType gnash_view_get_type(void)
GtkWidget * gnash_view_new(void)
Definition: gnash-view.cpp:99
typedefG_BEGIN_DECLS struct _GnashView GnashView
Definition: gnash-view.h:27