]> git.saurik.com Git - wxWidgets.git/blame - include/wx/cocoa/NSTableDataSource.h
Add support for custom attributes to wxOSX/Cocoa wxDataViewCustomRenderer.
[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
e7e1ad7d
DE
15#include "wx/cocoa/objc/objc_uniquifying.h"
16
2e024d86
DE
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
e7e1ad7d 33WX_DECLARE_GET_OBJC_CLASS(wxCocoaNSTableDataSource,NSObject)
2e024d86
DE
34
35#endif // _WX_COCOA_NSTABLEDATASOURCE_H_