aboutsummaryrefslogtreecommitdiff
path: root/src/locations.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-30 12:45:50 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-01-30 12:45:50 -0600
commitd2caa37e18191c31d866dd3042b676c135bae50d (patch)
tree603cdc81a45c1d6e5250e72954f3876b56ca24e1 /src/locations.cpp
parent9752ca1cd3e75e1245ebb8dcb4719503e332a352 (diff)
downloadayatana-indicator-datetime-d2caa37e18191c31d866dd3042b676c135bae50d.tar.gz
ayatana-indicator-datetime-d2caa37e18191c31d866dd3042b676c135bae50d.tar.bz2
ayatana-indicator-datetime-d2caa37e18191c31d866dd3042b676c135bae50d.zip
as per review, don't inline getters
Diffstat (limited to 'src/locations.cpp')
-rw-r--r--src/locations.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/locations.cpp b/src/locations.cpp
index d6ab73a..8d1a086 100644
--- a/src/locations.cpp
+++ b/src/locations.cpp
@@ -25,6 +25,16 @@ namespace unity {
namespace indicator {
namespace datetime {
+const std::string& Location::zone() const
+{
+ return m_zone;
+}
+
+const std::string& Location::name() const
+{
+ return m_name;
+}
+
Location::Location(const std::string& zone_, const std::string& name_):
m_zone(zone_),
m_name(name_)