Changeset 602 for trunk/Cocoa/Pester/Source/PSAlarms.m
- Timestamp:
- 12/21/09 22:12:37 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/Pester/Source/PSAlarms.m
r364 r602 161 161 } 162 162 163 - (PSAlarm *)alarmAtIndex:(int) index;164 { 165 return [alarms objectAtIndex: index];166 } 167 168 - (void)removeAlarmAtIndex:(int) index;169 { 170 [(PSAlarm *)[alarms objectAtIndex: index] cancelTimer];171 [alarms removeObjectAtIndex: index];163 - (PSAlarm *)alarmAtIndex:(int)alarmIndex; 164 { 165 return [alarms objectAtIndex: alarmIndex]; 166 } 167 168 - (void)removeAlarmAtIndex:(int)alarmIndex; 169 { 170 [(PSAlarm *)[alarms objectAtIndex: alarmIndex] cancelTimer]; 171 [alarms removeObjectAtIndex: alarmIndex]; 172 172 } 173 173
Note:
See TracChangeset
for help on using the changeset viewer.