Added: XBMC remembers the weather location
authorGarrett Brown <garbearucla@gmail.com>
Fri, 8 Jul 2011 03:52:22 +0000 (20:52 -0700)
committerGarrett Brown <garbearucla@gmail.com>
Mon, 25 Jul 2011 08:00:22 +0000 (01:00 -0700)
commit22c1861b0512feecd087a3cff47d35664db32789
treeb97623ae2394bc90171d1f95c4136b9cecb472ae
parent851d441d81fbb68f0dd1580d5365f0703fcde3a3
Added: XBMC remembers the weather location

The current area code is now persistent and stored in the settings as a 1-indexed integer. For consisteny, the related code treats any area code references as 1-indexed as well (both internally and externally via builtins).

Additionally, some #defines have been cleaned up and consolidated to reduce code duplication.
xbmc/interfaces/Builtins.cpp
xbmc/settings/GUISettings.cpp
xbmc/utils/Weather.cpp
xbmc/utils/Weather.h
xbmc/windows/GUIWindowWeather.cpp
xbmc/windows/GUIWindowWeather.h