]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-application.h
Fix build with poppler 0.5.9.
[evince.git] / shell / ev-application.h
index 4f3ce7e4deaac1186c7ae9f9585749a03b76c3b1..e0d068a17eb6ef988757cee832b25f4a3bb668b1 100644 (file)
 #ifndef EV_APPLICATION_H
 #define EV_APPLICATION_H
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <glib/gerror.h>
 #include <glib-object.h>
 
@@ -32,6 +36,7 @@
 #ifndef HAVE_GTK_RECENT
 #include "egg-recent-model.h"
 #endif
+#include "totem-scrsaver.h"
 
 G_BEGIN_DECLS
 
@@ -58,6 +63,8 @@ struct _EvApplication {
 #ifndef HAVE_GTK_RECENT
        EggRecentModel  *recent_model;
 #endif
+
+       TotemScrsaver *scr_saver;
        
        gchar *last_chooser_uri;
 };
@@ -103,7 +110,8 @@ EggRecentModel   *ev_application_get_recent_model    (EvApplication   *applicati
 void             ev_application_set_chooser_uri     (EvApplication   *application, 
                                                      const gchar     *uri);
 const gchar     *ev_application_get_chooser_uri     (EvApplication   *application);
-
+void             ev_application_screensaver_enable  (EvApplication   *application);
+void             ev_application_screensaver_disable (EvApplication   *application);
 G_END_DECLS
 
 #endif /* !EV_APPLICATION_H */