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