Debian Codegraph @

pkcs11/xdg-store/gkm-xdg-assertion.h

raw
1 /*
2 * gnome-keyring
3 *
4 * Copyright (C) 2010 Stefan Walter
5 * Copyright (C) 2010 Collabora Ltd
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU Lesser General Public License as
9 * published by the Free Software Foundation; either version 2.1 of
10 * the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this program; if not, see
19 * <http://www.gnu.org/licenses/>.
20 */
21
22 #ifndef __GKM_XDG_ASSERTION_H__
23 #define __GKM_XDG_ASSERTION_H__
24
25 #include <glib-object.h>
26
27 #include "gkm/gkm-assertion.h"
28
29 #define GKM_XDG_FACTORY_ASSERTION (gkm_xdg_assertion_get_factory ())
30 #define GKM_XDG_TYPE_ASSERTION (gkm_xdg_assertion_get_type ())
31 #define GKM_XDG_ASSERTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GKM_XDG_TYPE_ASSERTION, GkmXdgAssertion))
32 #define GKM_XDG_ASSERTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GKM_XDG_TYPE_ASSERTION, GkmXdgAssertionClass))
33 #define GKM_XDG_IS_ASSERTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GKM_XDG_TYPE_ASSERTION))
34 #define GKM_XDG_IS_ASSERTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GKM_XDG_TYPE_ASSERTION))
35 #define GKM_XDG_ASSERTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GKM_XDG_TYPE_ASSERTION, GkmXdgAssertionClass))
36
37 typedef struct _GkmXdgAssertion GkmXdgAssertion;
38 typedef struct _GkmXdgAssertionClass GkmXdgAssertionClass;
39 typedef struct _GkmXdgAssertionPrivate GkmXdgAssertionPrivate;
40
41 struct _GkmXdgAssertion {
42 GkmAssertion parent;
43 GkmXdgAssertionPrivate *pv;
44 };
45
46 struct _GkmXdgAssertionClass {
47 GkmAssertionClass parent_class;
48 };
49
50 GType gkm_xdg_assertion_get_type (void);
51
52 GkmFactory* gkm_xdg_assertion_get_factory (void);
53
54 #endif /* __GKM_XDG_ASSERTION_H__ */