2
* Copyright (C) 2008 Stefan Walter
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.
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.
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
20
#ifndef __GCR_CERTIFICATE_DETAILS_WIDGET_H__
21
#define __GCR_CERTIFICATE_DETAILS_WIDGET_H__
24
* GcrCertificateDetailsWidget has been replaced with GcrCertificateWidget.
25
* These functions are stubs for GcrCertificateWidget.
28
#ifndef GCR_DISABLE_DEPRECATED
30
#include <glib-object.h>
33
#include "gcr-certificate.h"
34
#include "gcr-certificate-widget.h"
35
#include "gcr-types.h"
39
#define GCR_TYPE_CERTIFICATE_DETAILS_WIDGET (gcr_certificate_details_widget_get_type ())
40
#define GCR_CERTIFICATE_DETAILS_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCR_TYPE_CERTIFICATE_DETAILS_WIDGET, GcrCertificateDetailsWidget))
41
#define GCR_CERTIFICATE_DETAILS_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GCR_TYPE_CERTIFICATE_DETAILS_WIDGET, GcrCertificateDetailsWidgetClass))
42
#define GCR_IS_CERTIFICATE_DETAILS_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCR_TYPE_CERTIFICATE_DETAILS_WIDGET))
43
#define GCR_IS_CERTIFICATE_DETAILS_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GCR_TYPE_CERTIFICATE_DETAILS_WIDGET))
44
#define GCR_CERTIFICATE_DETAILS_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GCR_TYPE_CERTIFICATE_DETAILS_WIDGET, GcrCertificateDetailsWidgetClass))
46
typedef GcrCertificateWidget GcrCertificateDetailsWidget;
47
typedef GcrCertificateWidgetClass GcrCertificateDetailsWidgetClass;
49
GType gcr_certificate_details_widget_get_type (void);
51
GcrCertificateDetailsWidget* gcr_certificate_details_widget_new (GcrCertificate *cert);
53
GcrCertificate* gcr_certificate_details_widget_get_certificate (GcrCertificateDetailsWidget *details);
55
void gcr_certificate_details_widget_set_certificate (GcrCertificateDetailsWidget *details,
56
GcrCertificate *cert);
60
#endif /* GCR_DISABLE_DEPRECATED */
62
#endif /* __GCR_CERTIFICATE_DETAILS_WIDGET_H__ */