diff options
author | David Malcolm <dmalcolm@redhat.com> | 2005-04-18 20:37:04 (GMT) |
---|---|---|
committer | David Malcolm <dave_malcolm@src.gnome.org> | 2005-04-18 20:37:04 (GMT) |
commit | f332d42bc834d6a7b0ec58bb8e073e63bc619f63 (patch) | |
tree | cccfc8a309b52f379be170146673cbfa5fd5b678 /shell/ev-document-types.h | |
parent | 594edf9b1277d5ec88892c2ea02c2bdc2f2e8b0e (diff) |
New files, handling the mapping from mimetypes to backends
2005-04-18 David Malcolm <dmalcolm@redhat.com>
* shell/ev-document-types.h:
* shell/ev-document-types.c:
New files, handling the mapping from mimetypes to backends
* shell/ev-window.c:
* thumbnailer/evince-thumbnailer.c:
Use the ev-document-types code
* shell/Makefile.am:
Added new convenience library libevbackendfactory_la, containing
the new mimetype->backend logic; moved the backends into it.
* thumbnailer/Makefile.am:
Make the thumbnailer link with the libevbackend.la convenience
library, rather than having a duplicate of the backend logic here.
Diffstat (limited to 'shell/ev-document-types.h')
-rw-r--r-- | shell/ev-document-types.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/shell/ev-document-types.h b/shell/ev-document-types.h new file mode 100644 index 0000000..faf2320 --- /dev/null +++ b/shell/ev-document-types.h @@ -0,0 +1,32 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */ +/* + * Copyright (C) 2005, Red Hat, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + */ + +#ifndef EV_DOCUMENT_TYPES_H +#define EV_DOCUMENT_TYPES_H + +#include "ev-document.h" + +G_BEGIN_DECLS + +GType ev_document_type_lookup (const char *mime_type); + +G_END_DECLS + +#endif |