aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-session.h
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2012-10-08 17:39:31 +0800
committerCarlos Garcia Campos <cgarcia@igalia.com>2013-01-09 00:42:17 +0800
commit59b0526207799db5e5e3039963e1cb0d08cc7642 (patch)
treec285ec32121c07d0b8b226b1ccc7066427bd488f /src/ephy-session.h
parentb18992cb830ce129ba6b9b1132f0921414554bb8 (diff)
downloadgsoc2013-epiphany-59b0526207799db5e5e3039963e1cb0d08cc7642.tar
gsoc2013-epiphany-59b0526207799db5e5e3039963e1cb0d08cc7642.tar.gz
gsoc2013-epiphany-59b0526207799db5e5e3039963e1cb0d08cc7642.tar.bz2
gsoc2013-epiphany-59b0526207799db5e5e3039963e1cb0d08cc7642.tar.lz
gsoc2013-epiphany-59b0526207799db5e5e3039963e1cb0d08cc7642.tar.xz
gsoc2013-epiphany-59b0526207799db5e5e3039963e1cb0d08cc7642.tar.zst
gsoc2013-epiphany-59b0526207799db5e5e3039963e1cb0d08cc7642.zip
ephy-session: Add ephy_session_resume() and use it instead of queueing a resume command
https://bugzilla.gnome.org/show_bug.cgi?id=641739
Diffstat (limited to 'src/ephy-session.h')
-rw-r--r--src/ephy-session.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/ephy-session.h b/src/ephy-session.h
index c264e0cab..5d18cd47f 100644
--- a/src/ephy-session.h
+++ b/src/ephy-session.h
@@ -45,7 +45,6 @@ typedef struct _EphySessionClass EphySessionClass;
typedef enum
{
- EPHY_SESSION_CMD_RESUME_SESSION,
EPHY_SESSION_CMD_OPEN_URIS,
EPHY_SESSION_CMD_MAYBE_OPEN_WINDOW,
EPHY_SESSION_CMD_MAYBE_OPEN_WINDOW_RESTORE,
@@ -89,6 +88,15 @@ void ephy_session_load_from_stream (EphySession *session,
gboolean ephy_session_load_from_stream_finish (EphySession *session,
GAsyncResult *result,
GError **error);
+void ephy_session_resume (EphySession *session,
+ guint32 user_time,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean ephy_session_resume_finish (EphySession *session,
+ GAsyncResult *result,
+ GError **error);
+
void ephy_session_close (EphySession *session);