Develop and Download Open Source Software

Browse CVS Repository

Annotation of /undmail/guiproto/SMTPServerTableDataSource.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph 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     // SMTPServerTableDataSource.m
3     // undproto
4     //
5     //
6    
7     #import "SMTPServerTableDataSource.h"
8    
9    
10     @implementation SMTPServerTableDataSource
11     - (int)numberOfRowsInTableView:(NSTableView *)aTableView{
12     return 2;
13     }
14     - (id)tableView:(NSTableView *)aTableView
15     objectValueForTableColumn:(NSTableColumn *)aTableColumn
16     row:(int)rowIndex{
17    
18     if(rowIndex == 0){
19     return @"smtp.ddd.co.jp";
20     }else{
21     return @"smtp.eee.co.jp";
22     }
23    
24     }
25    
26     @end

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26