aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-encodings.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-encodings.h')
-rw-r--r--lib/ephy-encodings.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/lib/ephy-encodings.h b/lib/ephy-encodings.h
new file mode 100644
index 000000000..59f14393e
--- /dev/null
+++ b/lib/ephy-encodings.h
@@ -0,0 +1,45 @@
+/*
+ * Copyright (C) 2003 Marco Pesenti Gritti
+ * Copyright (C) 2003 Christian Persch
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * $Id$
+ */
+
+#ifndef EPHY_ENCODINGS_H
+#define EPHY_ENCODINGS_H
+
+#include <glib.h>
+#include "ephy-langs.h"
+
+G_BEGIN_DECLS
+
+typedef struct
+{
+ char *encoding;
+ EphyLanguageGroup group;
+ char *title;
+ char *key;
+} EphyEncodingInfo;
+
+GList *ephy_encodings_get_list (EphyLanguageGroup group,
+ gboolean elide_underscores);
+
+void ephy_encoding_info_free (EphyEncodingInfo *info);
+
+G_END_DECLS
+
+#endif