aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-session.h')
-rw-r--r--src/ephy-session.h25
1 files changed, 20 insertions, 5 deletions
diff --git a/src/ephy-session.h b/src/ephy-session.h
index 025f8425d..2bdc26fd6 100644
--- a/src/ephy-session.h
+++ b/src/ephy-session.h
@@ -39,8 +39,19 @@ G_BEGIN_DECLS
#define EPHY_SESSION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_SESSION, EphySessionClass))
typedef struct _EphySession EphySession;
-typedef struct _EphySessionClass EphySessionClass;
typedef struct _EphySessionPrivate EphySessionPrivate;
+typedef struct _EphySessionClass EphySessionClass;
+
+typedef enum
+{
+ EPHY_SESSION_CMD_RESUME_SESSION,
+ EPHY_SESSION_CMD_LOAD_SESSION,
+ EPHY_SESSION_CMD_OPEN_BOOKMARKS_EDITOR,
+ EPHY_SESSION_CMD_OPEN_URIS,
+ EPHY_SESSION_CMD_MAYBE_OPEN_WINDOW,
+ EPHY_SESSION_CMD_LAST
+
+} EphySessionCommand;
struct _EphySession
{
@@ -66,9 +77,6 @@ gboolean ephy_session_load (EphySession *session,
const char *filename,
guint32 user_time);
-gboolean ephy_session_autoresume (EphySession *session,
- guint32 user_time);
-
void ephy_session_close (EphySession *session);
GList *ephy_session_get_windows (EphySession *session);
@@ -76,9 +84,16 @@ GList *ephy_session_get_windows (EphySession *session);
void ephy_session_add_window (EphySession *session,
GtkWindow *window);
-void ephy_session_remove_window (EphySession *session,
+void ephy_session_remove_window (EphySession *session,
GtkWindow *window);
+void ephy_session_queue_command (EphySession *session,
+ EphySessionCommand op,
+ const char *arg,
+ char **args,
+ guint32 user_time,
+ gboolean priority);
+
G_END_DECLS
#endif