diff options
author | Xan Lopez <xan@igalia.com> | 2012-06-14 03:47:07 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-06-14 13:40:12 +0800 |
commit | 600192397f1a70f56f8c592353e40fe213aa3157 (patch) | |
tree | 15ef61e5263ba3b5e878f3fa79dbb08a71c50fa4 /src/ephy-session.h | |
parent | 6c219a58f4126138eb7ff31614b5101272fc6a30 (diff) | |
download | gsoc2013-epiphany-600192397f1a70f56f8c592353e40fe213aa3157.tar gsoc2013-epiphany-600192397f1a70f56f8c592353e40fe213aa3157.tar.gz gsoc2013-epiphany-600192397f1a70f56f8c592353e40fe213aa3157.tar.bz2 gsoc2013-epiphany-600192397f1a70f56f8c592353e40fe213aa3157.tar.lz gsoc2013-epiphany-600192397f1a70f56f8c592353e40fe213aa3157.tar.xz gsoc2013-epiphany-600192397f1a70f56f8c592353e40fe213aa3157.tar.zst gsoc2013-epiphany-600192397f1a70f56f8c592353e40fe213aa3157.zip |
ephy-session: add a method to load a session from a string
And re-write the ephy_session_load method on top of it. We'll use this
in our unit tests.
Diffstat (limited to 'src/ephy-session.h')
-rw-r--r-- | src/ephy-session.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ephy-session.h b/src/ephy-session.h index 3bf1ffd9a..59741a272 100644 --- a/src/ephy-session.h +++ b/src/ephy-session.h @@ -79,6 +79,11 @@ gboolean ephy_session_load (EphySession *session, const char *filename, guint32 user_time); +gboolean ephy_session_load_from_string (EphySession *session, + const char *session_data, + gssize length, + guint32 user_time); + void ephy_session_close (EphySession *session); GList *ephy_session_get_windows (EphySession *session); |