Dumb questions on KUNCUserNotifications.h
I think I may do some really nasty thing in a Kext so before making something really stupid I have to ask something maybe stupid: 1st dumb question: ------------------ KUNCUserNotificationDisplayFromBundle Does this method work in 10.1 and 10.2 because the comment on this call is (both on 10.1 and 10.2 headers)? /* This function currently requires a bundle path, which kexts cannot currently get. In the future, the CFBundleIdentiofier of the kext will be pass in in place of the bundlePath. */ And what does the "bundlePath" thing means? That you need to set bundleIdentifier to be the BSD path to the bundle but that in a later version this could be incorrect? 2nd dumb question: ------------------ Is there some code in Darwin which shows the usage of this API? A Finder Search on xnu did not produce any encouraging results. ------------------ As a side note, I think there's a typo in this file in regards to the comments: #define kOpenPreferencePanel 1 /* runs the preferences with the foo.preference opened. foo.preference must exist in /System/Library/P references */ I think the real path is /System/Library/PreferencePanes and foo.preference is foo.prefPane. _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Stéphane Sudre