diff options
author | Xan Lopez <xlopez@igalia.com> | 2011-06-30 22:31:01 +0800 |
---|---|---|
committer | Xan Lopez <xlopez@igalia.com> | 2011-06-30 22:31:01 +0800 |
commit | f594ec68442049ad9b6ecce598f2623e0ece9049 (patch) | |
tree | 2cd2291857a752d0ce789fff6f2de558bb9b283a /embed/ephy-embed-shell.h | |
parent | 1b73fcdddb386855fb15cc61cf723f002743e7c0 (diff) | |
download | gsoc2013-epiphany-f594ec68442049ad9b6ecce598f2623e0ece9049.tar.gz gsoc2013-epiphany-f594ec68442049ad9b6ecce598f2623e0ece9049.tar.zst gsoc2013-epiphany-f594ec68442049ad9b6ecce598f2623e0ece9049.zip |
Use an enum for the global mode of the application
In preparation to add a new mode for WebApps.
Diffstat (limited to 'embed/ephy-embed-shell.h')
-rw-r--r-- | embed/ephy-embed-shell.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/embed/ephy-embed-shell.h b/embed/ephy-embed-shell.h index 02eaf43a8..d89aafe94 100644 --- a/embed/ephy-embed-shell.h +++ b/embed/ephy-embed-shell.h @@ -47,6 +47,12 @@ typedef struct _EphyEmbedShellPrivate EphyEmbedShellPrivate; extern EphyEmbedShell *embed_shell; +typedef enum +{ + EPHY_EMBED_SHELL_MODE_BROWSER, + EPHY_EMBED_SHELL_MODE_PRIVATE +} EphyEmbedShellMode; + struct _EphyEmbedShell { GtkApplication parent; @@ -101,7 +107,7 @@ void ephy_embed_shell_add_download (EphyEmbedShell *shell, void ephy_embed_shell_remove_download (EphyEmbedShell *shell, EphyDownload *download); -gboolean ephy_embed_shell_is_private_instance (EphyEmbedShell *shell); +EphyEmbedShellMode ephy_embed_shell_get_mode (EphyEmbedShell *shell); G_END_DECLS |