aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/lockclock/weather/WeatherProvider.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/cyanogenmod/lockclock/weather/WeatherProvider.java')
-rw-r--r--src/com/cyanogenmod/lockclock/weather/WeatherProvider.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/com/cyanogenmod/lockclock/weather/WeatherProvider.java b/src/com/cyanogenmod/lockclock/weather/WeatherProvider.java
index 15c8aff..70fbf42 100644
--- a/src/com/cyanogenmod/lockclock/weather/WeatherProvider.java
+++ b/src/com/cyanogenmod/lockclock/weather/WeatherProvider.java
@@ -27,11 +27,13 @@ public interface WeatherProvider {
public String postal;
public String countryId;
public String country;
- };
+ }
List<LocationResult> getLocations(String input);
- WeatherInfo getWeatherInfo(String id, String localizedCityName);
+ WeatherInfo getWeatherInfo(String id, String localizedCityName, boolean metricUnits);
- WeatherInfo getWeatherInfo(Location location);
-};
+ WeatherInfo getWeatherInfo(Location location, boolean metricUnits);
+
+ int getNameResourceId();
+}