mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 21:17:03 +00:00
This PR adds the features CPUserNotification and CPUserNotificationCenter in Foundation. The CPUserNotificationCenter allows you to send user notification to the system. Right now, we only propose what the W3C proposes. We can set for a notification the title, informativeText and the icon. We only support local notification yet. The protocol CPUserNotificationCenterDelegate has been added as well. Test app in Tests/Manual/CPUserNotificationTest
19 lines
309 B
Plaintext
19 lines
309 B
Plaintext
/*
|
|
* AppController.j
|
|
* CPUserNotificationTest
|
|
*
|
|
* Created by You on June 25, 2015.
|
|
* Copyright 2015, Your Company All rights reserved.
|
|
*/
|
|
|
|
@import <Foundation/Foundation.j>
|
|
@import <AppKit/AppKit.j>
|
|
|
|
@import "AppController.j"
|
|
|
|
|
|
function main(args, namedArgs)
|
|
{
|
|
CPApplicationMain(args, namedArgs);
|
|
}
|