aboutsummaryrefslogtreecommitdiff
path: root/include/datetime/locations-settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/datetime/locations-settings.h')
-rw-r--r--include/datetime/locations-settings.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/datetime/locations-settings.h b/include/datetime/locations-settings.h
index d343fe3..eaabf73 100644
--- a/include/datetime/locations-settings.h
+++ b/include/datetime/locations-settings.h
@@ -32,8 +32,8 @@ namespace datetime {
class Timezones;
/**
- * \brief An ordered list of Location objects found from
- * the system timezone and from the user's GSettings
+ * \brief Settings implentation which builds its list from the
+ * user's GSettings and from the Timezones passed in the ctor.
*/
class SettingsLocations: public Locations
{
@@ -42,11 +42,12 @@ public:
* @param[in] schemaId the settings schema to load
* @param[in] timezones the timezones to always show first in the list
*/
- SettingsLocations (const std::string& schemaId, const std::shared_ptr<Timezones>& timezones);
+ SettingsLocations (const std::string& schemaId,
+ const std::shared_ptr<Timezones>& timezones);
protected:
- std::unique_ptr<GSettings,std::function<void(GSettings*)>> settings_;
- std::shared_ptr<Timezones> timezones_;
+ std::unique_ptr<GSettings,std::function<void(GSettings*)>> m_settings;
+ std::shared_ptr<Timezones> m_timezones;
private:
static void onSettingsChanged (gpointer gself);