]> git.saurik.com Git - wxWidgets.git/blame - include/wx/cocoa/NSTableDataSource.h
fixed Cygwin compilation (there's no _get_osfhandle)
[wxWidgets.git] / include / wx / cocoa / NSTableDataSource.h
CommitLineData
2e024d86
DE
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
65571936 9// Licence: wxWindows licence
2e024d86
DE
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_