X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-application.h;h=e0d068a17eb6ef988757cee832b25f4a3bb668b1;hb=7b6b60092efb2c318a60b7c6b472de1697ac3663;hp=4f3ce7e4deaac1186c7ae9f9585749a03b76c3b1;hpb=c7dd360a76aa50e8d46e031eee9629af466e677c;p=evince.git diff --git a/shell/ev-application.h b/shell/ev-application.h index 4f3ce7e4..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; }; @@ -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 */