~ubuntu-branches/ubuntu/lucid/seahorse/lucid

« back to all changes in this revision

Viewing changes to pgp/seahorse-pgp-photo.h

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Sauthier
  • Date: 2009-01-08 17:05:02 UTC
  • mfrom: (1.2.39 upstream)
  • Revision ID: james.westby@ubuntu.com-20090108170502-zs2i7svo0b7l3ecz
Tags: 2.25.4-0ubuntu1
* New upstream version (LP: #315147).
* Update debian/patches/80_autoconf_update.patch
* debian/rules:
  - addition of a shlibs rule for libcryptui0 (>= 2.25.4)
* Fix bdeps to match upstream configure check:
  - set libgnome-keyring-dev to (>= 2.25.3).
  - add libtasn1-3-dev.
* debian/seahorse.install:
  - inclusion of debian/tmp/usr/share/gnome/autostart/seahorse-daemon.desktop.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Seahorse
 
3
 *
 
4
 * Copyright (C) 2008 Stefan Walter
 
5
 *
 
6
 * This program is free software; you can redistribute it and/or modify
 
7
 * it under the terms of the GNU General Public License as published by
 
8
 * the Free Software Foundation; either version 2 of the License, or
 
9
 * (at your option) any later version.
 
10
 *
 
11
 * This program is distributed in the hope that it will be useful,
 
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
14
 * See the GNU General Public License for more details.
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program; if not, write to the
 
17
 * Free Software Foundation, Inc.,
 
18
 * 59 Temple Place, Suite 330,
 
19
 * Boston, MA 02111-1307, USA.
 
20
 */
 
21
 
 
22
#ifndef __SEAHORSE_PGP_PHOTO_H__
 
23
#define __SEAHORSE_PGP_PHOTO_H__
 
24
 
 
25
#include <glib-object.h>
 
26
#include <gtk/gtk.h>
 
27
 
 
28
#define SEAHORSE_TYPE_PGP_PHOTO            (seahorse_pgp_photo_get_type ())
 
29
#define SEAHORSE_PGP_PHOTO(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), SEAHORSE_TYPE_PGP_PHOTO, SeahorsePgpPhoto))
 
30
#define SEAHORSE_PGP_PHOTO_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), SEAHORSE_TYPE_PGP_PHOTO, SeahorsePgpPhotoClass))
 
31
#define SEAHORSE_IS_PGP_PHOTO(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SEAHORSE_TYPE_PGP_PHOTO))
 
32
#define SEAHORSE_IS_PGP_PHOTO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SEAHORSE_TYPE_PGP_PHOTO))
 
33
#define SEAHORSE_PGP_PHOTO_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), SEAHORSE_TYPE_PGP_PHOTO, SeahorsePgpPhotoClass))
 
34
 
 
35
typedef struct _SeahorsePgpPhoto SeahorsePgpPhoto;
 
36
typedef struct _SeahorsePgpPhotoClass SeahorsePgpPhotoClass;
 
37
typedef struct _SeahorsePgpPhotoPrivate SeahorsePgpPhotoPrivate;
 
38
 
 
39
struct _SeahorsePgpPhoto {
 
40
        GObject parent;
 
41
        SeahorsePgpPhotoPrivate *pv;
 
42
};
 
43
 
 
44
struct _SeahorsePgpPhotoClass {
 
45
        GObjectClass parent_class;
 
46
};
 
47
 
 
48
GType               seahorse_pgp_photo_get_type          (void);
 
49
 
 
50
SeahorsePgpPhoto*   seahorse_pgp_photo_new               (GdkPixbuf *pixbuf);
 
51
 
 
52
GdkPixbuf*          seahorse_pgp_photo_get_pixbuf        (SeahorsePgpPhoto *self);
 
53
 
 
54
void                seahorse_pgp_photo_set_pixbuf        (SeahorsePgpPhoto *self,
 
55
                                                          GdkPixbuf *pixbuf);
 
56
 
 
57
#endif /* __SEAHORSE_PGP_PHOTO_H__ */