2
* Copyright © 2003 Marco Pesenti Gritti
3
* Copyright © 2003, 2004 Christian Persch
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 2, or (at your option)
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 Street, Fifth Floor, Boston, MA 02110-1301, USA.
23
#include "ephy-loader.h"
26
ephy_loader_get_type (void)
28
static GType type = 0;
30
if (G_UNLIKELY (type == 0))
32
const GTypeInfo our_info =
34
sizeof (EphyLoaderIface),
39
type = g_type_register_static (G_TYPE_INTERFACE,
48
ephy_loader_type (const EphyLoader *loader)
50
EphyLoaderIface *iface = EPHY_LOADER_GET_IFACE (loader);
55
ephy_loader_get_object (EphyLoader *loader,
58
EphyLoaderIface *iface = EPHY_LOADER_GET_IFACE (loader);
59
return iface->get_object (loader, keyfile);
63
ephy_loader_release_object (EphyLoader *loader,
66
EphyLoaderIface *iface = EPHY_LOADER_GET_IFACE (loader);
67
iface->release_object (loader, object);