diff options
author | Xan Lopez <xan@src.gnome.org> | 2007-10-26 03:59:36 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2007-10-26 03:59:36 +0800 |
commit | fdacbe229e0defe6ef64068066a13369cce2ec27 (patch) | |
tree | 5525e0fd8d01f1629b43e619b5e5bd763c42bf08 /embed/ephy-embed.h | |
parent | 461af43a1c1f2e0506fb49d15b01b7a76e43579e (diff) | |
download | gsoc2013-epiphany-fdacbe229e0defe6ef64068066a13369cce2ec27.tar.gz gsoc2013-epiphany-fdacbe229e0defe6ef64068066a13369cce2ec27.tar.zst gsoc2013-epiphany-fdacbe229e0defe6ef64068066a13369cce2ec27.zip |
Move address and typed-address from EphyTab to EphyEmbed
ephy-tab.c is totally broken now, will fix in next patches.
svn path=/trunk/; revision=7557
Diffstat (limited to 'embed/ephy-embed.h')
-rw-r--r-- | embed/ephy-embed.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/embed/ephy-embed.h b/embed/ephy-embed.h index 2c64234e9..b56bfe964 100644 --- a/embed/ephy-embed.h +++ b/embed/ephy-embed.h @@ -108,6 +108,13 @@ typedef enum EPHY_EMBED_NAV_FORWARD = 1 << 2 } EphyEmbedNavigationFlags; +typedef enum +{ + EPHY_EMBED_ADDRESS_EXPIRE_NOW, + EPHY_EMBED_ADDRESS_EXPIRE_NEXT, + EPHY_EMBED_ADDRESS_EXPIRE_CURRENT +} EphyEmbedAddressExpire; + struct _EphyEmbedIface { GTypeInterface base_iface; @@ -242,6 +249,12 @@ struct _EphyEmbedIface void (* set_load_status) (EphyEmbed *embed, gboolean percent); void (* update_navigation_flags) (EphyEmbed *embed); EphyEmbedNavigationFlags (* get_navigation_flags) (EphyEmbed *embed); + const char * (* get_typed_address) (EphyEmbed *embed); + void (* set_typed_address) (EphyEmbed *embed, + const char *address, + EphyEmbedAddressExpire expire); + const char * (* get_address) (EphyEmbed *embed); + void (* set_address) (EphyEmbed *embed, char *address); }; GType ephy_embed_net_state_get_type (void); @@ -350,6 +363,15 @@ void ephy_embed_set_load_status (EphyEmbed *embed, gboolean status); /* FIXME void ephy_embed_update_navigation_flags (EphyEmbed *embed); /* FIXME: remove me */ EphyEmbedNavigationFlags ephy_embed_get_navigation_flags (EphyEmbed *embed); +/* Typed address */ +const char *ephy_embed_get_typed_address (EphyEmbed *embed); +void ephy_embed_set_typed_address (EphyEmbed *embed, + const char *address, + EphyEmbedAddressExpire expire); +/* Address */ +const char * ephy_embed_get_address (EphyEmbed *embed); +void ephy_embed_set_address (EphyEmbed *embed, char *address); /* FIXME: remove me */ + /* Encoding */ char *ephy_embed_get_encoding (EphyEmbed *embed); |