root/Trunk/AIUtilities.framework/Versions/A/Headers/AISleepNotification.h @ 2

Revision 2, 1.7 KB (checked in by jon, 16 years ago)

Initial commit of skeletal project.

Line 
1//
2//  AISleepNotification.h
3//  Adium
4//
5//  Created by Adam Iser on Sun Jun 29 2003.
6//  Copyright (c) 2003-2005 The Adium Team. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11/* Evan: Documentation Note: The @def documentation below doesn't show up in doxygen. Not sure what I'm doing wrong. */
12
13//Posted
14/*!
15 * @def AISystemWillSleep_Notification
16 * @brief Indicates the system will go to sleep
17 *
18 * This will be posted to the default NSNotificationCenter before the system goes to sleep. To suspend the sleep process, see <tt>AISystemHoldSleep_Notification</tt>.
19 */
20#define AISystemWillSleep_Notification  @"AISystemWillSleep_Notification"
21
22/*!
23 * @def AISystemDidWake_Notification
24 * @brief Indicates the system woke from sleep
25 *
26 * This will be posted to the default NSNotificationCenter when the system wakes from sleep.
27 */
28#define AISystemDidWake_Notification    @"AISystemDidWake_Notification"
29
30//Received
31/*!
32 * @def AISystemHoldSleep_Notification
33 * @brief Prevent the system from going to sleep temporarily
34 *
35 * This should be posted to the default NSNotificationCenter to request that the sleep process be suspended.  It should be paired with <tt>AISystemContinueSleep_Notification</tt> to allow the sleep process to resume.
36 */
37#define AISystemHoldSleep_Notification  @"AISystemHoldSleep_Notification"
38
39/*!
40 * @def AISystemContinueSleep_Notification
41 * @brief Allow the system to continue going to sleep
42 *
43 * This should be posted to the default NSNotificationCenter to allow the sleep process to continue.  It is paired with <tt>AISystemHoldSleep_Notification</tt>.
44 */
45#define AISystemContinueSleep_Notification      @"AISystemContinueSleep_Notification"
46
47@interface AISleepNotification : NSObject {
48
49}
50
51@end
Note: See TracBrowser for help on using the browser.