22#include <com/sun/star/lang/XServiceInfo.hpp>
23#include <com/sun/star/beans/PropertyValue.hpp>
24#include <com/sun/star/ui/XUIElementFactory.hpp>
25#include <com/sun/star/uno/XComponentContext.hpp>
29#include <rtl/ustring.hxx>
33typedef ::cppu::WeakImplHelper<
34 css::lang::XServiceInfo,
40 MenuBarFactory( css::uno::Reference< css::uno::XComponentContext > xContext );
45 return "com.sun.star.comp.framework.MenuBarFactory";
55 css::uno::Sequence< OUString >
aSeq {
"com.sun.star.ui.UIElementFactory" };
60 virtual css::uno::Reference< css::ui::XUIElement > SAL_CALL
createUIElement(
const OUString& ResourceURL,
const css::uno::Sequence< css::beans::PropertyValue >& Args )
override;
63 ,
const css::uno::Sequence< css::beans::PropertyValue >& Args
65 ,
const css::uno::Reference< css::ui::XUIElement >& _xMenuBar
66 ,
const css::uno::Reference< css::uno::XComponentContext >& _rxContext);
69 css::uno::Reference< css::uno::XComponentContext >
m_xContext;
Sequence< sal_Int8 > aSeq
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
::cppu::WeakImplHelper< css::lang::XServiceInfo, css::ui::XUIElementFactory > MenuBarFactory_BASE