Browse CVS Repository
Annotation of /undmail/guiproto/AddressGroup.m
Parent Directory
| Revision Log
| Revision Graph
Revision 1.1 -
( hide annotations)
( download)
Sun Jan 26 16:30:09 2003 UTC
(21 years, 2 months ago)
by footashida
Branch: MAIN
*** empty log message ***
| 1 |
footashida |
1.1 |
#import "AddressGroup.h" |
| 2 |
|
|
#import "AddressBookController.h" |
| 3 |
|
|
@implementation AddressGroup |
| 4 |
|
|
// ---------------------------------------------------------------------------------------- |
| 5 |
|
|
// NSTableDataSource |
| 6 |
|
|
// ---------------------------------------------------------------------------------------- |
| 7 |
|
|
|
| 8 |
|
|
- (int)numberOfRowsInTableView:(NSTableView *)aTableView |
| 9 |
|
|
{ |
| 10 |
|
|
return [[appController group] count]; |
| 11 |
|
|
}/* numberOfRowsInTableView */ |
| 12 |
|
|
|
| 13 |
|
|
- (id)tableView:(NSTableView *)aTableView |
| 14 |
|
|
objectValueForTableColumn:(NSTableColumn *)aTableColumn |
| 15 |
|
|
row:(int)rowIndex |
| 16 |
|
|
{ |
| 17 |
|
|
return [[appController group] objectAtIndex:rowIndex]; |
| 18 |
|
|
}/* tableView */ |
| 19 |
|
|
|
| 20 |
|
|
@end |
|