~noskcaj/ubuntu/vivid/gnome-keyring/3.15.90

« back to all changes in this revision

Viewing changes to gcr/gcr-key-renderer.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach
  • Date: 2012-05-14 22:13:02 UTC
  • mfrom: (1.3.1)
  • mto: (80.2.8 experimental) (1.1.77)
  • mto: This revision was merged to the branch mainline in revision 148.
  • Revision ID: package-import@ubuntu.com-20120514221302-0l3gjmqpe6xopond
ImportĀ upstreamĀ versionĀ 3.4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (C) 2010 Stefan Walter
3
 
 *
4
 
 * This program is free software; you can redistribute it and/or modify
5
 
 * it under the terms of the GNU Lesser General Public License as
6
 
 * published by the Free Software Foundation; either version 2.1 of
7
 
 * the License, or (at your option) any later version.
8
 
 *
9
 
 * This program is distributed in the hope that it will be useful, but
10
 
 * WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
 
 * Lesser General Public License for more details.
13
 
 *
14
 
 * You should have received a copy of the GNU Lesser General Public
15
 
 * License along with this program; if not, write to the Free Software
16
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
17
 
 * 02111-1307, USA.
18
 
 */
19
 
 
20
 
#if !defined (__GCR_H_INSIDE__) && !defined (GCR_COMPILATION)
21
 
#error "Only <gcr/gcr.h> can be included directly."
22
 
#endif
23
 
 
24
 
#ifndef __GCR_KEY_RENDERER_H__
25
 
#define __GCR_KEY_RENDERER_H__
26
 
 
27
 
#include <glib-object.h>
28
 
#include <gtk/gtk.h>
29
 
 
30
 
#include "gcr-types.h"
31
 
 
32
 
G_BEGIN_DECLS
33
 
 
34
 
#define GCR_TYPE_KEY_RENDERER               (gcr_key_renderer_get_type ())
35
 
#define GCR_KEY_RENDERER(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCR_TYPE_KEY_RENDERER, GcrKeyRenderer))
36
 
#define GCR_KEY_RENDERER_CLASS(klass)       (G_TYPE_CHECK_CLASS_CAST ((klass), GCR_TYPE_KEY_RENDERER, GcrKeyRendererClass))
37
 
#define GCR_IS_KEY_RENDERER(obj)            (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCR_TYPE_KEY_RENDERER))
38
 
#define GCR_IS_KEY_RENDERER_CLASS(klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GCR_TYPE_KEY_RENDERER))
39
 
#define GCR_KEY_RENDERER_GET_CLASS(obj)     (G_TYPE_INSTANCE_GET_CLASS ((obj), GCR_TYPE_KEY_RENDERER, GcrKeyRendererClass))
40
 
 
41
 
typedef struct _GcrKeyRenderer GcrKeyRenderer;
42
 
typedef struct _GcrKeyRendererClass GcrKeyRendererClass;
43
 
typedef struct _GcrKeyRendererPrivate GcrKeyRendererPrivate;
44
 
 
45
 
struct _GcrKeyRenderer {
46
 
        GObject parent;
47
 
        GcrKeyRendererPrivate *pv;
48
 
};
49
 
 
50
 
struct _GcrKeyRendererClass {
51
 
        GObjectClass parent_class;
52
 
};
53
 
 
54
 
GType                   gcr_key_renderer_get_type             (void);
55
 
 
56
 
GcrKeyRenderer*         gcr_key_renderer_new                  (const gchar *label,
57
 
                                                               GckAttributes *attrs);
58
 
 
59
 
void                    gcr_key_renderer_set_attributes       (GcrKeyRenderer *self,
60
 
                                                               GckAttributes *attrs);
61
 
 
62
 
GckAttributes*          gcr_key_renderer_get_attributes       (GcrKeyRenderer *self);
63
 
 
64
 
G_END_DECLS
65
 
 
66
 
#endif /* __GCR_KEY_RENDERER_H__ */