aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-single.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-05-28 23:43:24 +0800
committerChristian Persch <chpe@src.gnome.org>2003-05-28 23:43:24 +0800
commitbbda044fa543cce525dd4b585941ea2a6f1f249f (patch)
tree359c60a50a270a34b843b5d290724775132ce441 /embed/ephy-embed-single.h
parent6d3a2386b12ff5505fa9a78a7130240c94df3986 (diff)
downloadgsoc2013-epiphany-bbda044fa543cce525dd4b585941ea2a6f1f249f.tar
gsoc2013-epiphany-bbda044fa543cce525dd4b585941ea2a6f1f249f.tar.gz
gsoc2013-epiphany-bbda044fa543cce525dd4b585941ea2a6f1f249f.tar.bz2
gsoc2013-epiphany-bbda044fa543cce525dd4b585941ea2a6f1f249f.tar.lz
gsoc2013-epiphany-bbda044fa543cce525dd4b585941ea2a6f1f249f.tar.xz
gsoc2013-epiphany-bbda044fa543cce525dd4b585941ea2a6f1f249f.tar.zst
gsoc2013-epiphany-bbda044fa543cce525dd4b585941ea2a6f1f249f.zip
continuing checkin of previous patch (cvs aborted "broken pipe")
2003-05-28 Christian Persch <chpe@cvs.gnome.org> continuing checkin of previous patch (cvs aborted "broken pipe")
Diffstat (limited to 'embed/ephy-embed-single.h')
-rw-r--r--embed/ephy-embed-single.h27
1 files changed, 12 insertions, 15 deletions
diff --git a/embed/ephy-embed-single.h b/embed/ephy-embed-single.h
index ebd065a92..3d271842e 100644
--- a/embed/ephy-embed-single.h
+++ b/embed/ephy-embed-single.h
@@ -23,6 +23,7 @@
#include "ephy-favicon-cache.h"
#include "ephy-history.h"
#include "downloader-view.h"
+#include "ephy-langs.h"
#include <glib-object.h>
#include <glib.h>
@@ -82,12 +83,6 @@ typedef struct
gchar *username;
} PasswordInfo;
-typedef struct
-{
- const char *name;
- const char *title;
-} CharsetInfo;
-
/**
* PasswordType: To distinguish actual passwords from blocked password sites
*/
@@ -134,11 +129,12 @@ struct EphyEmbedSingleClass
const char* url);
gresult (* show_java_console) (EphyEmbedSingle *shell);
gresult (* show_js_console) (EphyEmbedSingle *shell);
- gresult (* get_charset_groups) (EphyEmbedSingle *shell,
+ gresult (* get_language_groups) (EphyEmbedSingle *shell,
GList **groups);
- gresult (* get_charset_titles) (EphyEmbedSingle *shell,
- const char *group,
- GList **charsets);
+ gresult (* get_encodings) (EphyEmbedSingle *shell,
+ LanguageGroup group,
+ gboolean elide_underscores,
+ GList **encodings);
gresult (* get_font_list) (EphyEmbedSingle *shell,
const char *langGroup,
const char *fontType,
@@ -178,13 +174,14 @@ gresult ephy_embed_single_set_offline_mode (EphyEmbedSingle *shell,
gresult ephy_embed_single_load_proxy_autoconf (EphyEmbedSingle *shell,
const char* url);
-/* Charsets */
-gresult ephy_embed_single_get_charset_groups (EphyEmbedSingle *shell,
+/* Encodings */
+gresult ephy_embed_single_get_language_groups (EphyEmbedSingle *shell,
GList **groups);
-gresult ephy_embed_single_get_charset_titles (EphyEmbedSingle *shell,
- const char *group,
- GList **charsets);
+gresult ephy_embed_single_get_encodings (EphyEmbedSingle *shell,
+ LanguageGroup group,
+ gboolean elide_underscores,
+ GList **encodings);
gresult ephy_embed_single_get_font_list (EphyEmbedSingle *shell,
const char *langGroup,