update tag utility
authorPeng Wu <alexepico@gmail.com>
Thu, 18 Oct 2012 08:53:28 +0000 (16:53 +0800)
committerPeng Wu <alexepico@gmail.com>
Thu, 18 Oct 2012 08:53:28 +0000 (16:53 +0800)
src/storage/tag_utility.cpp
src/storage/tag_utility.h

index 2701934..081e931 100644 (file)
@@ -308,6 +308,8 @@ bool taglib_fini(){
     return true;
 }
 
+#if 0
+
 static phrase_token_t taglib_special_string_to_token(const char * string){
     struct token_pair{
         phrase_token_t token;
@@ -355,6 +357,8 @@ phrase_token_t taglib_string_to_token(PhraseLargeTable2 * phrase_table,
     return token;
 }
 
+#endif
+
 static const char * taglib_special_token_to_string(phrase_token_t token){
     struct token_pair{
         phrase_token_t token;
index 68e298d..ceb1d6c 100644 (file)
@@ -116,20 +116,6 @@ class FacadePhraseIndex;
 
 
 /**
- * taglib_string_to_token:
- * @phrase_table: the phrase table for token lookup.
- * @phrase_index: the phrase index to prepare PhraseTokens.
- * @string: the string of the phrase.
- * @returns: the phrase token found in phrase table.
- *
- * Translate one phrase into the token.
- *
- */
-phrase_token_t taglib_string_to_token(PhraseLargeTable2 * phrase_table,
-                                      FacadePhraseIndex * phrase_index,
-                                      const char * string);
-
-/**
  * taglib_token_to_string:
  * @phrase_index: the phrase index for phrase string lookup.
  * @token: the phrase token.