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
4 * Copyright (C) 2009 Juanjo MarĂn <juanj.marin@juntadeandalucia.es>
5 * Copyright (C) 2005 Red Hat, Inc
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.
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.
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.
22 #ifndef __EV_PROPERTIES_LICENSE_VIEW_H__
23 #define __EV_PROPERTIES_LICENSE_VIEW_H__
27 #include <evince-document.h>
31 typedef struct _EvPropertiesLicense EvPropertiesLicense;
32 typedef struct _EvPropertiesLicenseClass EvPropertiesLicenseClass;
33 typedef struct _EvPropertiesLicensePrivate EvPropertiesLicensePrivate;
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))
42 GType ev_properties_license_get_type (void) G_GNUC_CONST;
44 GtkWidget *ev_properties_license_new (void);
45 void ev_properties_license_set_license (EvPropertiesLicense *properties_license,
46 EvDocumentLicense *license);
50 #endif /* __EV_PROPERTIES_LICENSE_VIEW_H__ */