aboutsummaryrefslogtreecommitdiff
path: root/src/stardict.h
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-12-19 08:51:52 +0100
committerPřemysl Eric Janouch <p@janouch.name>2024-12-19 14:38:19 +0100
commit531f18d827dd515befa8a91f5ac80c6b3872498d (patch)
tree5cbfc9e79b0335d19141511b57df285f580ed51a /src/stardict.h
parent862cde36aeaf9b6fbaadc9ab32b95eaa3a8ba7f4 (diff)
downloadtdv-531f18d827dd515befa8a91f5ac80c6b3872498d.tar.gz
tdv-531f18d827dd515befa8a91f5ac80c6b3872498d.tar.xz
tdv-531f18d827dd515befa8a91f5ac80c6b3872498d.zip
GUI: add basic configuration
It is simply not feasible to write the text file by hand on Windows.
Diffstat (limited to 'src/stardict.h')
-rw-r--r--src/stardict.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stardict.h b/src/stardict.h
index 85fd396..79dde47 100644
--- a/src/stardict.h
+++ b/src/stardict.h
@@ -108,6 +108,7 @@ GQuark stardict_error_quark (void);
// --- Dictionary information --------------------------------------------------
+StardictInfo *stardict_info_new (const gchar *filename, GError **error);
const gchar *stardict_info_get_path (StardictInfo *sdi) G_GNUC_PURE;
const gchar *stardict_info_get_book_name (StardictInfo *sdi) G_GNUC_PURE;
gsize stardict_info_get_word_count (StardictInfo *sd) G_GNUC_PURE;