]> www.fi.muni.cz Git - evince.git/blob - shell/ev-document-types.h
b5d75ddce4803654f0f4f8af9c216649ffe2649a
[evince.git] / shell / ev-document-types.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */
2 /*
3  *  Copyright (C) 2005, Red Hat, Inc. 
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License as published by
7  *  the Free Software Foundation; either version 2, or (at your option)
8  *  any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with this program; if not, write to the Free Software
17  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18  *
19  */
20
21 #ifndef EV_DOCUMENT_TYPES_H
22 #define EV_DOCUMENT_TYPES_H
23
24 #include "ev-document.h"
25 #include <gtk/gtk.h>
26
27 G_BEGIN_DECLS
28
29 GType ev_document_type_lookup (const char  *uri,
30                                gchar       **mime_type,
31                                GError      **error);
32
33 void ev_document_types_add_filters          (GtkWidget *chooser);
34 void ev_document_types_add_filters_for_type (GtkWidget *chooser, GType type);
35
36 G_END_DECLS
37
38 #endif