Browse CVS Repository
Annotation of /undmail/guiproto/POPServerTableDataSource.m
Parent Directory
| Revision Log
| Revision Graph
Revision 1.1 -
( hide annotations)
( download)
Wed Nov 20 13:42:53 2002 UTC
(21 years, 5 months ago)
by footashida
Branch: MAIN
CVS Tags: HEAD
Account Preference Panel
| 1 |
footashida |
1.1 |
// |
| 2 |
|
|
// POPServerTableDataSource.m |
| 3 |
|
|
// undproto |
| 4 |
|
|
// |
| 5 |
|
|
// |
| 6 |
|
|
|
| 7 |
|
|
#import "POPServerTableDataSource.h" |
| 8 |
|
|
|
| 9 |
|
|
|
| 10 |
|
|
@implementation POPServerTableDataSource |
| 11 |
|
|
- (int)numberOfRowsInTableView:(NSTableView *)aTableView{ |
| 12 |
|
|
return 3; |
| 13 |
|
|
} |
| 14 |
|
|
- (id)tableView:(NSTableView *)aTableView |
| 15 |
|
|
objectValueForTableColumn:(NSTableColumn *)aTableColumn |
| 16 |
|
|
row:(int)rowIndex{ |
| 17 |
|
|
|
| 18 |
|
|
if(rowIndex == 0){ |
| 19 |
|
|
return @"pop.aaa.co.jp"; |
| 20 |
|
|
}else if(rowIndex == 1){ |
| 21 |
|
|
return @"pop.bbb.co.jp"; |
| 22 |
|
|
}else{ |
| 23 |
|
|
return @"pop.ccc.co.jp"; |
| 24 |
|
|
} |
| 25 |
|
|
|
| 26 |
|
|
} |
| 27 |
|
|
@end |
|