uristream.h revision 72cfbe8e3cc9226aac12b1d31a8c9b24e42a9fac
#ifndef SEEN_INKSCAPE_IO_URISTREAM_H
#define SEEN_INKSCAPE_IO_URISTREAM_H
/**
* @file
*/
/*
* Authors:
* Bob Jamison <rjamison@titan.com>
*
* Copyright (C) 2004 Inkscape.org
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include <uri.h>
#include "inkscapestream.h"
{
{
//#########################################################################
//# U R I I N P U T S T R E A M / R E A D E R
//#########################################################################
/**
* This class is for receiving a stream of data from a resource
* defined in a URI
*/
{
unsigned char *data; //for data: uris
int dataPos; // current read position in data field
int dataLen; // length of data buffer
bool closed;
int scheme;
}; // class UriInputStream
/**
* This class is for receiving a stream of formatted data from a resource
* defined in a URI
*/
{
}; // class UriReader
//#########################################################################
//# U R I O U T P U T S T R E A M / W R I T E R
//#########################################################################
/**
* This class is for sending a stream to a destination resource
* defined in a URI
*
*/
{
bool closed;
bool ownsFile;
int scheme;
}; // class UriOutputStream
/**
* This class is for sending a stream of formatted data to a resource
* defined in a URI
*/
{
}; // class UriReader
} // namespace IO
} // namespace Inkscape
#endif // SEEN_INKSCAPE_IO_URISTREAM_H