fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / vcl / inc / unx / salmenu.h
blob289b5dfb16bd40962b8c78bd13c76eec2b4ba6d1
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/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef _SV_SALMENU_H
21 #define _SV_SALMENU_H
23 #include <tools/solar.h>
24 #include <vcl/bitmap.hxx>
25 #include <salmenu.hxx>
28 class X11SalMenu : public SalMenu
30 public:
31 X11SalMenu() {}
32 virtual ~X11SalMenu();
34 virtual sal_Bool VisibleMenuBar(); // must return TRUE to actually DISPLAY native menu bars
35 // otherwise only menu messages are processed (eg, OLE on Windows)
37 virtual void InsertItem( SalMenuItem* pSalMenuItem, unsigned nPos );
38 virtual void RemoveItem( unsigned nPos );
39 virtual void SetSubMenu( SalMenuItem* pSalMenuItem, SalMenu* pSubMenu, unsigned nPos );
40 virtual void SetFrame( const SalFrame* pFrame );
41 virtual void CheckItem( unsigned nPos, sal_Bool bCheck );
42 virtual void EnableItem( unsigned nPos, sal_Bool bEnable );
43 virtual void SetItemText( unsigned nPos, SalMenuItem* pSalMenuItem, const OUString& rText );
44 virtual void SetItemImage( unsigned nPos, SalMenuItem* pSalMenuItem, const Image& rImage);
45 virtual void SetAccelerator( unsigned nPos, SalMenuItem* pSalMenuItem, const KeyCode& rKeyCode, const OUString& rKeyName );
46 virtual void GetSystemMenuData( SystemMenuData* pData );
49 class X11SalMenuItem : public SalMenuItem
51 public:
52 X11SalMenuItem() {}
53 virtual ~X11SalMenuItem();
56 #endif // _SV_SALMENU_H
58 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */