memoryio / memoryio-macosx

Life logging app for macosx. Takes a picture with built in isight whenever you wake computer from sleep
8 stars 4 forks source link

Screensaver end callback #16

Closed zgiles closed 10 years ago

zgiles commented 10 years ago

Adding a NSNotificationCenter for the NSDistributedNotificationCenter, which captures a huge amount of stuff on the system. adding an Observer for specifically the screensaver ending. Adding subscription and unsubscription and a function to handle the ending of the screensaver. Tested with screensaver with no password and with password. This works either way.