2 * Copyright (C) 2004 Marco Pesenti Gritti
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2, or (at your option)
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 #include "ev-viewer.h"
24 static void ev_viewer_base_init (gpointer g_class);
27 ev_viewer_get_type (void)
29 static GType type = 0;
31 if (G_UNLIKELY (type == 0))
33 static const GTypeInfo our_info =
35 sizeof (EvViewerIface),
40 type = g_type_register_static (G_TYPE_INTERFACE,
42 &our_info, (GTypeFlags)0);
49 ev_viewer_base_init (gpointer g_class)
54 ev_viewer_load (EvViewer *embed, const char *uri)
56 EvViewerIface *iface = EV_VIEWER_GET_IFACE (embed);
57 iface->load (embed, uri);