Debian Codegraph @

pkcs11/template/gkm-zzz.c

raw
1 /*
2 * gnome-keyring
3 *
4 * Copyright (C) 2008 Stefan Walter
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License as
8 * published by the Free Software Foundation; either version 2.1 of
9 * the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this program; if not, see
18 * <http://www.gnu.org/licenses/>.
19 */
20
21 #include "config.h"
22
23 #include "gkm-zzz.h"
24
25 static void
26 gkm_zzz_base_init (gpointer gobject_class)
27 {
28 static gboolean initialized = FALSE;
29 if (!initialized) {
30 /* Add properties and signals to the interface */
31
32
33 initialized = TRUE;
34 }
35 }
36
37 GType
38 gkm_zzz_get_type (void)
39 {
40 static GType type = 0;
41 if (!type) {
42 static const GTypeInfo info = {
43 sizeof (GkmZzzIFace),
44 gkm_zzz_base_init, /* base init */
45 NULL, /* base finalize */
46 NULL, /* class_init */
47 NULL, /* class finalize */
48 NULL, /* class data */
49 0,
50 0, /* n_preallocs */
51 NULL, /* instance init */
52 };
53 type = g_type_register_static (G_TYPE_INTERFACE, "GkmZzzIFace", &info, 0);
54 g_type_interface_add_prerequisite (type, G_TYPE_OBJECT);
55 }
56
57 return type;
58 }