Gnash  0.8.10
gnash-view.h
Go to the documentation of this file.
00001 /* gnash-view.h: Gtk view widget for gnash
00002 ** 
00003 **   Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
00004 ** 
00005 ** This program is free software; you can redistribute it and/or modify
00006 ** it under the terms of the GNU General Public License as published by
00007 ** the Free Software Foundation; either version 3 of the License, or
00008 ** (at your option) any later version.
00009 ** 
00010 ** This program is distributed in the hope that it will be useful,
00011 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 ** GNU General Public License for more details.
00014 **
00015 ** You should have received a copy of the GNU General Public License
00016 ** along with this program; if not, write to the Free Software
00017 ** Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00018 */
00019 
00020 #ifndef __GNASH_VIEW_H__
00021 #define __GNASH_VIEW_H__
00022 
00023 #include <gtk/gtkbin.h>
00024 
00025 G_BEGIN_DECLS
00026 
00027 typedef struct _GnashView            GnashView;
00028 typedef struct _GnashViewClass       GnashViewClass;
00029 
00030 #define GNASH_TYPE_VIEW              (gnash_view_get_type())
00031 #define GNASH_VIEW(object)           (G_TYPE_CHECK_INSTANCE_CAST((object), GNASH_TYPE_VIEW, GnashView))
00032 #define GNASH_VIEW_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST((klass), GNASH_TYPE_VIEW, GnashViewClass))
00033 #define GNASH_IS_VIEW(object)        (G_TYPE_CHECK_INSTANCE_TYPE((object), GNASH_TYPE_VIEW))
00034 #define GNASH_IS_VIEW_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), GNASH_TYPE_VIEW))
00035 #define GNASH_VIEW_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), GNASH_TYPE_VIEW, GnashViewClass))
00036 
00037 struct _GnashViewClass {
00038     GtkBinClass base_class;
00039 };
00040 
00041 GType        gnash_view_get_type    (void);
00042 GtkWidget   *gnash_view_new         (void);
00043 const gchar *gnash_view_call        (GnashView *view, const gchar *func_name, const gchar *input_data);
00044 
00045 G_END_DECLS
00046 
00047 #endif
00048