Remove all lines containing cvs/svn "$Id$" keyword.
[wxWidgets.git] / include / wx / cocoa / NSTableDataSource.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/cocoa/NSTableDataSource.h
3 // Purpose: wxCocoaNSTableDataSource Objective-C class
4 // Author: David Elliott
5 // Modified by:
6 // Created: 2003/08/05
7 // Copyright: (c) 2003 David Elliott
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
10
11 #ifndef __WX_COCOA_NSTABLEDATASOURCE_H__
12 #define __WX_COCOA_NSTABLEDATASOURCE_H__
13
14 #include "wx/cocoa/objc/objc_uniquifying.h"
15
16 #import <Foundation/NSObject.h>
17
18 // ============================================================================
19 // @class wxCocoaNSTableDataSource
20 // ============================================================================
21 @interface wxCocoaNSTableDataSource : NSObject
22 {
23 }
24
25 // NSTableDataSource is a loosely defined protocol consisting of the
26 // following two message implementations
27 - (int)numberOfRowsInTableView: (NSTableView *)tableView;
28 - (id)tableView:(NSTableView *)tableView
29 objectValueForTableColumn: (NSTableColumn *)tableColumn
30 row: (int)rowIndex;
31 @end // wxCocoaNSTableDataSource
32 WX_DECLARE_GET_OBJC_CLASS(wxCocoaNSTableDataSource,NSObject)
33
34 #endif // _WX_COCOA_NSTABLEDATASOURCE_H_