/* * Android Weather Notification. * Copyright (C) 2010 Denis Nelubin aka Gelin * * 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 2 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, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * * http://gelin.ru * mailto:den@gelin.ru */ package ru.gelin.android.weather.notification; class WeatherStorageKeys { private WeatherStorageKeys() { //avoid instantiation } /** Preference name for location. */ static final String LOCATION = "weather_location"; /** Preference name for weather time. */ static final String TIME = "weather_time"; /** Preference name for query time. */ static final String QUERY_TIME = "weather_query_time"; /** Preference name for unit system. */ @Deprecated static final String UNIT_SYSTEM = "weather_unit_system"; /** Preference name pattern for condition text. */ static final String CONDITION_TEXT = "weather_%d_condition_text"; /** Preference name pattern for condition type. */ static final String CONDITION_TYPES = "weather_%d_condition_type_%d"; /** Preference name pattern for temperature unit. */ static final String TEMPERATURE_UNIT = "weather_%d_temperature_unit"; /** Preference name pattern for current temp. */ static final String CURRENT_TEMP = "weather_%d_current_temp"; /** Preference name pattern for low temp. */ static final String LOW_TEMP = "weather_%d_low_temp"; /** Preference name pattern for high temp. */ static final String HIGH_TEMP = "weather_%d_high_temp"; /** Preference name pattern for humidity text. */ static final String HUMIDITY_TEXT = "weather_%d_humidity_text"; /** Preference name pattern for humidity value. */ static final String HUMIDITY_VALUE = "weather_%d_humidity_value"; /** Preference name pattern for wind text. */ static final String WIND_TEXT = "weather_%d_wind_text"; /** Preference name pattern for wind speed unit. */ static final String WIND_SPEED_UNIT = "weather_%d_wind_speed_unit"; /** Preference name pattern for wind speed. */ static final String WIND_SPEED = "weather_%d_wind_speed"; /** Preference name pattern for wind direction. */ static final String WIND_DIR = "weather_%d_wind_direction"; /** Preference name pattern for cloudiness unit. */ static final String CLOUDINESS_UNIT = "weather_%d_cloudiness_unit"; /** Preference name pattern for cloudiness value. */ static final String CLOUDINESS_VALUE = "weather_%d_cloudiness_value"; /** Preference name pattern for precipitation unit. */ static final String PRECIPITATION_UNIT = "weather_%d_precipitation_unit"; /** Preference name pattern for precipitation period. */ static final String PRECIPITATION_PERIOD = "weather_%d_precipitation_period"; /** Preference name pattern for precipitation value. */ static final String PRECIPITATION_VALUE = "weather_%d_precipitation_value"; /** Preference name for forecast URL. */ static final String FORECAST_URL = "weather_forecast_url"; }