/*****
 NAME
 	casyncio.h - header file for CAsyncIO class
 VERSION
 	$Id$
 CHANGELOG
 	$Log$
 */

#if !defined(CASYNCIO_H_INCLUDED)
#define CASYNCIO_H_INCLUDED

#include <coconut/cobject.h>
#include <coconut/pstream.h>

@interface CAsyncIO : CObject <PAsyncIO>
{
	GIOChannel *	io_channel ;
	id <PStream>	output_stream ;
	id <PStream>	input_stream ;
}

- retain ;

- (id <PError>) openChannel: (GIOChannel *) channel input: (id <PStream>) input
    output: (id <PStream>) output ;
- (id <PError>) closeChannel ;

@end

#endif /* defined(CASYNCIO_H_INCLUDED) */

