Plumb in the macOS soundName property for notifications.
This commit is contained in:
parent
4bc4a0c45b
commit
0cfae1cc2b
5 changed files with 20 additions and 1 deletions
|
@ -54,6 +54,7 @@ class Notification : public mate::TrackableObject<Notification>,
|
|||
base::string16 GetReplyPlaceholder() const;
|
||||
bool GetHasReply() const;
|
||||
std::vector<brightray::NotificationAction> GetActions() const;
|
||||
base::string16 GetSoundName() const;
|
||||
|
||||
// Prop Setters
|
||||
void SetTitle(const base::string16& new_title);
|
||||
|
@ -63,6 +64,7 @@ class Notification : public mate::TrackableObject<Notification>,
|
|||
void SetReplyPlaceholder(const base::string16& new_reply_placeholder);
|
||||
void SetHasReply(bool new_has_reply);
|
||||
void SetActions(const std::vector<brightray::NotificationAction>& actions);
|
||||
void SetSoundName(const base::string16& sound_name);
|
||||
|
||||
private:
|
||||
base::string16 title_;
|
||||
|
@ -75,6 +77,7 @@ class Notification : public mate::TrackableObject<Notification>,
|
|||
base::string16 reply_placeholder_;
|
||||
bool has_reply_ = false;
|
||||
std::vector<brightray::NotificationAction> actions_;
|
||||
base::string16 sound_name_;
|
||||
|
||||
brightray::NotificationPresenter* presenter_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue