Patch from Mark Taylor. Copyright 2007 Software 2000 Ltd. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Objective-C
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Objective-C
		
	
	
	
	
	
///////////////////////////////////////////////////////////////////////////////
 | 
						|
// Name:        wx/cocoa/NSTableDataSource.h
 | 
						|
// Purpose:     wxCocoaNSTableDataSource Objective-C class
 | 
						|
// Author:      David Elliott
 | 
						|
// Modified by:
 | 
						|
// Created:     2003/08/05
 | 
						|
// RCS-ID:      $Id$
 | 
						|
// Copyright:   (c) 2003 David Elliott
 | 
						|
// Licence:     wxWindows licence
 | 
						|
///////////////////////////////////////////////////////////////////////////////
 | 
						|
 | 
						|
#ifndef __WX_COCOA_NSTABLEDATASOURCE_H__
 | 
						|
#define __WX_COCOA_NSTABLEDATASOURCE_H__
 | 
						|
 | 
						|
#include "wx/cocoa/objc/objc_uniquifying.h"
 | 
						|
 | 
						|
#import <Foundation/NSObject.h>
 | 
						|
 | 
						|
// ============================================================================
 | 
						|
// @class wxCocoaNSTableDataSource
 | 
						|
// ============================================================================
 | 
						|
@interface wxCocoaNSTableDataSource : NSObject
 | 
						|
{
 | 
						|
}
 | 
						|
 | 
						|
// NSTableDataSource is a loosely defined protocol consisting of the
 | 
						|
// following two message implementations
 | 
						|
- (int)numberOfRowsInTableView: (NSTableView *)tableView;
 | 
						|
- (id)tableView:(NSTableView *)tableView
 | 
						|
    objectValueForTableColumn: (NSTableColumn *)tableColumn
 | 
						|
    row: (int)rowIndex;
 | 
						|
@end // wxCocoaNSTableDataSource
 | 
						|
WX_DECLARE_GET_OBJC_CLASS(wxCocoaNSTableDataSource,NSObject)
 | 
						|
 | 
						|
#endif // _WX_COCOA_NSTABLEDATASOURCE_H_
 |