mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 08:14:47 -07:00
Add configuration option to send desktop notification on buddy presence (#3886)
This commit is contained in:
parent
63b4f9b2f0
commit
91dc8b3b08
8 changed files with 83 additions and 15 deletions
|
|
@ -77,6 +77,7 @@ private:
|
|||
bool picDownload;
|
||||
bool notificationsEnabled;
|
||||
bool spectatorNotificationsEnabled;
|
||||
bool buddyConnectNotificationsEnabled;
|
||||
bool doubleClickToPlay;
|
||||
bool playToStack;
|
||||
int startingHandSize;
|
||||
|
|
@ -202,6 +203,10 @@ public:
|
|||
{
|
||||
return spectatorNotificationsEnabled;
|
||||
}
|
||||
bool getBuddyConnectNotificationsEnabled() const
|
||||
{
|
||||
return buddyConnectNotificationsEnabled;
|
||||
}
|
||||
bool getNotifyAboutUpdates() const
|
||||
{
|
||||
return notifyAboutUpdates;
|
||||
|
|
@ -476,6 +481,7 @@ public slots:
|
|||
void setPicDownload(int _picDownload);
|
||||
void setNotificationsEnabled(int _notificationsEnabled);
|
||||
void setSpectatorNotificationsEnabled(int _spectatorNotificationsEnabled);
|
||||
void setBuddyConnectNotificationsEnabled(int _buddyConnectNotificationsEnabled);
|
||||
void setDoubleClickToPlay(int _doubleClickToPlay);
|
||||
void setPlayToStack(int _playToStack);
|
||||
void setStartingHandSize(int _startingHandSize);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue