*
* 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.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
+#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-document.h> can be included directly."
+#endif
+
#ifndef EV_DOCUMENT_FACTORY_H
#define EV_DOCUMENT_FACTORY_H
#include <gtk/gtk.h>
+
#include "ev-document.h"
G_BEGIN_DECLS
-typedef enum {
- EV_BACKEND_PDF,
- EV_BACKEND_PS,
- EV_BACKEND_TIFF,
- EV_BACKEND_PIXBUF,
- EV_BACKEND_DJVU,
- EV_BACKEND_DVI,
- EV_BACKEND_COMICS,
- EV_BACKEND_IMPRESS
-} EvBackend;
-
EvDocument* ev_document_factory_get_document (const char *uri, GError **error);
-EvBackend ev_document_factory_get_backend (EvDocument *document);
void ev_document_factory_add_filters (GtkWidget *chooser, EvDocument *document);
G_END_DECLS