🍎 Send events as native macOS notifications
This commit is contained in:
parent
5eeadb0ad4
commit
38cc56efee
4 changed files with 50 additions and 0 deletions
|
@ -50,6 +50,10 @@ void SystemPreferences::BuildPrototype(
|
|||
#if defined(OS_WIN)
|
||||
.SetMethod("isAeroGlassEnabled", &SystemPreferences::IsAeroGlassEnabled)
|
||||
#elif defined(OS_MACOSX)
|
||||
.SetMethod("postNotification",
|
||||
&SystemPreferences::PostNotification)
|
||||
.SetMethod("postLocalNotification",
|
||||
&SystemPreferences::PostLocalNotification)
|
||||
.SetMethod("subscribeNotification",
|
||||
&SystemPreferences::SubscribeNotification)
|
||||
.SetMethod("unsubscribeNotification",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue