]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/C.java
Expand search history handling.
[Dictionary.git] / src / com / hughes / android / dictionary / C.java
index 76ce541a4f9df80622f8ffd7bfc209758bf9f53d..dfa4c8a988b5a00cd8e8c6b4dc1e6ff6d3a55500 100644 (file)
@@ -21,44 +21,10 @@ public class C {
     public static final String DICT_FILE = "dictFile";
     public static final String INDEX_SHORT_NAME = "indexShortName";
     public static final String SEARCH_TOKEN = "searchToken";
+    public static final String SEARCH_HISTORY = "searchHistory";
     public static final String CAN_AUTO_LAUNCH_DICT = "canAutoLaunch";
     public static final String SHOW_DOWNLOADABLE = "showLocal";
 
     public static final String THANKS_FOR_UPDATING_VERSION = "thanksForUpdatingVersion";
 
-    enum Theme {
-        DEFAULT(R.style.Theme_Default,
-                R.style.Theme_Default_TokenRow_Fg,
-                R.color.theme_default_token_row_fg,
-                R.drawable.theme_default_token_row_main_bg,
-                R.drawable.theme_default_token_row_other_bg,
-                R.drawable.theme_default_normal_row_bg),
-
-        LIGHT(R.style.Theme_Light,
-                R.style.Theme_Light_TokenRow_Fg,
-                R.color.theme_light_token_row_fg,
-                R.drawable.theme_light_token_row_main_bg,
-                R.drawable.theme_light_token_row_other_bg,
-                R.drawable.theme_light_normal_row_bg);
-
-        Theme(final int themeId, final int tokenRowFg,
-              final int tokenRowFgColor,
-              final int tokenRowMainBg, final int tokenRowOtherBg,
-              final int normalRowBg) {
-            this.themeId = themeId;
-            this.tokenRowFg = tokenRowFg;
-            this.tokenRowFgColor = tokenRowFgColor;
-            this.tokenRowMainBg = tokenRowMainBg;
-            this.tokenRowOtherBg = tokenRowOtherBg;
-            this.normalRowBg = normalRowBg;
-        }
-
-        final int themeId;
-        final int tokenRowFg;
-        final int tokenRowFgColor;
-        final int tokenRowMainBg;
-        final int tokenRowOtherBg;
-        final int normalRowBg;
-    }
-
 }