diff options
Diffstat (limited to 'ucb/source/ucp/file/filstr.hxx')
-rw-r--r-- | ucb/source/ucp/file/filstr.hxx | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/ucb/source/ucp/file/filstr.hxx b/ucb/source/ucp/file/filstr.hxx index ad6c39964448..65cf4369ce75 100644 --- a/ucb/source/ucp/file/filstr.hxx +++ b/ucb/source/ucp/file/filstr.hxx @@ -25,7 +25,9 @@ #include <com/sun/star/io/XOutputStream.hpp> #include <com/sun/star/io/XStream.hpp> #include <com/sun/star/io/XAsyncOutputMonitor.hpp> +#include <com/sun/star/lang/XUnoTunnel.hpp> #include <cppuhelper/implbase.hxx> +#include <unotools/bytereader.hxx> #include <mutex> #include "filrec.hxx" @@ -41,7 +43,9 @@ class XStream_impl : public cppu::WeakImplHelper< css::io::XInputStream, css::io::XOutputStream, css::io::XTruncate, - css::io::XAsyncOutputMonitor > + css::io::XAsyncOutputMonitor, + css::lang::XUnoTunnel >, + public utl::ByteReader { public: @@ -120,6 +124,15 @@ class XStream_impl : public cppu::WeakImplHelper< virtual void SAL_CALL waitForCompletion() override; + // XUnoTunnel + virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& _rIdentifier ) override; + + // utl::ByteReader + virtual sal_Int32 + readSomeBytes( + sal_Int8* aData, + sal_Int32 nMaxBytesToRead ) override; + private: std::mutex m_aMutex; |