]> www.fi.muni.cz Git - evince.git/blobdiff - libview/ev-job-scheduler.h
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / libview / ev-job-scheduler.h
index 66f9f80c5ddd2ec36791000d9c32a39db117d6fb..0e08b96c5b523c0ee049c8a86d5666448df210ef 100644 (file)
  *
  * 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_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-view.h> can be included directly."
+#endif
+
 #ifndef EV_JOB_SCHEDULER_H
 #define EV_JOB_SCHEDULER_H
 
@@ -34,10 +38,11 @@ typedef enum {
        EV_JOB_N_PRIORITIES
 } EvJobPriority;
 
-void ev_job_scheduler_push_job   (EvJob        *job,
-                                 EvJobPriority priority);
-void ev_job_scheduler_update_job (EvJob        *job,
-                                 EvJobPriority priority);
+void   ev_job_scheduler_push_job               (EvJob        *job,
+                                                EvJobPriority priority);
+void   ev_job_scheduler_update_job             (EvJob        *job,
+                                                EvJobPriority priority);
+EvJob *ev_job_scheduler_get_running_thread_job (void);
 
 G_END_DECLS