summaryrefslogtreecommitdiffstats
path: root/src/storage/tag_utility.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/tag_utility.h')
-rw-r--r--src/storage/tag_utility.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/storage/tag_utility.h b/src/storage/tag_utility.h
index d52b2c4..6f4c9fc 100644
--- a/src/storage/tag_utility.h
+++ b/src/storage/tag_utility.h
@@ -28,6 +28,8 @@
* Maybe the optional tag will be added back later.
*/
+namespace pinyin{
+
bool taglib_init();
/* Note: most tags are separated by ',' or ':' . */
@@ -53,12 +55,9 @@ bool taglib_pop_state();
bool taglib_fini();
-namespace pinyin{
+
class PhraseLargeTable;
class FacadePhraseIndex;
-};
-
-using namespace pinyin;
phrase_token_t taglib_string_to_token(PhraseLargeTable * phrases,
const char * string);
@@ -66,4 +65,6 @@ phrase_token_t taglib_string_to_token(PhraseLargeTable * phrases,
char * taglib_token_to_string(FacadePhraseIndex * phrase_index,
phrase_token_t token);
+};
+
#endif