Power code unplug and plug

2008-12-01 Thread sheen mac
Hi All, My app want to get power code plug and unplug notification for MacBook. How can I get that info. Could suggest some info or link about this?. Thanks In Advance, Sheen ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: Power code unplug and plug

2008-12-01 Thread Jean-Daniel Dupas
Le 1 déc. 08 à 18:46, sheen mac a écrit : Hi All, My app want to get power code plug and unplug notification for MacBook. How can I get that info. Could suggest some info or link about this?. Thanks In Advance, Sheen I think you are looking for the IOPowerSources API, especially