]> git.lyx.org Git - lyx.git/blob - src/frontends/Menubar.h
remove preamble dialog from the qt frontend
[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 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "LString.h"
20
21 class LyXView;
22 class MenuBackend;
23
24 /**
25  * The LyX GUI independent menubar class
26  * The GUI interface is implemented in the corresponding Menubar_pimpl class.
27  */
28 class Menubar {
29 public:
30         ///
31         Menubar(LyXView * o, MenuBackend const &);
32         ///
33         ~Menubar();
34         /// Opens a top-level submenu given its name
35         void openByName(string const &);
36         /// update the state of the menuitems
37         void update();
38
39
40         //I disable this temporarily until I find a nice way to make it work
41         //with compaq cxx. (Jean-Marc)
42         // Is this a new comment? (Lgb)
43         struct Pimpl;
44         friend struct Pimpl;
45 private:
46         ///
47         Pimpl * pimpl_;
48 };
49 #endif // MENUBAR_H