//
//  CEResultSetSQLite.h
//  CEResultSetSQLite
//
//  Copyright 2006 Cutedge. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <CEDatabase/CEResultSet.h>

#import "sqlite3.h"

@interface CEResultSetSQLite : CEResultSet 
{
	sqlite3_stmt	*_result;
}
 
+ (id)resultSet:(sqlite3_stmt *)result withColumnCount:(int)noOfColumns;

- (void)dealloc;
- (BOOL)next;

- (NSString *)fieldTypeAtIndex:(int)index;
- (NSString *)fieldNameAtIndex:(int)index;
- (id)fieldAtIndex:(int)index;
- (id)convertFieldAtIndex:(int)index;

- (void)setResult:(sqlite3_stmt *)result;

@end
