summaryrefslogtreecommitdiffstats
path: root/utils/storage/tag_utility.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/storage/tag_utility.h')
-rw-r--r--utils/storage/tag_utility.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/utils/storage/tag_utility.h b/utils/storage/tag_utility.h
index 22a7dd4..67d8946 100644
--- a/utils/storage/tag_utility.h
+++ b/utils/storage/tag_utility.h
@@ -22,6 +22,8 @@
#ifndef TAG_UTILITY_H
#define TAG_UTILITY_H
+#include "novel_types.h"
+
/* Note: the optional tag has been removed from the first implementation.
* Maybe the optional tag will be added back later.
*/
@@ -51,4 +53,16 @@ bool taglib_pop_state();
bool taglib_fini();
+namespace pinyin{
+ class PhraseLargeTable;
+};
+
+using namespace pinyin;
+
+phrase_token_t taglib_string_to_token(PhraseLargeTable * phrases,
+ const char * string);
+
+char * taglib_token_to_string(FacadePhraseIndex * phrase_index,
+ phrase_token_t token);
+
#endif