]> git.lyx.org Git - lyx.git/blob - src/frontends/Menubar.h
fix tooltips in toolbar
[lyx.git] / src / frontends / Menubar.h
1 // -*- C++ -*-
2 /**
3  * \file Menubar.h
4  * Copyright 1995-2002 the LyX Team
5  * Read the file COPYING
6  *
7  * \author Lars Gullik Bjønnes
8  */
9
10 #ifndef MENUBAR_H
11 #define MENUBAR_H
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "LString.h"
18
19 class LyXView;
20 class MenuBackend;
21
22 /**
23  * The LyX GUI independent menubar class
24  * The GUI interface is implemented in the corresponding Menubar_pimpl class.
25  */
26 class Menubar {
27 public:
28         ///
29         Menubar(LyXView * o, MenuBackend const &);
30         ///
31         ~Menubar();
32         /// Opens a top-level submenu given its name
33         void openByName(string const &);
34         /// update the state of the menuitems
35         void update();
36
37
38         //I disable this temporarily until I find a nice way to make it work
39         //with compaq cxx. (Jean-Marc)
40         // Is this a new comment? (Lgb)
41         struct Pimpl;
42         friend struct Pimpl;
43 private:
44         ///
45         Pimpl * pimpl_;
46 };
47 #endif // MENUBAR_H