I basically have a stop watch application, and I don't want the computer to fall asleep before the timer finishes. I've googled as much as I could and found that one can use listing 2 from http://developer.apple.com/library/mac/#qa/qa1340/_index.html
But I keep getting an error with the line: CFStringRef* reasonForActivity= CFSTR("Describe Activity Type");
can anyone help me out?
But I keep getting an error with the line: CFStringRef* reasonForActivity= CFSTR("Describe Activity Type");
can anyone help me out?