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

« back to all changes in this revision

Viewing changes to gcr/gcr-certificate-details-widget.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) 2008 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
 
#ifndef __GCR_CERTIFICATE_DETAILS_WIDGET_H__
21
 
#define __GCR_CERTIFICATE_DETAILS_WIDGET_H__
22
 
 
23
 
/*
24
 
 * GcrCertificateDetailsWidget has been replaced with GcrCertificateWidget.
25
 
 * These functions are stubs for GcrCertificateWidget.
26
 
 */
27
 
 
28
 
#ifndef GCR_DISABLE_DEPRECATED
29
 
 
30
 
#include <glib-object.h>
31
 
#include <gtk/gtk.h>
32
 
 
33
 
#include "gcr-certificate.h"
34
 
#include "gcr-types.h"
35
 
 
36
 
G_BEGIN_DECLS
37
 
 
38
 
#define GCR_TYPE_CERTIFICATE_DETAILS_WIDGET               (gcr_certificate_details_widget_get_type ())
39
 
#define GCR_CERTIFICATE_DETAILS_WIDGET(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCR_TYPE_CERTIFICATE_DETAILS_WIDGET, GcrCertificateDetailsWidget))
40
 
#define GCR_CERTIFICATE_DETAILS_WIDGET_CLASS(klass)       (G_TYPE_CHECK_CLASS_CAST ((klass), GCR_TYPE_CERTIFICATE_DETAILS_WIDGET, GcrCertificateDetailsWidgetClass))
41
 
#define GCR_IS_CERTIFICATE_DETAILS_WIDGET(obj)            (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCR_TYPE_CERTIFICATE_DETAILS_WIDGET))
42
 
#define GCR_IS_CERTIFICATE_DETAILS_WIDGET_CLASS(klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GCR_TYPE_CERTIFICATE_DETAILS_WIDGET))
43
 
#define GCR_CERTIFICATE_DETAILS_WIDGET_GET_CLASS(obj)     (G_TYPE_INSTANCE_GET_CLASS ((obj), GCR_TYPE_CERTIFICATE_DETAILS_WIDGET, GcrCertificateDetailsWidgetClass))
44
 
 
45
 
typedef GcrCertificateWidget GcrCertificateDetailsWidget;
46
 
typedef GcrCertificateWidgetClass GcrCertificateDetailsWidgetClass;
47
 
 
48
 
GType                         gcr_certificate_details_widget_get_type               (void);
49
 
 
50
 
GcrCertificateDetailsWidget*  gcr_certificate_details_widget_new                    (GcrCertificate *cert);
51
 
 
52
 
GcrCertificate*               gcr_certificate_details_widget_get_certificate        (GcrCertificateDetailsWidget *details);
53
 
 
54
 
void                          gcr_certificate_details_widget_set_certificate        (GcrCertificateDetailsWidget *details,
55
 
                                                                                     GcrCertificate *cert);
56
 
 
57
 
G_END_DECLS
58
 
 
59
 
#endif /* GCR_DISABLE_DEPRECATED */
60
 
 
61
 
#endif /* __GCR_CERTIFICATE_DETAILS_WIDGET_H__ */