23#include <rtl/ustring.hxx>
26#include <com/sun/star/frame/XConfigManager.hpp>
27#include <com/sun/star/lang/XServiceInfo.hpp>
30 class XComponentContext;
35class PathService :
public ::cppu::WeakImplHelper< css::frame::XConfigManager, css::lang::XServiceInfo >
45 return "com.sun.star.comp.svl.PathService";
49 const OUString & rName)
override
56 css::uno::Sequence< OUString > aRet {
"com.sun.star.config.SpecialConfigManager" };
60 virtual OUString SAL_CALL substituteVariables (
61 const OUString& sText)
override
66 virtual void SAL_CALL addPropertyChangeListener (
67 const OUString &,
const css::uno::Reference< css::beans::XPropertyChangeListener > &)
override
70 virtual void SAL_CALL removePropertyChangeListener (
71 const OUString &,
const css::uno::Reference< css::beans::XPropertyChangeListener > &)
override
74 virtual void SAL_CALL flush()
override
80extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
82 css::uno::Sequence<css::uno::Any>
const &)
84 return cppu::acquire(
new PathService());
OUString SubstituteVariable(const OUString &rVar) const
css::uno::Sequence< OUString > getSupportedServiceNames()
OUString getImplementationName()
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_svl_PathService_get_implementation(css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &)