home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / YellowBox / Productivity / EggTimer-2.5-I / Reminder.h < prev    next >
Encoding:
Text File  |  1998-03-30  |  1016 b   |  34 lines

  1. /* Reminder.h created by wjabi on Sat 17-Jan-1998 */
  2.  
  3. #import <AppKit/AppKit.h>
  4.  
  5. @interface Reminder : NSObject
  6. {
  7.     int hours;
  8.     int minutes;
  9.     BOOL relative;
  10.     NSString *reminderString;
  11.     BOOL repeats;
  12.     int seconds;
  13.     BOOL shouldEmitSound;
  14.     BOOL shouldShowAlertPanel;
  15.     NSTimer *timer;
  16. }
  17.  
  18. - (void)cancelReminder;
  19. - (void) convertSecondsToTime:(long) totalSeconds :(int *)hours :(int *)minutes :(int *)secs;
  20. - (long) convertTimeToSeconds:(int) hr :(int)min :(int)sec;
  21. - (BOOL)getRelative;
  22. - (BOOL)getRepeats;
  23. - (BOOL)getValid;
  24. - (void)remainingTime:(int *)hours minutes:(int *)minutes seconds:(int *)seconds;
  25. - (void)setRelative:(BOOL)relativeValue;
  26. - (id)setReminder:(int)hr :(int)min :(int)sec :aTarget :(SEL)aSelector :(BOOL)repeatsValue :(BOOL)relativeValue :(BOOL)soundValue :(BOOL)alertPanelValue :(NSString *)aString;
  27. - (void)setRepeats:(BOOL)repeatsValue;
  28. - (void)setStringValue:(NSString *)aString;
  29. - (BOOL)shouldEmitSound;
  30. - (BOOL)shouldShowAlertPanel;
  31. - (NSString *)stringValue;
  32.  
  33. @end
  34.