22 #include <osl/mutex.hxx>
23 #include <com/sun/star/uno/XInterface.hpp>
24 #include <com/sun/star/uno/XComponentContext.hpp>
25 #include <com/sun/star/lang/XInitialization.hpp>
26 #include <com/sun/star/lang/XSingleServiceFactory.hpp>
27 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
28 #include <com/sun/star/lang/XServiceInfo.hpp>
29 #include <com/sun/star/ucb/XContentProvider.hpp>
30 #include <com/sun/star/ucb/XContentIdentifierFactory.hpp>
31 #include <com/sun/star/beans/XPropertySet.hpp>
32 #include <com/sun/star/ucb/XFileIdentifierConverter.hpp>
47 css::lang::XServiceInfo,
48 css::lang::XInitialization,
49 css::ucb::XContentProvider,
50 css::ucb::XContentIdentifierFactory,
51 css::beans::XPropertySet,
52 css::ucb::XFileIdentifierConverter >
57 explicit FileProvider(
const css::uno::Reference< css::uno::XComponentContext >& rxContext );
61 virtual OUString SAL_CALL
67 virtual css::uno::Sequence< OUString > SAL_CALL
74 const css::uno::Sequence< css::uno::Any >& aArguments )
override;
78 virtual css::uno::Reference< css::ucb::XContent > SAL_CALL
80 const css::uno::Reference< css::ucb::XContentIdentifier >& Identifier )
override;
84 virtual css::uno::Reference< css::ucb::XContentIdentifier > SAL_CALL
86 const OUString& ContentId )
override;
89 virtual sal_Int32 SAL_CALL
91 const css::uno::Reference< css::ucb::XContentIdentifier >& Id1,
92 const css::uno::Reference< css::ucb::XContentIdentifier >& Id2 )
override;
96 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
101 const OUString& aPropertyName,
102 const css::uno::Any& aValue )
override;
104 virtual css::uno::Any SAL_CALL
106 const OUString& PropertyName )
override;
108 virtual void SAL_CALL
110 const OUString& aPropertyName,
111 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
113 virtual void SAL_CALL
115 const OUString& aPropertyName,
116 const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
118 virtual void SAL_CALL
120 const OUString& PropertyName,
121 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
123 virtual void SAL_CALL
125 const OUString& PropertyName,
126 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
131 virtual sal_Int32 SAL_CALL
145 css::uno::Reference< css::uno::XComponentContext >
m_xContext;
virtual OUString SAL_CALL getFileURLFromSystemPath(const OUString &BaseURL, const OUString &SystemPath) override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
FileProvider(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual sal_Int32 SAL_CALL getFileProviderLocality(const OUString &BaseURL) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
css::uno::Reference< css::uno::XComponentContext > m_xContext
sal_Int32 m_FileSystemNotation
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &aArguments) override
virtual css::uno::Reference< css::ucb::XContentIdentifier > SAL_CALL createContentIdentifier(const OUString &ContentId) override
virtual sal_Int32 SAL_CALL compareContentIds(const css::uno::Reference< css::ucb::XContentIdentifier > &Id1, const css::uno::Reference< css::ucb::XContentIdentifier > &Id2) override
virtual css::uno::Reference< css::ucb::XContent > SAL_CALL queryContent(const css::uno::Reference< css::ucb::XContentIdentifier > &Identifier) override
virtual ~FileProvider() override
std::unique_ptr< TaskManager > m_pMyShell
css::uno::Reference< css::beans::XPropertySetInfo > m_xPropertySetInfo
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
virtual OUString SAL_CALL getSystemPathFromFileURL(const OUString &URL) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override