Ignore:
Timestamp:
10/20/02 06:35:16 (18 years ago)
Author:
Nicholas Riley
Message:

Pester 1.0b1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/Pester/Source/PSAlarm.h

    r24 r26  
    1010
    1111typedef enum {
    12     PSAlarmInvalid, PSAlarmInterval, PSAlarmDate
     12    PSAlarmInvalid, PSAlarmInterval, PSAlarmDate, PSAlarmSet
    1313} PSAlarmType;
    1414
    15 @interface PSAlarm : NSObject {
     15extern NSString * const PSAlarmTimerSetNotification;
     16extern NSString * const PSAlarmTimerExpiredNotification;
     17
     18@interface PSAlarm : NSObject <NSCoding> {
    1619    PSAlarmType alarmType;
    1720    NSCalendarDate *alarmDate;
     
    1922    NSString *alarmMessage;
    2023    NSString *invalidMessage;
     24    NSTimer *timer;
    2125}
    2226
    2327- (void)setInterval:(NSTimeInterval)anInterval;
    24 - (void)setForDateAtTime:(NSDate *)dateTime;
     28- (void)setForDateAtTime:(NSCalendarDate *)dateTime;
    2529- (void)setForDate:(NSDate *)date atTime:(NSDate *)time;
    2630- (void)setMessage:(NSString *)aMessage;
     
    2832- (NSDate *)date;
    2933- (NSTimeInterval)interval;
     34- (NSString *)message;
     35- (NSComparisonResult)compare:(PSAlarm *)otherAlarm;
    3036
    3137- (BOOL)isValid;
    32 - (NSString *)message;
    3338- (NSString *)invalidMessage;
    3439
     40- (BOOL)setTimer;
     41
    3542@end
Note: See TracChangeset for help on using the changeset viewer.