19 | | __''Notifications in MacPorts.Framework''__ |
| 19 | __'''Notifications in MacPorts.Framework'''__[[BR]] |
| 20 | The framework is suppose to be able to notify the system of port |
| 21 | activities that it performs. Depending on the print options set |
| 22 | by a user (debug, info) etc. various port messages are sent to |
| 23 | STDOUT during the execution of a port command. Our current solution |
| 24 | to for Notifications involves listening for these messages and |
| 25 | posting global/local NSNotifications as they arrive. (See notifications.m |
| 26 | in gsoc08-framework/ for some preliminary code by [wiki:rhwood rhwood] for this).[[BR]] |
| 27 | |
| 28 | Is there a better way to go about doing this? If at all possible, we |
| 29 | would like to not have to change code in the current macports1.0/ |
| 30 | or ports/ folders. You can ping me on irc (Armahg) or email armahg@macports.org |
| 31 | with suggestions or more questions on the "problem". |
| 32 | |
| 33 | |