Crate mac_notification_sys[][src]

A very thin wrapper around NSNotifications

Modules

error

Custom errors for mac-notification-sys.

Functions

get_bundle_identifier

Search for a BundleIdentifier of an given appname.

get_bundle_identifier_or_default

Search for a possible BundleIdentifier of a given appname. Defaults to "com.apple.Terminal" if no BundleIdentifier is found.

schedule_notification

Schedules a new notification in the NotificationCenter

send_notification

Delivers a new notification

set_application

Set the application which delivers or schedules a notification