4
* Copyright (C) 2008 Stefan Walter
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.
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.
22
#ifndef __SEAHORSE_PGP_PHOTO_H__
23
#define __SEAHORSE_PGP_PHOTO_H__
25
#include <glib-object.h>
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))
35
typedef struct _SeahorsePgpPhoto SeahorsePgpPhoto;
36
typedef struct _SeahorsePgpPhotoClass SeahorsePgpPhotoClass;
37
typedef struct _SeahorsePgpPhotoPrivate SeahorsePgpPhotoPrivate;
39
struct _SeahorsePgpPhoto {
41
SeahorsePgpPhotoPrivate *pv;
44
struct _SeahorsePgpPhotoClass {
45
GObjectClass parent_class;
48
GType seahorse_pgp_photo_get_type (void);
50
SeahorsePgpPhoto* seahorse_pgp_photo_new (GdkPixbuf *pixbuf);
52
GdkPixbuf* seahorse_pgp_photo_get_pixbuf (SeahorsePgpPhoto *self);
54
void seahorse_pgp_photo_set_pixbuf (SeahorsePgpPhoto *self,
57
#endif /* __SEAHORSE_PGP_PHOTO_H__ */