X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=shell%2Fev-application.h;h=e0d068a17eb6ef988757cee832b25f4a3bb668b1;hb=c087ebf90ee6c32656ae925d0c1682b427a21e7e;hp=3b43b453961d146f68ba5160bcdcbcb51a887f1b;hpb=bd7342aad81904a616ea6948a1e87c59e26af951;p=evince.git diff --git a/shell/ev-application.h b/shell/ev-application.h index 3b43b453..e0d068a1 100644 --- a/shell/ev-application.h +++ b/shell/ev-application.h @@ -23,6 +23,10 @@ #ifndef EV_APPLICATION_H #define EV_APPLICATION_H +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include @@ -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; }; @@ -86,6 +93,7 @@ void ev_application_open_uri_at_dest (EvApplication *applicati GdkScreen *screen, EvLinkDest *dest, EvWindowRunMode mode, + gboolean unlink_temp_file, guint32 timestamp); void ev_application_open_uri_list (EvApplication *application, GSList *uri_list, @@ -102,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 */