]> www.fi.muni.cz Git - evince.git/blob - shell/ev-job-queue.h
Cleanup mime type detection on document load. Fix for the bug #336448.
[evince.git] / shell / ev-job-queue.h
1 /* this file is part of evince, a gnome document viewer
2  *
3  *  Copyright (C) 2005 Red Hat, Inc
4  *
5  * Evince is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * Evince is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * 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 #ifndef __EV_JOB_QUEUE_H__
21 #define __EV_JOB_QUEUE_H__
22
23 #include <gtk/gtk.h>
24 #include "ev-jobs.h"
25
26 G_BEGIN_DECLS
27
28
29 void     ev_job_queue_init       (void);
30
31 void     ev_job_queue_add_job    (EvJob         *job,
32                                   EvJobPriority  priority);
33 gboolean ev_job_queue_update_job (EvJob         *job,
34                                   EvJobPriority  new_priority);
35 gboolean ev_job_queue_remove_job (EvJob         *job);
36
37 G_END_DECLS
38
39 #endif /* __EV_JOB_QUEUE_H__ */