diff options
author | Andreas Bille <abi@openoffice.org> | 2002-08-28 06:23:17 +0000 |
---|---|---|
committer | Andreas Bille <abi@openoffice.org> | 2002-08-28 06:23:17 +0000 |
commit | 596dca1ba20842c3820d4c6fd91dcd596614232a (patch) | |
tree | b401044597f03ed3a28de2a5976b1a4086affb04 /ucb/source/ucp/ftp/ftpstrcont.hxx | |
parent | 66588fcf6a5a9fd90fa192eaaee2139426f3b894 (diff) |
Simply saving
Diffstat (limited to 'ucb/source/ucp/ftp/ftpstrcont.hxx')
-rw-r--r-- | ucb/source/ucp/ftp/ftpstrcont.hxx | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/ucb/source/ucp/ftp/ftpstrcont.hxx b/ucb/source/ucp/ftp/ftpstrcont.hxx new file mode 100644 index 000000000000..a71374a59d10 --- /dev/null +++ b/ucb/source/ucp/ftp/ftpstrcont.hxx @@ -0,0 +1,54 @@ +#ifndef _FTP_STRCONT_HXX_ +#define _FTP_STRCONT_HXX_ + +#include <com/sun/star/io/XInputStream.hpp> +#include <com/sun/star/io/XOutputStream.hpp> +#include "ftpcfunc.hxx" + + +namespace ftp { + + + class FTPInputStream; + + + class FTPOutputStreamContainer + : public FTPStreamContainer + { + public: + + FTPOutputStreamContainer(const com::sun::star::uno::Reference< + com::sun::star::io::XOutputStream>& out); + + virtual write(void *buffer,size_t size,size_t nmemb); + + + private: + + com::sun::star::uno::Reference< + com::sun::star::io::XOutputStream> m_out; + }; + + + class FTPInputStreamContainer + : public FTPStreamContainer + { + public: + + FTPInputStreamContainer(FTPInputStream* out); + + virtual write(void *buffer,size_t size,size_t nmemb); + + com::sun::star::uno::Reference< + com::sun::star::io::XInputStream> operator()(); + + private: + + FTPInputStream* m_out; + }; + + +} + + +#endif |