aboutsummaryrefslogtreecommitdiff
path: root/include/datetime/settings-live.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-02-01 18:07:18 -0600
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 14:27:02 +0200
commitfee2f8fdbe5a851643bed55decb14e1cff84cb8a (patch)
tree1f44368c759989c0f22643b16a086259bfe3e176 /include/datetime/settings-live.h
parentdfa174a82854b214b7eeaa62ad8b7567c4c1a949 (diff)
downloadayatana-indicator-datetime-fee2f8fdbe5a851643bed55decb14e1cff84cb8a.tar.gz
ayatana-indicator-datetime-fee2f8fdbe5a851643bed55decb14e1cff84cb8a.tar.bz2
ayatana-indicator-datetime-fee2f8fdbe5a851643bed55decb14e1cff84cb8a.zip
in LiveSettings, add gschema support for notification app blacklisting
Diffstat (limited to 'include/datetime/settings-live.h')
-rw-r--r--include/datetime/settings-live.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/datetime/settings-live.h b/include/datetime/settings-live.h
index ccf7122..330b8e8 100644
--- a/include/datetime/settings-live.h
+++ b/include/datetime/settings-live.h
@@ -38,8 +38,10 @@ public:
virtual ~LiveSettings();
private:
- static void on_changed(GSettings*, gchar*, gpointer);
- void update_key(const std::string& key);
+ static void on_changed_ccid(GSettings*, gchar*, gpointer);
+ static void on_changed_cunh(GSettings*, gchar*, gpointer);
+ void update_key_ccid(const std::string& key);
+ void update_key_cunh(const std::string& key);
void update_custom_time_format();
void update_locations();
@@ -60,8 +62,10 @@ private:
void update_alarm_duration();
void update_alarm_haptic();
void update_snooze_duration();
+ void update_muted_apps();
GSettings* m_settings;
+ GSettings* m_settings_cunh;
// we've got a raw pointer here, so disable copying
LiveSettings(const LiveSettings&) =delete;