/* * Copyright (c) 2012 Tobias Markmann * Licensed under the simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ #import "NotificationCenterNotifierDelegate.h" #include @implementation NotificationCenterNotifierDelegate; @synthesize notifier; using namespace Swift; - (void) userNotificationCenter:(NSUserNotificationCenter *) center didActivateNotification:(NSUserNotification *) notification { notifier->handleNotificationClicked(notification); //Remove the notification [center removeDeliveredNotification:notification]; } @end