Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cancel Sleep




On Jan 1, 2008, at 9:38 PM, Andrew James wrote:

Ok everyone calm down, yes this may not be something everyone will agree on, the people that use this KNOW the risks!

How does one get a notification of the lid state changing (When the lid closes, nothing to do with sleep) that does not also mix up with the power state changing, you will notice i dont mention a single thing about forcing the system to stay awake or anything here, so please can we drop the debate and stop flooding the mailing list with the debate that will never end and just get to the point. which just as safe measure ill say once again... How does one get a notification of the lid state changing (When the lid closes, nothing to do with sleep) that does not also mix up with the power state changing

Andrew,

Sorry for not knowing more. How much of the code is open? My approach would be to suck down what is open, feed it to cscope, and then try and follow the logic of the lid closing. If you know emacs, hooked up to cscope, you can ferret this out in a half a day tops.

Judging from the quality of the code snippet you provided along with the dribble "I'm right -- You're wrong" I've watched over the past two days, these guys don't know the answer to your question.

Luke: Use the SOURCE...

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Cancel Sleep (From: Michael Smith <email@hidden>)
 >Re: Cancel Sleep (From: David Elliott <email@hidden>)
 >Re: Cancel Sleep (From: Michael Smith <email@hidden>)
 >Re: Cancel Sleep (From: Marc Epard <email@hidden>)
 >Re: Cancel Sleep (From: Michael Smith <email@hidden>)
 >Re: Cancel Sleep (From: Andrew James <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.