~ubuntu-branches/ubuntu/trusty/gcr/trusty-proposed

« back to all changes in this revision

Viewing changes to gcr/gcr-certificate-basics-widget.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach
  • Date: 2012-05-03 10:18:39 UTC
  • Revision ID: package-import@ubuntu.com-20120503101839-wuvloldm7gmdsnij
Tags: upstream-3.4.1
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_BASICS_WIDGET_H__
 
21
#define __GCR_CERTIFICATE_BASICS_WIDGET_H__
 
22
 
 
23
/*
 
24
 * GcrCertificateBasicsWidget 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-certificate-widget.h"
 
35
#include "gcr-types.h"
 
36
 
 
37
G_BEGIN_DECLS
 
38
 
 
39
#define GCR_TYPE_CERTIFICATE_BASICS_WIDGET               (gcr_certificate_basics_widget_get_type ())
 
40
#define GCR_CERTIFICATE_BASICS_WIDGET(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCR_TYPE_CERTIFICATE_BASICS_WIDGET, GcrCertificateBasicsWidget))
 
41
#define GCR_CERTIFICATE_BASICS_WIDGET_CLASS(klass)       (G_TYPE_CHECK_CLASS_CAST ((klass), GCR_TYPE_CERTIFICATE_BASICS_WIDGET, GcrCertificateBasicsWidgetClass))
 
42
#define GCR_IS_CERTIFICATE_BASICS_WIDGET(obj)            (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCR_TYPE_CERTIFICATE_BASICS_WIDGET))
 
43
#define GCR_IS_CERTIFICATE_BASICS_WIDGET_CLASS(klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GCR_TYPE_CERTIFICATE_BASICS_WIDGET))
 
44
#define GCR_CERTIFICATE_BASICS_WIDGET_GET_CLASS(obj)     (G_TYPE_INSTANCE_GET_CLASS ((obj), GCR_TYPE_CERTIFICATE_BASICS_WIDGET, GcrCertificateBasicsWidgetClass))
 
45
 
 
46
typedef GcrCertificateWidget GcrCertificateBasicsWidget;
 
47
typedef GcrCertificateWidgetClass GcrCertificateBasicsWidgetClass;
 
48
 
 
49
GType                        gcr_certificate_basics_widget_get_type               (void);
 
50
 
 
51
GcrCertificateBasicsWidget*  gcr_certificate_basics_widget_new                    (GcrCertificate *cert);
 
52
 
 
53
GcrCertificate*              gcr_certificate_basics_widget_get_certificate        (GcrCertificateBasicsWidget *basics);
 
54
 
 
55
void                         gcr_certificate_basics_widget_set_certificate        (GcrCertificateBasicsWidget *basics,
 
56
                                                                                   GcrCertificate *cert);
 
57
 
 
58
G_END_DECLS
 
59
 
 
60
#endif /* GCR_DISABLE_DEPRECATED */
 
61
 
 
62
#endif /* __GCR_CERTIFICATE_BASICS_WIDGET_H__ */