diff options
author | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-11-13 22:02:03 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-11-13 22:02:03 +0800 |
commit | f96998042311fdbe13591635b4861f6e9db7c230 (patch) | |
tree | ed45fb5150f213180392d71f4563ac0d86eec9d7 /src/ephy-shell.h | |
parent | f6bdfce7e16b98825598dc990efef0846efdb079 (diff) | |
download | gsoc2013-epiphany-f96998042311fdbe13591635b4861f6e9db7c230.tar gsoc2013-epiphany-f96998042311fdbe13591635b4861f6e9db7c230.tar.gz gsoc2013-epiphany-f96998042311fdbe13591635b4861f6e9db7c230.tar.bz2 gsoc2013-epiphany-f96998042311fdbe13591635b4861f6e9db7c230.tar.lz gsoc2013-epiphany-f96998042311fdbe13591635b4861f6e9db7c230.tar.xz gsoc2013-epiphany-f96998042311fdbe13591635b4861f6e9db7c230.tar.zst gsoc2013-epiphany-f96998042311fdbe13591635b4861f6e9db7c230.zip |
ChangeLog
Diffstat (limited to 'src/ephy-shell.h')
-rw-r--r-- | src/ephy-shell.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/ephy-shell.h b/src/ephy-shell.h index 98e8d634b..32a01a48c 100644 --- a/src/ephy-shell.h +++ b/src/ephy-shell.h @@ -49,6 +49,28 @@ typedef struct EphyShellPrivate EphyShellPrivate; extern EphyShell *ephy_shell; +#define EPHY_SHELL_ERROR ephy_shell_error_quark () + +typedef enum +{ + EPHY_SHELL_ERROR_MISSING_SERVER, + EPHY_SHELL_ERROR_OBJECT_REG_FAILED, + EPHY_SHELL_ERROR_FACTORY_REG_FAILED, + EPHY_SHELL_ERROR_MOZILLA_REG_FAILED +} EphyShellError; + +typedef enum +{ + EPHY_SHELL_STARTUP_TABS = 1 << 0, + EPHY_SHELL_STARTUP_EXISTING_WINDOW = 1 << 2, + EPHY_SHELL_STARTUP_FULLSCREEN = 1 << 3, + EPHY_SHELL_STARTUP_BOOKMARKS_EDITOR = 1 << 4, + EPHY_SHELL_STARTUP_NAUTILUS_VIEW = 1 << 5, + EPHY_SHELL_STARTUP_SESSION = 1 << 6, + EPHY_SHELL_STARTUP_IMPORT_BOOKMARKS = 1 << 7, + EPHY_SHELL_STARTUP_ADD_BOOKMARK = 1 << 8 +} EphyShellStartupFlags; + typedef enum { /* Page types */ @@ -79,10 +101,18 @@ struct EphyShellClass EphyEmbedShellClass parent_class; }; +GQuark ephy_shell_error_quark (void); + GType ephy_shell_get_type (void); EphyShell *ephy_shell_new (void); +gboolean ephy_shell_startup (EphyShell *gs, + EphyShellStartupFlags flags, + const char **args, + const char *string_arg, + GError **error); + EphyWindow *ephy_shell_get_active_window (EphyShell *gs); EphyTab *ephy_shell_new_tab (EphyShell *shell, |