System Idle Time ... again ...
System Idle Time ... again ...
- Subject: System Idle Time ... again ...
- From: "Mike Lewis" <email@hidden>
- Date: Tue, 26 Apr 2005 08:43:53 +0000
Hi!
I implemented system idle timer according to the advice given here some
months ago
(http://www.cocoabuilder.com/archive/message/cocoa/2004/10/27/120354), but
unfortunately this piece of code crashes on Tiger. I also tried to use
CGSSecondsSinceLastInputEvent, as pointed out by Evan, but it gives me
linker error: "undefined symbols CGSSecondsSinceLastInputEvent". I inserted
the prototype and tried to link ApplicationServices framework but still
can't get rid of this error. Is there something obvious I'm missing?
As I understand this is an undocumented function, so can somebody from Apple
tell us, what is the official way of getting system idle time on Tiger?
Best regards,
M.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden