]> git.saurik.com Git - wxWidgets.git/blob - include/wx/cocoa/NSTableDataSource.h
added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward...
[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 // RCS-ID: $Id$
8 // Copyright: (c) 2003 David Elliott
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 #ifndef __WX_COCOA_NSTABLEDATASOURCE_H__
13 #define __WX_COCOA_NSTABLEDATASOURCE_H__
14
15 #import <Foundation/NSObject.h>
16
17 // ============================================================================
18 // @class wxCocoaNSTableDataSource
19 // ============================================================================
20 @interface wxCocoaNSTableDataSource : NSObject
21 {
22 }
23
24 // NSTableDataSource is a loosely defined protocol consisting of the
25 // following two message implementations
26 - (int)numberOfRowsInTableView: (NSTableView *)tableView;
27 - (id)tableView:(NSTableView *)tableView
28 objectValueForTableColumn: (NSTableColumn *)tableColumn
29 row: (int)rowIndex;
30 @end // wxCocoaNSTableDataSource
31
32 #endif // _WX_COCOA_NSTABLEDATASOURCE_H_