aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-01-21 19:57:59 -0600
committerCharles Kerr <charles.kerr@canonical.com>2015-01-21 19:57:59 -0600
commitc5f2b60893cd8a34a285d5e57484b498890b93e1 (patch)
treed25825ca18cf7ecf971a55fd421efdfdeaa8a881 /include
parentba986b6071161b7f3179dfb524f6c8c5d3ea23d1 (diff)
downloadayatana-indicator-datetime-c5f2b60893cd8a34a285d5e57484b498890b93e1.tar.gz
ayatana-indicator-datetime-c5f2b60893cd8a34a285d5e57484b498890b93e1.tar.bz2
ayatana-indicator-datetime-c5f2b60893cd8a34a285d5e57484b498890b93e1.zip
require an explicit role for the sound so that we can differentiate between eg 'alarm' and 'alert'
Diffstat (limited to 'include')
-rw-r--r--include/notifications/sound.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/notifications/sound.h b/include/notifications/sound.h
index f5f549c..d08c2e7 100644
--- a/include/notifications/sound.h
+++ b/include/notifications/sound.h
@@ -41,7 +41,7 @@ namespace notifications {
class Sound
{
public:
- Sound(const std::string& uri, unsigned int volume, bool loop);
+ Sound(const std::string& role, const std::string& uri, unsigned int volume, bool loop);
~Sound();
private: