22#include <com/sun/star/lang/XComponent.hpp>
23#include <com/sun/star/lang/XMultiServiceFactory.hpp>
24#include <com/sun/star/lang/XServiceInfo.hpp>
25#include <com/sun/star/uno/XComponentContext.hpp>
37 css::lang::XServiceInfo,
38 css::lang::XComponent,
39 css::lang::XMultiServiceFactory>
42 css::uno::Reference< css::uno::XComponentContext >
m_xContext;
47 explicit HierarchyDataSource( css::uno::Reference< css::uno::XComponentContext > xContext );
56 virtual void SAL_CALL
dispose()
override;
57 virtual void SAL_CALL
addEventListener(
const css::uno::Reference< css::lang::XEventListener > & xListener )
override;
58 virtual void SAL_CALL
removeEventListener(
const css::uno::Reference< css::lang::XEventListener > & aListener )
override;
61 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstance(
const OUString & aServiceSpecifier )
override;
63 const css::uno::Sequence<
64 css::uno::Any > & Arguments )
override;
72 const css::uno::Sequence<
73 css::uno::Any > & Arguments,
78 static bool createConfigPath( std::u16string_view rInPath, OUString & rOutPath );
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance(const OUString &aServiceSpecifier) override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments(const OUString &ServiceSpecifier, const css::uno::Sequence< css::uno::Any > &Arguments) override
css::uno::Reference< css::uno::XComponentContext > m_xContext
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_aDisposeEventListeners
virtual void SAL_CALL dispose() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
HierarchyDataSource(css::uno::Reference< css::uno::XComponentContext > xContext)
virtual OUString SAL_CALL getImplementationName() override
static bool createConfigPath(std::u16string_view rInPath, OUString &rOutPath)
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames() override
css::uno::Reference< css::lang::XMultiServiceFactory > m_xConfigProvider
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
virtual ~HierarchyDataSource() override
css::uno::Reference< css::uno::XInterface > createInstanceWithArguments(std::u16string_view ServiceSpecifier, const css::uno::Sequence< css::uno::Any > &Arguments, bool bCheckArgs)
css::uno::Reference< css::lang::XMultiServiceFactory > getConfigProvider()
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override