]> git.saurik.com Git - wxWidgets.git/blob - include/wx/cocoa/NSTableDataSource.h
fix warning about hiding the base class LoadFile()
[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 #include "wx/cocoa/objc/objc_uniquifying.h"
16
17 #import <Foundation/NSObject.h>
18
19 // ============================================================================
20 // @class wxCocoaNSTableDataSource
21 // ============================================================================
22 @interface wxCocoaNSTableDataSource : NSObject
23 {
24 }
25
26 // NSTableDataSource is a loosely defined protocol consisting of the
27 // following two message implementations
28 - (int)numberOfRowsInTableView: (NSTableView *)tableView;
29 - (id)tableView:(NSTableView *)tableView
30 objectValueForTableColumn: (NSTableColumn *)tableColumn
31 row: (int)rowIndex;
32 @end // wxCocoaNSTableDataSource
33 WX_DECLARE_GET_OBJC_CLASS(wxCocoaNSTableDataSource,NSObject)
34
35 #endif // _WX_COCOA_NSTABLEDATASOURCE_H_