File:  [NeXTSTEP 3.3 examples] / Examples / EnterpriseObjects / SQLExecutor / SybaseDelegate.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:42 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3

/* SybaseDelegate.h:
 * You may freely copy, distribute, and reuse the code in this example.
 * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
 * fitness for any particular use.
 *
 * 
 *
 */


#import <eoaccess/eoaccess.h>
#import <appkit/appkit.h>
#import <foundation/NSArray.h>
#import <foundation/NSObject.h>
#import <foundation/NSDictionary.h>

@class SybaseChannel;

typedef enum
{
    SybaseRegularRow,
    SybaseComputeRow,
    SybaseReturnParameterRow,
    SybaseReturnStatusRow
} SybaseRowType;

@interface SybaseDelegate:NSObject
{
	SybaseRowType	currentRowType;
}

- (SybaseRowType) currentRowType;

- (NSArray *)sybaseChannel:(SybaseChannel *)channel
    willFetchAttributes:(NSArray *)attributes
    forRowOfType:(SybaseRowType)rowType
    withComputeRowId:(int)computeRowId;

- (BOOL)sybaseChannel:(SybaseChannel *)channel
    willReturnRow:(NSDictionary *)row ofType:(SybaseRowType)rowType 
    withComputeRowId:(int)computeRowId;
	
- (void)adaptorChannelDidChangeResultSet:channel;
- (void)adaptorChannel:channel
    didEvaluateExpression:(NSString *)expression;
@end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.