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