X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-application.h;h=87e2bf10a747521a0ef1c0621ed1da32054f55f8;hb=de943521fd81f589360337c3a94cbdc3ce3819d0;hp=8c317c7e47f6f61af026b032e293b84bf622700a;hpb=8d858ef399ef70a2c9efb391242e8c8be70e2109;p=evince.git diff --git a/shell/ev-application.h b/shell/ev-application.h index 8c317c7e..87e2bf10 100644 --- a/shell/ev-application.h +++ b/shell/ev-application.h @@ -28,6 +28,9 @@ #include "ev-window.h" +#include "egg-toolbars-model.h" +#include "egg-recent-model.h" + G_BEGIN_DECLS typedef struct _EvApplication EvApplication; @@ -45,24 +48,39 @@ typedef struct _EvApplicationPrivate EvApplicationPrivate; struct _EvApplication { GObject base_instance; + + gchar *toolbars_file; + + EggToolbarsModel *toolbars_model; + EggRecentModel *recent_model; }; struct _EvApplicationClass { GObjectClass base_class; }; -GType ev_application_get_type (void); -gboolean ev_application_register_service (EvApplication *application); -EvApplication *ev_application_get_instance (void); -gboolean ev_application_open_window (EvApplication *application, - GError **error); -gboolean ev_application_open_uri (EvApplication *application, - const char *uri, - const char *page_label, - GError **error); -void ev_application_open_uri_list (EvApplication *application, - GSList *uri_list); -void ev_application_shutdown (EvApplication *application); +GType ev_application_get_type (void); +EvApplication *ev_application_get_instance (void); +gboolean ev_application_register_service (EvApplication *application); +void ev_application_shutdown (EvApplication *application); + + +gboolean ev_application_open_window (EvApplication *application, + guint32 timestamp, + GError **error); +gboolean ev_application_open_uri (EvApplication *application, + const char *uri, + const char *page_label, + guint32 timestamp, + GError **error); +void ev_application_open_uri_list (EvApplication *application, + GSList *uri_list, + guint32 timestamp); + + +EggToolbarsModel *ev_application_get_toolbars_model (EvApplication *application); +void ev_application_save_toolbars_model (EvApplication *application); +EggRecentModel *ev_application_get_recent_model (EvApplication *application); G_END_DECLS