/*
 * Kiwix Android
 * Copyright (C) 2018  Kiwix <android.kiwix.org>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */
package org.kiwix.kiwixmobile.utils;

import org.kiwix.kiwixmobile.BuildConfig;

public final class Constants {

  public static final String TAG_KIWIX = "kiwix";

  public static final String CONTACT_EMAIL_ADDRESS = "android@kiwix.org";

  // Request stuff
  public static final int REQUEST_FILE_SEARCH = 1236;

  public static final int REQUEST_STORAGE_PERMISSION = 1;

  public static final int REQUEST_FILE_SELECT = 1234;

  public static final int REQUEST_PREFERENCES = 1235;

  public static final int BOOKMARK_CHOSEN_REQUEST = 1;

  // Result stuff
  public static final int RESULT_RESTART = 1236;

  public static final int RESULT_HISTORY_CLEARED = 1239;

  // Prefs
  public static final String PREF_LANG = "pref_language_chooser";

  public static final String PREF_VERSION = "pref_version";

  public static final String PREF_CLEAR_ALL_HISTORY = "pref_clear_all_history";

  public static final String PREF_CREDITS = "pref_credits";

  public static final String PREF_STORAGE = "pref_select_folder";

  public static final String PREF_AUTONIGHTMODE = "pref_auto_nightmode";

  public static final String PREF_NIGHTMODE = "pref_nightmode";

  public static final String PREF_WIFI_ONLY = "pref_wifi_only";

  public static final String PREF_BOTTOM_TOOLBAR = "pref_bottomtoolbar";

  public static final String PREF_KIWIX_MOBILE = "kiwix-mobile";

  public static final String PREF_BACK_TO_TOP = "pref_backtotop";

  public static final String PREF_HIDE_TOOLBAR = "pref_hidetoolbar";

  public static final String PREF_ZOOM = "pref_zoom_slider";

  public static final String PREF_ZOOM_ENABLED = "pref_zoom_enabled";

  public static final String PREF_FULLSCREEN = "pref_fullscreen";

  public static final String PREF_NEW_TAB_BACKGROUND = "pref_newtab_background";

  public static final String PREF_FULL_TEXT_SEARCH = "pref_full_text_search";

  public static final String PREF_STORAGE_TITLE = "pref_selected_title";

  public static final String PREF_EXTERNAL_LINK_POPUP = "pref_external_link_popup";

  public static final String PREF_IS_FIRST_RUN = "isFirstRun";

  public static final String PREF_SHOW_INTRO = "showIntro";

  // Tags
  public static final String TAG_FILE_SEARCHED = "searchedarticle";

  public static final String TAG_CURRENT_FILE = "currentzimfile";

  public static final String TAG_CURRENT_ARTICLES = "currentarticles";

  public static final String TAG_CURRENT_POSITIONS = "currentpositions";

  public static final String TAG_CURRENT_TAB = "currenttab";

  // Extras
  public static final String EXTRA_ZIM_FILE_2 = "zim_file";

  public static final String EXTRA_ZIM_FILE = "zimFile";

  public static final String EXTRA_CHOSE_X_URL = "choseXURL";

  public static final String EXTRA_CHOSE_X_TITLE = "choseXTitle";

  public static final String EXTRA_EXTERNAL_LINK = "external_link";

  public static final String EXTRA_LIBRARY = "library";

  public static final String EXTRA_SEARCH = "search";

  public static final String EXTRA_BOOK = "Book";

  public static final String EXTRA_IS_WIDGET_VOICE = "isWidgetVoice";

  public static final String EXTRA_IS_WIDGET_SEARCH = "isWidgetSearch";

  public static final String EXTRA_IS_WIDGET_STAR = "isWidgetStar";

  public static final String EXTRA_NOTIFICATION_ID = "notificationID";

  public static final String EXTRA_WEBVIEWS_LIST = "webviewsList";

  public static final String EXTRA_SEARCH_TEXT = "searchText";

  // Notification Channel Constants
  public static final String ONGOING_DOWNLOAD_CHANNEL_ID = "ongoing_downloads_channel_id";

  public static final String OLD_PROVIDER_DOMAIN = "org.kiwix.zim.base";

  public static final String NEW_PROVIDER_DOMAIN = BuildConfig.APPLICATION_ID + ".zim.base";
}
