]> www.fi.muni.cz Git - evince.git/blob - shell/ev-properties-license.h
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / shell / ev-properties-license.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */
2 /* this file is part of evince, a gnome document viewer
3  *
4  *  Copyright (C) 2009 Juanjo MarĂ­n <juanj.marin@juntadeandalucia.es>
5  *  Copyright (C) 2005 Red Hat, Inc
6  *
7  * Evince is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * Evince is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20  */
21
22 #ifndef __EV_PROPERTIES_LICENSE_VIEW_H__
23 #define __EV_PROPERTIES_LICENSE_VIEW_H__
24
25 #include <gtk/gtk.h>
26
27 #include <evince-document.h>
28
29 G_BEGIN_DECLS
30
31 typedef struct _EvPropertiesLicense        EvPropertiesLicense;
32 typedef struct _EvPropertiesLicenseClass   EvPropertiesLicenseClass;
33 typedef struct _EvPropertiesLicensePrivate EvPropertiesLicensePrivate;
34
35 #define EV_TYPE_PROPERTIES_LICENSE              (ev_properties_license_get_type())
36 #define EV_PROPERTIES_LICENSE(object)           (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_PROPERTIES_LICENSE, EvPropertiesLicense))
37 #define EV_PROPERTIES_LICENSE_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_PROPERTIES_LICENSE, EvPropertiesLicenseClass))
38 #define EV_IS_PROPERTIES_LICENSE(object)        (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_PROPERTIES_LICENSE))
39 #define EV_IS_PROPERTIES_LICENSE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_PROPERTIES_LICENSE))
40 #define EV_PROPERTIES_LICENSE_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_PROPERTIES_LICENSE, EvPropertiesLicenseClass))
41
42 GType      ev_properties_license_get_type    (void) G_GNUC_CONST;
43
44 GtkWidget *ev_properties_license_new         (void);
45 void       ev_properties_license_set_license (EvPropertiesLicense *properties_license,
46                                               EvDocumentLicense   *license);
47
48 G_END_DECLS
49
50 #endif /* __EV_PROPERTIES_LICENSE_VIEW_H__ */