Debian Codegraph @

pkcs11/template/gkm-xxx.h

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 #ifndef __GKM_XXX_H__
22 #define __GKM_XXX_H__
23
24 #include <glib-object.h>
25
26 #define GKM_TYPE_XXX (gkm_xxx_get_type ())
27 #define GKM_XXX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GKM_TYPE_XXX, GkmXxx))
28 #define GKM_XXX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GKM_TYPE_XXX, GkmXxxClass))
29 #define GKM_IS_XXX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GKM_TYPE_XXX))
30 #define GKM_IS_XXX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GKM_TYPE_XXX))
31 #define GKM_XXX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GKM_TYPE_XXX, GkmXxxClass))
32
33 typedef struct _GkmXxx GkmXxx;
34 typedef struct _GkmXxxClass GkmXxxClass;
35
36 struct _GkmXxxClass {
37 GObjectClass parent_class;
38
39 /* signals --------------------------------------------------------- */
40
41 void (*signal) (GkmXxx *xxx);
42 };
43
44 GType gkm_xxx_get_type (void);
45
46 GkmXxx* gkm_xxx_new (void);
47
48 #endif /* __GKM_XXX_H__ */