20#ifndef INCLUDED_SVL_SOURCE_INC_FSFACTORY_HXX
21#define INCLUDED_SVL_SOURCE_INC_FSFACTORY_HXX
23#include <com/sun/star/lang/XSingleServiceFactory.hpp>
24#include <com/sun/star/lang/XServiceInfo.hpp>
25#include <com/sun/star/uno/XComponentContext.hpp>
27#include <osl/diagnose.h>
29class FSStorageFactory final :
public ::cppu::WeakImplHelper< css::lang::XSingleServiceFactory,
30 css::lang::XServiceInfo >
32 css::uno::Reference< css::uno::XComponentContext >
m_xContext;
38 OSL_ENSURE( xContext.is(),
"No service manager is provided!" );
42 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstance()
override;
43 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstanceWithArguments(
const css::uno::Sequence< css::uno::Any >& aArguments )
override;
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance() override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments(const css::uno::Sequence< css::uno::Any > &aArguments) override
The request for storage can be done with up to three arguments.
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
FSStorageFactory(const css::uno::Reference< css::uno::XComponentContext > &xContext)
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
css::uno::Reference< css::uno::XComponentContext > m_xContext