|
Packit Service |
f02b19 |
/*
|
|
Packit Service |
f02b19 |
* Copyright (C) 2011 Collabora Ltd.
|
|
Packit Service |
f02b19 |
*
|
|
Packit Service |
f02b19 |
* This program is free software; you can redistribute it and/or modify
|
|
Packit Service |
f02b19 |
* it under the terms of the GNU Lesser General Public License as
|
|
Packit Service |
f02b19 |
* published by the Free Software Foundation; either version 2.1 of
|
|
Packit Service |
f02b19 |
* the License, or (at your option) any later version.
|
|
Packit Service |
f02b19 |
*
|
|
Packit Service |
f02b19 |
* This program is distributed in the hope that it will be useful, but
|
|
Packit Service |
f02b19 |
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
f02b19 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
f02b19 |
* Lesser General Public License for more details.
|
|
Packit Service |
f02b19 |
*
|
|
Packit Service |
f02b19 |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
f02b19 |
* License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
Packit Service |
f02b19 |
*
|
|
Packit Service |
f02b19 |
* Author: Stef Walter <stefw@collabora.co.uk>
|
|
Packit Service |
f02b19 |
*/
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
#if !defined (__GCR_H_INSIDE__) && !defined (GCR_COMPILATION)
|
|
Packit Service |
f02b19 |
#error "Only <gcr/gcr.h> can be included directly."
|
|
Packit Service |
f02b19 |
#endif
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
#ifndef __GCR_GNUPG_RENDERER_H__
|
|
Packit Service |
f02b19 |
#define __GCR_GNUPG_RENDERER_H__
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
#include <glib-object.h>
|
|
Packit Service |
f02b19 |
#include <gtk/gtk.h>
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
#include "gcr/gcr-record.h"
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
G_BEGIN_DECLS
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
#define GCR_TYPE_GNUPG_RENDERER (_gcr_gnupg_renderer_get_type ())
|
|
Packit Service |
f02b19 |
#define GCR_GNUPG_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCR_TYPE_GNUPG_RENDERER, GcrGnupgRenderer))
|
|
Packit Service |
f02b19 |
#define GCR_GNUPG_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GCR_TYPE_GNUPG_RENDERER, GcrGnupgRendererClass))
|
|
Packit Service |
f02b19 |
#define GCR_IS_GNUPG_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCR_TYPE_GNUPG_RENDERER))
|
|
Packit Service |
f02b19 |
#define GCR_IS_GNUPG_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GCR_TYPE_GNUPG_RENDERER))
|
|
Packit Service |
f02b19 |
#define GCR_GNUPG_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GCR_TYPE_GNUPG_RENDERER, GcrGnupgRendererClass))
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
typedef struct _GcrGnupgRenderer GcrGnupgRenderer;
|
|
Packit Service |
f02b19 |
typedef struct _GcrGnupgRendererClass GcrGnupgRendererClass;
|
|
Packit Service |
f02b19 |
typedef struct _GcrGnupgRendererPrivate GcrGnupgRendererPrivate;
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
struct _GcrGnupgRenderer {
|
|
Packit Service |
f02b19 |
GObject parent;
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
/*< private >*/
|
|
Packit Service |
f02b19 |
GcrGnupgRendererPrivate *pv;
|
|
Packit Service |
f02b19 |
};
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
struct _GcrGnupgRendererClass {
|
|
Packit Service |
f02b19 |
GObjectClass parent_class;
|
|
Packit Service |
f02b19 |
};
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
GType _gcr_gnupg_renderer_get_type (void);
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
GcrGnupgRenderer * _gcr_gnupg_renderer_new (GPtrArray *records);
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
GcrGnupgRenderer * _gcr_gnupg_renderer_new_for_attributes (const gchar *label,
|
|
Packit Service |
f02b19 |
GckAttributes *attrs);
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
GPtrArray * _gcr_gnupg_renderer_get_records (GcrGnupgRenderer *self);
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
void _gcr_gnupg_renderer_set_records (GcrGnupgRenderer *self,
|
|
Packit Service |
f02b19 |
GPtrArray *records);
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
GckAttributes * _gcr_gnupg_renderer_get_attributes (GcrGnupgRenderer *self);
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
void _gcr_gnupg_renderer_set_attributes (GcrGnupgRenderer *self,
|
|
Packit Service |
f02b19 |
GckAttributes *attrs);
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
G_END_DECLS
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
#endif /* __GCR_GNUPG_RENDERER_H__ */
|