summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/filinpstr.hxx
diff options
context:
space:
mode:
authorAndreas Bille <abi@openoffice.org>2001-11-19 16:44:40 +0000
committerAndreas Bille <abi@openoffice.org>2001-11-19 16:44:40 +0000
commit59c7b433acfd69bba9c9abed0127fb05b6a38fd3 (patch)
tree13d8b46c9cd21b6b27a2a9f5c91dac9023ae8da3 /ucb/source/ucp/file/filinpstr.hxx
parent211275dcf0bef60ac22be6994ddb543ffda5525a (diff)
#932003# forgotten to support XServiceInfo
Diffstat (limited to 'ucb/source/ucp/file/filinpstr.hxx')
-rw-r--r--ucb/source/ucp/file/filinpstr.hxx29
1 files changed, 29 insertions, 0 deletions
diff --git a/ucb/source/ucp/file/filinpstr.hxx b/ucb/source/ucp/file/filinpstr.hxx
index 3f38922dab48..0cc5ff61aa50 100644
--- a/ucb/source/ucp/file/filinpstr.hxx
+++ b/ucb/source/ucp/file/filinpstr.hxx
@@ -10,9 +10,18 @@
#ifndef _CPPUHELPER_WEAK_HXX_
#include <cppuhelper/weak.hxx>
#endif
+#ifndef _UCBHELPER_MACROS_HXX
+#include <ucbhelper/macros.hxx>
+#endif
#ifndef _COM_SUN_STAR_UNO_XINTERFACE_HPP_
#include <com/sun/star/uno/XInterface.hpp>
#endif
+#ifndef _COM_SUN_STAR_LANG_XTYPEPROVIDER_HPP_
+#include <com/sun/star/lang/XTypeProvider.hpp>
+#endif
+#ifndef _COM_SUN_STAR_LANG_XSERVICEINFO_HPP_
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#endif
#ifndef _COM_SUN_STAR_IO_XSEEKABLE_HPP_
#include <com/sun/star/io/XSeekable.hpp>
#endif
@@ -33,6 +42,8 @@ namespace fileaccess {
class XInputStream_impl
: public cppu::OWeakObject,
+ public com::sun::star::lang::XTypeProvider,
+ public com::sun::star::lang::XServiceInfo,
public com::sun::star::io::XInputStream,
public com::sun::star::io::XSeekable
{
@@ -50,6 +61,24 @@ namespace fileaccess {
sal_Int32 SAL_CALL getMinorError();
+ // XTypeProvider
+
+ XTYPEPROVIDER_DECL()
+
+ // XServiceInfo
+ virtual rtl::OUString SAL_CALL
+ getImplementationName()
+ throw( com::sun::star::uno::RuntimeException);
+
+ virtual sal_Bool SAL_CALL
+ supportsService( const rtl::OUString& ServiceName )
+ throw( com::sun::star::uno::RuntimeException);
+
+ virtual com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL
+ getSupportedServiceNames()
+ throw( com::sun::star::uno::RuntimeException );
+
+
virtual com::sun::star::uno::Any SAL_CALL
queryInterface(
const com::sun::star::uno::Type& rType )