GPU-Calc: remove Alloc_Host_Ptr for clmem of NAN vector
[LibreOffice.git] / sc / source / ui / vba / vbamenubar.hxx
blobd234f1d2b5054113502de4a580ec9d28066527d8
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9 #ifndef SC_VBA_MENUBAR_HXX
10 #define SC_VBA_MENUBAR_HXX
12 #include <ooo/vba/excel/XMenuBar.hpp>
13 #include <ooo/vba/XCommandBar.hpp>
14 #include <vbahelper/vbahelperinterface.hxx>
16 typedef InheritedHelperInterfaceImpl1< ov::excel::XMenuBar > MenuBar_BASE;
18 class ScVbaMenuBar : public MenuBar_BASE
20 private:
21 css::uno::Reference< ov::XCommandBar > m_xCommandBar;
23 public:
24 ScVbaMenuBar( const css::uno::Reference< ov::XHelperInterface > xParent, const css::uno::Reference< css::uno::XComponentContext > xContext, const css::uno::Reference< ov::XCommandBar >& xCommandBar ) throw( css::uno::RuntimeException );
26 virtual css::uno::Any SAL_CALL Menus( const css::uno::Any& aIndex ) throw (css::script::BasicErrorException, css::uno::RuntimeException);
28 // XHelperInterface
29 virtual OUString getServiceImplName();
30 virtual css::uno::Sequence<OUString> getServiceNames();
32 #endif//SC_VBA_MENUBAR_HXX
34 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */